-
Notifications
You must be signed in to change notification settings - Fork 17.5k
Add on_skipped_intervals_callback for catchup=False DAGs #68359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Tegh25
wants to merge
20
commits into
apache:main
Choose a base branch
from
Tegh25:feature/add_dag_catchup_skip_callback
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
aaabd77
Add on_skipped_intervals_callback for catchup=False Dags
Tegh25 306b66a
Add unit tests for skipped intervals callback and listener
Tegh25 317e583
Add docs and newsfragment for skipped intervals callback and listener
Tegh25 6c7eec9
Fix callback types table, add skipped intervals callback to ignored keys
Tegh25 eadb847
Apply linting fixes after rebase
Tegh25 ac9667c
Use gap summary for skipped intervals callback and listener
Tegh25 1b58730
Type on_skipped_intervals_callback with SkippedIntervalsCallbackConte…
Tegh25 00f79c1
Update scheduler_job_runner.py comment with correct Dag capitalization
Tegh25 6bf5230
Update DagSkippedIntervalsCallbackRequest docstring, replace .in_() w…
Tegh25 f5bdcd7
Fix linting errors after rebase and regenerate schema
Tegh25 9dfc39f
Remove skipped_interval_count field from callback/listener payload
Tegh25 b204f67
Restore supervisor schema version 2026-06-16 for backward compatibility
Tegh25 0ac587a
Document SkippedIntervalsCallbackContext for Sphinx inventory
Tegh25 6c8368b
Skipped intervals listener hook moved outside of retry_db_transaction
Tegh25 73f05ea
Fix: version migration iterates through callback dict to remove new s…
Tegh25 1e305a1
Update task-sdk schema.json and ts-sdk supervisor.ts as per hooks
Tegh25 27ceffd
Update schema version references in Go sdk
Tegh25 b562ca1
Avoid false skipped-interval callbacks for consecutive trigger timeta…
Tegh25 77184b8
Remove stray blank line right after _execute_dag_skipped_intervals_ca…
Tegh25 2709f2d
Ruff formatting for callback requests imports on test scheduler job
Tegh25 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add ``on_skipped_intervals_callback`` for Dags with ``catchup=False`` and the ``on_intervals_skipped`` listener hook, so operators are notified when the scheduler advances past missed scheduled intervals without creating Dag runs. |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.