-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Optimized DAG processing queue order on bundle refresh #60003
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
Merged
shahar1
merged 1 commit into
apache:main
from
astronomer:resort_existing_files_bundle_refresh
Jan 2, 2026
Merged
Optimized DAG processing queue order on bundle refresh #60003
shahar1
merged 1 commit into
apache:main
from
astronomer:resort_existing_files_bundle_refresh
Jan 2, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kaxil
approved these changes
Dec 31, 2025
kaxil
approved these changes
Dec 31, 2025
When file_parsing_sort_mode is set to modified_time, the DAG file queue is now resorted by modification time whenever a bundle refresh happens. This ensures that existing files in the queue are prioritized correctly based on their recency, rather than retaining their old order. New files discovered during the refresh are still added to the head of the queue for immediate processing.
ea173ba to
0846e06
Compare
Member
Author
|
Take another look @kaxil - I did a bit more optimizing :) |
gopidesupavan
approved these changes
Jan 1, 2026
Member
gopidesupavan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
potiuk
approved these changes
Jan 1, 2026
henry3260
pushed a commit
to henry3260/airflow
that referenced
this pull request
Jan 3, 2026
When file_parsing_sort_mode is set to modified_time, the DAG file queue is now resorted by modification time whenever a bundle refresh happens. This ensures that existing files in the queue are prioritized correctly based on their recency, rather than retaining their old order. New files discovered during the refresh are still added to the head of the queue for immediate processing.
stegololz
pushed a commit
to stegololz/airflow
that referenced
this pull request
Jan 9, 2026
When file_parsing_sort_mode is set to modified_time, the DAG file queue is now resorted by modification time whenever a bundle refresh happens. This ensures that existing files in the queue are prioritized correctly based on their recency, rather than retaining their old order. New files discovered during the refresh are still added to the head of the queue for immediate processing.
ephraimbuddy
pushed a commit
that referenced
this pull request
Jan 27, 2026
When file_parsing_sort_mode is set to modified_time, the DAG file queue is now resorted by modification time whenever a bundle refresh happens. This ensures that existing files in the queue are prioritized correctly based on their recency, rather than retaining their old order. New files discovered during the refresh are still added to the head of the queue for immediate processing. (cherry picked from commit bbf234e)
85 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When file_parsing_sort_mode is set to modified_time, the DAG file queue is now resorted by modification time whenever a bundle refresh happens. This ensures that existing files in the queue are prioritized correctly based on their recency, rather than retaining their old order. New files discovered during the refresh are still added to the head of the queue for immediate processing.