-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Allow for retry when tasks are stuck in queued #43520
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
Merged
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
8eb60b1
Handle the scenario where a task is queued for longer than `task_queu…
dimberman 066f672
address feedback
dimberman 93cb9ce
remove uv.lock
dimberman 4a5c9e5
Update airflow/jobs/scheduler_job_runner.py
dimberman 076c257
We need to ensure that older versions of airflow don't run into issue…
dimberman f46d4b0
Merge branch 'handle-stuck-in-queue' of https://github.com/apache/air…
dimberman 4fe701e
Merge branch 'main' into handle-stuck-in-queue
dimberman 9987963
address feedback
dimberman c39e52f
Merge branch 'handle-stuck-in-queue' of https://github.com/apache/air…
dimberman 05fc02d
pre-commit
dimberman a1564cc
Update airflow/jobs/scheduler_job_runner.py
dimberman cbc3453
Merge branch 'main' into handle-stuck-in-queue
dimberman 4950536
Handle the scenario where a task is queued for longer than `task_queu…
dimberman 1c34eea
Merge branch 'handle-stuck-in-queue' of https://github.com/apache/air…
dimberman 2113384
Update airflow/config_templates/config.yml
dimberman c18f8f4
k8s support
dimberman 6d63990
Merge branch 'handle-stuck-in-queue' of https://github.com/apache/air…
dimberman 5fdf2ec
Merge branch 'main' of https://github.com/apache/airflow into handle-…
dimberman 96611db
Merge branch 'main' of https://github.com/apache/airflow into handle-…
dimberman ffd1a8e
tested against kubernetes_executor
dimberman 116d130
Simplify the handle stuck in queued interface (#43647)
dstandish bf45241
fix
dimberman e232c18
Merge branch 'handle-stuck-in-queue' of https://github.com/apache/air…
dimberman 0935be1
Merge branch 'main' of https://github.com/apache/airflow into handle-…
dimberman fa90a44
remove commented code
dstandish e28e9b7
simplify / make more acurrate the log info in backcompat case
dstandish 702b1e4
remove redundant event log
dstandish 16f62ad
cleanup
dimberman 9296af5
nit
dimberman 545c1fc
fix test
dstandish de68cc0
fix test
dstandish 097801d
handle when func not implemented
dstandish 7ee94e3
reorder the log add to follow the actual requeue
dstandish 872c326
remove obsolete event
dstandish 51c49c2
tweak event language again
dstandish 2bec817
just remove from running set instead of pretending that we are changi…
dstandish c3a39c2
Merge branch 'main' of https://github.com/apache/airflow into handle-…
dimberman 1ace902
Merge branch 'handle-stuck-in-queue' of https://github.com/apache/air…
dimberman 6e8a1c2
fix test
dimberman ef55592
fix test
dimberman 5638743
Merge branch 'main' into handle-stuck-in-queue
dstandish f475d12
Revert signature change in `cleanup_stuck_queued_tasks`
dstandish 3393797
Revert "Revert signature change in `cleanup_stuck_queued_tasks`"
dstandish c40284d
Refactor this beast to deprecate old function and add new one
dstandish b8a123d
fix tests
dstandish e20bea7
cleanups
dstandish 6e1dea6
fix readability
dstandish 72e2e0e
mark as deprecated / add todo
dstandish 1999572
move log line
dstandish 857ddb8
fix test
dstandish 0fddff5
docstring / spelling
dstandish 88f8785
fix test
dstandish c28ef97
Merge branch 'main' into handle-stuck-in-queue
dstandish fd99f57
fix tests
dstandish b62eeb9
don't create an executor event; just fail the task
dstandish 5dce100
Merge branch 'main' into handle-stuck-in-queue
dstandish c4f4204
Change this from "clean up stuck queued" to "revoke_task"
dstandish 4bd5dbe
update tests
dstandish 37b765a
fix docstring
dstandish 4a503eb
docstring
dstandish fe8afe0
make the param undocumented
dstandish ea1faf9
fix fallback
dstandish f5eba8c
ensure task removed from running / queued
dstandish 14b233e
update test
dstandish 3aa1f37
fix test mistake
dstandish 1d85dbf
small nits
dstandish 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1375,6 +1375,7 @@ repos | |
| repr | ||
| req | ||
| reqs | ||
| requeued | ||
| Reserialize | ||
| reserialize | ||
| reserialized | ||
|
|
||
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.
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.