Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sort dag processing stats by last_runtime #37302

Merged
merged 2 commits into from Feb 21, 2024

Conversation

Narendra-Neerukonda
Copy link
Contributor


Dag processing stats are currently being sorted by num_dags value rather than the intended last_runtime value. Adjusting the sort key in lambda function to use last_runtime.

@boring-cyborg boring-cyborg bot added the area:Scheduler Scheduler or dag parsing Issues label Feb 10, 2024
Co-authored-by: Andrey Anshin <Andrey.Anshin@taragol.is>
@Taragolis Taragolis merged commit ac6a637 into apache:main Feb 21, 2024
56 checks passed
@eladkal eladkal added this to the Airflow 2.8.2 milestone Feb 21, 2024
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Feb 22, 2024
ephraimbuddy pushed a commit that referenced this pull request Feb 22, 2024
* fix: sort dag processing stats by last_runtime

* Update airflow/dag_processing/manager.py

Co-authored-by: Andrey Anshin <Andrey.Anshin@taragol.is>

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Andrey Anshin <Andrey.Anshin@taragol.is>
(cherry picked from commit ac6a637)
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
* fix: sort dag processing stats by last_runtime

* Update airflow/dag_processing/manager.py

Co-authored-by: Andrey Anshin <Andrey.Anshin@taragol.is>

---------

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Co-authored-by: Andrey Anshin <Andrey.Anshin@taragol.is>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler Scheduler or dag parsing Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants