Repository navigation
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
29
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.
+2,058
−418
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f05fea1
Add on_skipped_intervals_callback for catchup=False Dags
Tegh25 d90707d
Add unit tests for skipped intervals callback and listener
Tegh25 7612265
Add docs and newsfragment for skipped intervals callback and listener
Tegh25 8b017b5
Fix callback types table, add skipped intervals callback to ignored keys
Tegh25 0d60cb8
Apply linting fixes after rebase
Tegh25 06e06fb
Use gap summary for skipped intervals callback and listener
Tegh25 9203fa6
Type on_skipped_intervals_callback with SkippedIntervalsCallbackConte…
Tegh25 d9a18c9
Update scheduler_job_runner.py comment with correct Dag capitalization
Tegh25 8963f75
Update DagSkippedIntervalsCallbackRequest docstring, replace .in_() w…
Tegh25 424a541
Fix linting errors after rebase and regenerate schema
Tegh25 2782780
Remove skipped_interval_count field from callback/listener payload
Tegh25 e1738a5
Restore supervisor schema version 2026-06-16 for backward compatibility
Tegh25 8af0353
Document SkippedIntervalsCallbackContext for Sphinx inventory
Tegh25 b70dca0
Skipped intervals listener hook moved outside of retry_db_transaction
Tegh25 f11c269
Fix: version migration iterates through callback dict to remove new s…
Tegh25 bcf3ae6
Update task-sdk schema.json and ts-sdk supervisor.ts as per hooks
Tegh25 b0c6465
Update schema version references in Go sdk
Tegh25 6044de1
Avoid false skipped-interval callbacks for consecutive trigger timeta…
Tegh25 21c304d
Remove stray blank line right after _execute_dag_skipped_intervals_ca…
Tegh25 4312134
Ruff formatting for callback requests imports on test scheduler job
Tegh25 e1aaee4
Document callback behaviour when there are no previous Dag runs
Tegh25 192da36
Narrow log_extra scope for skipped intervals callback in request
Tegh25 04b4d52
Align skipped-interval callback metrics and simplify guard logic
Tegh25 1afffe1
Rename on_intervals_skipped listener hook to on_dag_skipped_intervals
Tegh25 5e5c64e
Regenerate ts-sdk supervisor
Tegh25 bd0c1cf
Fix skipped-interval notifications missed for CronTriggerTimetable gaps
Tegh25 86f579f
Sync schema and supervisor files
Tegh25 51c4d1b
Regenerate SDK schema artifacts after skipped-intervals rebase
Tegh25 9a2edbd
Handle skipped-intervals callbacks when dropping Lang-SDK callbacks
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_dag_skipped_intervals`` 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
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.