The GitHub Actions job "Tests" on airflow.git/fix/tasks-order-by-validation has failed. Run started by GitHub user antonio-mello-ai (triggered by pierrejeambrun).
Head commit for run: fcb013c0317169aaf26fbe7432122a16181d1770 / 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/23693801708 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
