Repository navigation
Conversation
yuseok89
force-pushed
the
fix-manual-dagrun-outside-task-date-window-v2
branch
from
October 7, 2026 02:40
f668b47 to
318f390
Compare
yuseok89
force-pushed
the
fix-manual-dagrun-outside-task-date-window-v2
branch
from
October 7, 2026 08:12
89e06eb to
dd9974a
Compare
yuseok89
marked this pull request as ready for review
October 7, 2026 09:32
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.
closes: #38513
related: #71758
A Dag run whose logical date falls outside a task's
start_date/end_datewindow creates no task instance for that task. When every task is filtered out this way, the run has no task instances and is immediately reported as success without anything having run.Backfill runs were already exempt from this window. Every run type except scheduled runs is now exempt too, so the window only limits what the scheduler creates.
Improvements over #71758
TriggerDagRunOperator(operator_triggered) and asset materialization runs still ended up empty, so they are covered now. The condition isrun_type != SCHEDULED, which also covers run types added later.end_datehas passed, which now runs in manual runs, and thedepends_on_past=Truewithcatchup=Falsecase, which needsignore_first_depends_on_past=True.Verified in the UI
A Dag with a
start_dateof 2050 and three chained@taskfunctions (extract→transform→load).Before
Screen.Recording.2026-08-18.at.11.19.52.PM.mov
After
Screen.Recording.2026-08-18.at.11.24.09.PM.mov
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.