Repository navigation
Conversation
Dag runs carried over from Airflow 2, or whose Dag version was removed by db clean, have no created version. only_new diffed the latest Dag against that pointer, so it reported no new tasks and silently skipped tasks added since the run was created.
A temporary network failure while querying provider metadata should not abort the entire constraints generation job when the request can succeed on a subsequent attempt.
LiaoAB
force-pushed
the
fix/only-new-versionless-run
branch
from
October 26, 2026 06:20
bf020af to
2a58480
Compare
LiaoAB
requested review from
amoghrajesh,
bugraoz93,
gopidesupavan,
jason810496,
jscheffl and
potiuk
as code owners
October 26, 2026 06:20
This branch has not been deployed
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.
only_newclear relied oncreated_dag_version_idto decide which tasks were new. Runs without that pointer (migrated from Airflow 2, or afterdb clean) were treated as having no new tasks. Use the run's existing TaskInstance rows instead.closes: #71455
related: #71453
Testing
test_cleartasks.py: 119 passed, 1 skipped.Was generative AI tooling used to co-author this PR?
Generated-by: opencode following the guidelines. The author reviewed and tested the changes.