Skip to content

Document DAG.test() behavior change in the Airflow 2.7.0 release notes (#72485) - #72777

Merged
vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-bb9cc30418-v3-3-test
Sep 9, 2026
Merged

vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-bb9cc30418-v3-3-test

Conversation

@vatsrahul1001

Copy link
Copy Markdown
Contributor

Backport of #72485 to v3-3-test for the 3.3.2 release.

Documents an undocumented behavior change from Airflow 2.7.0: DAG.test() now returns the DagRun it 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 of RELEASE_NOTES.rst, so the shipped release notes stay consistent with main.

reproducible_build.yaml was regenerated on this branch via the update-reproducible-source-date-epoch hook (not taken from main, whose hash is computed against main's release notes).

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

#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)
@vatsrahul1001 vatsrahul1001 added the type:doc-only Changelog: Doc Only label Sep 9, 2026
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.2 milestone Sep 9, 2026
@vatsrahul1001
vatsrahul1001 merged commit 2fd54e5 into v3-3-test Sep 9, 2026
67 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-bb9cc30418-v3-3-test branch September 9, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:doc-only Changelog: Doc Only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants