Repository navigation
[v3-3-test] Keep ZIP-archived Dags active when dag_discovery_safe_mode is False (#68518) - #71714
Merged
Merged
Conversation
1 task done
…e is False (#68518) * Keep ZIP-archived Dags active when dag_discovery_safe_mode is False The Dag file processor parsed and activated keyword-less Dags inside ZIP archives but then immediately deactivated them, because the scan that decides which files still exist ignored dag_discovery_safe_mode and always applied the airflow/dag keyword heuristic. Resolve the setting once and use it consistently for discovery and the deactivation scan, and log the effective value so a misconfigured processor is diagnosable. closes: #66104 * Cover safe-mode filtering in Dag bundle discovery The file-discovery and observed-file paths must both honor safe mode so wrapped Dag files are not silently skipped by a future regression. * Shorten review-flagged comments in Dag discovery safe mode change Review asked for one-line comments and no issue numbers in code, since the PR link already carries that context. * Validate configured Dag discovery safe mode --------- (cherry picked from commit 786dd79) Co-authored-by: deepinsight coder <[email protected]> Co-authored-by: Cursor <[email protected]>
potiuk
force-pushed
the
backport-786dd79-v3-3-test
branch
from
August 17, 2026 17:16
b0343db to
c90a129
Compare
potiuk
marked this pull request as ready for review
August 17, 2026 17:20
potiuk
approved these changes
Aug 17, 2026
potiuk
left a comment
Member
There was a problem hiding this comment.
Rebased onto the current v3-3-test tip; the backport replays cleanly and the tests it touches pass locally against this branch.
Scope-checked for a maintenance branch: this is a bugfix, with no new user-facing capability.
Drafted-by: Claude Code (Opus 5); reviewed by @potiuk before posting
Contributor
Author
|
Hi maintainer, this PR was merged without a milestone set.
|
vatsrahul1001
pushed a commit
that referenced
this pull request
Sep 7, 2026
…e is False (#68518) (#71714) * Keep ZIP-archived Dags active when dag_discovery_safe_mode is False The Dag file processor parsed and activated keyword-less Dags inside ZIP archives but then immediately deactivated them, because the scan that decides which files still exist ignored dag_discovery_safe_mode and always applied the airflow/dag keyword heuristic. Resolve the setting once and use it consistently for discovery and the deactivation scan, and log the effective value so a misconfigured processor is diagnosable. closes: #66104 * Cover safe-mode filtering in Dag bundle discovery The file-discovery and observed-file paths must both honor safe mode so wrapped Dag files are not silently skipped by a future regression. * Shorten review-flagged comments in Dag discovery safe mode change Review asked for one-line comments and no issue numbers in code, since the PR link already carries that context. * Validate configured Dag discovery safe mode --------- (cherry picked from commit 786dd79) Co-authored-by: deepinsight coder <[email protected]> Co-authored-by: Cursor <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The Dag file processor parsed and activated keyword-less Dags inside ZIP
archives but then immediately deactivated them, because the scan that
decides which files still exist ignored dag_discovery_safe_mode and always
applied the airflow/dag keyword heuristic. Resolve the setting once and use
it consistently for discovery and the deactivation scan, and log the
effective value so a misconfigured processor is diagnosable.
closes: #66104
The file-discovery and observed-file paths must both honor safe mode so wrapped Dag files are not silently skipped by a future regression.
Review asked for one-line comments and no issue numbers in code, since
the PR link already carries that context.
(cherry picked from commit 786dd79)
Co-authored-by: deepinsight coder [email protected]
Co-authored-by: Cursor [email protected]