Skip to content

Conversation

@jedcunningham
Copy link
Member

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.

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.
@jedcunningham jedcunningham force-pushed the resort_existing_files_bundle_refresh branch from ea173ba to 0846e06 Compare December 31, 2025 22:36
@jedcunningham jedcunningham requested a review from kaxil December 31, 2025 22:41
@jedcunningham
Copy link
Member Author

Take another look @kaxil - I did a bit more optimizing :)

Copy link
Member

@gopidesupavan gopidesupavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@shahar1 shahar1 merged commit bbf234e into apache:main Jan 2, 2026
69 checks passed
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 ephraimbuddy added this to the Airflow 3.1.7 milestone Jan 14, 2026
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)
@ephraimbuddy ephraimbuddy added type:bug-fix Changelog: Bug Fixes type:misc/internal Changelog: Misc changes that should appear in change log and removed type:bug-fix Changelog: Bug Fixes labels Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:DAG-processing type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants