-
Notifications
You must be signed in to change notification settings - Fork 889
feat: cancel stuck pending jobs #17803
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
+773
−291
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
0f51f35
added queries for fetching NotStartedProvisionerJobs
ibetitsmike 2f3d606
added detector handling of not started jobs
ibetitsmike 4b252eb
filling out started_at when unhanging not started jobs
ibetitsmike ca49519
WIP
ibetitsmike af994c2
refactored to reaper & added tests
ibetitsmike 3815727
Revert "filling out started_at when unhanging not started jobs"
ibetitsmike b65f620
created new ORM update to avoid forcing setting StartedAt on every Co…
ibetitsmike 3c7c323
added missing dbauthz tests
ibetitsmike 35df01f
added checks for StartedAt value in the updated jobs
ibetitsmike 8aa1ee2
refactor from reaper to jobreaper
ibetitsmike 4385933
WIP
ibetitsmike 96fee51
WIP
ibetitsmike d8db119
WIP
ibetitsmike 5120fb1
WIP
ibetitsmike 8d4fa5a
fixed sql comments
ibetitsmike 18b809c
taking a step back with RBAC
ibetitsmike 0fe1404
WIP
ibetitsmike 77be34e
WIP
ibetitsmike 4351529
WIP
ibetitsmike c03bfa3
fixed InOrg check for provisionerjob resource
ibetitsmike a15bd1c
PR review; naming in the comments, added comments for SQL, less verbo…
ibetitsmike 5b9348f
fixes to tests after lint remove rand
ibetitsmike 91d2d32
readded rand to fix gen failing in CI
ibetitsmike 767cb77
adjusted TODOs
ibetitsmike 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
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.