kaxil opened a new pull request, #62447: URL: https://github.com/apache/airflow/pull/62447
This adds a helper method to `DagRun` that identifies dag runs which have been running longer than a configurable threshold but have no active tasks. This helps the scheduler prioritize stalled runs for cleanup or alerting, improving overall scheduling throughput. Also adds a cached lookup method for fast repeated access to dag runs by `run_id`. ##### Was generative AI tooling used to co-author this PR? - [x] Yes -- 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]
