The GitHub Actions job "Tests" on airflow.git/fix/tasks-order-by-validation has failed. Run started by GitHub user pierrejeambrun (triggered by pierrejeambrun).
Head commit for run: 983a9b7013bf79b86902e85b55e1bb265e79326b / Antonio <[email protected]> Fix TypeError in GET /dags/{dag_id}/tasks when order_by field has None values The tasks endpoint crashed with a 500 Internal Server Error when sorting by a field (e.g. start_date) that contains None values, because Python 3 cannot compare None with None using '<'. This adds explicit validation of the order_by parameter against a whitelist of sortable fields (returning 400 for invalid fields, consistent with SortParam used in other endpoints) and handles None values in the sort key so nullable fields work correctly. Closes: #63927 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/23846589945 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
