github-actions[bot] opened a new pull request, #65746:
URL: https://github.com/apache/airflow/pull/65746

   * Add cursor based pagination for get_dag_runs endpoint
   
   Add cursor-based (keyset) pagination as an alternative to offset-based
   pagination on the get_dag_runs endpoint. Offset pagination remains the
   default and is not deprecated. Mirrors the pattern introduced for
   get_task_instances in #64845.
   
   - Response schema adds next_cursor / previous_cursor and makes
     total_entries optional (populated only for offset pagination).
   - Fetch limit+1 rows to detect last page and return next_cursor=null
     when no more results exist.
   - Rewire the DagRuns listing page to use cursor pagination via the
     DataTable's cursorPagination prop, which eliminates the COUNT(*)
     query for large datasets.
   
   * Small Adjustments
   
   * Small Adjustments
   (cherry picked from commit c57abb98ec62ff0d59e5c78decb67e94cf57480c)
   
   Co-authored-by: Pierre Jeambrun <[email protected]>


-- 
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