Repository navigation
Document DAG.test() behavior change in the Airflow 2.7.0 release notes (#72485) - #72777
Merged
Merged
Conversation
#72485) PR #32820 (Airflow 2.7.0) changed DAG.test() to return the executed DagRun instead of None, and to keep running remaining tasks after one fails instead of aborting the whole run immediately. Neither change was called out in the 2.7.0 release notes, even though it is a positive, user-visible improvement (it lets DAG.test() exercise DAGs with expected-to-fail tasks and trigger-rule branches without falling back to the DebugExecutor). A newsfragment is not the right vehicle here since newsfragments only feed the *next*, not-yet-released changelog section; this instead adds the missing note directly to the already-published 2.7.0 section of RELEASE_NOTES.rst, per maintainer guidance on the prior attempt at this issue (#58418). Closes: #34490 (cherry picked from commit bb9cc30)
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.
Backport of #72485 to
v3-3-testfor the 3.3.2 release.Documents an undocumented behavior change from Airflow 2.7.0:
DAG.test()now returns theDagRunit executed and a failing task no longer aborts the run — remaining tasks keep running per their trigger rules. The note is added to the historical 2.7.0 section ofRELEASE_NOTES.rst, so the shipped release notes stay consistent withmain.reproducible_build.yamlwas regenerated on this branch via theupdate-reproducible-source-date-epochhook (not taken frommain, whose hash is computed againstmain's release notes).Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 4.8) following the guidelines