pierrejeambrun opened a new pull request, #71779:
URL: https://github.com/apache/airflow/pull/71779

   Adds `deadline` as an `order_by` option for the Dag runs list endpoints 
(`GET /dags/{dag_id}/dagRuns` and `POST /dags/~/dagRuns/list`), ordering runs 
by their earliest attached deadline.
   
   Revives #60861 (reviewed and approved, but went stale from inactivity).
   
   closes: #51758
   
   Note: `deadline` orders correctly under the default offset pagination and 
the batch endpoint. Since it resolves to a computed subquery rather than a 
`DagRun` column, ordering by it under cursor pagination falls under the 
existing column-form `SortParam` limitation.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.8)
   
   Generated-by: Claude Code (Opus 4.8) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to