Skip to content
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

Cancel automatic pending tasks that are removed during new assignments #301

Merged
merged 3 commits into from
Sep 28, 2023

Conversation

aaronchongth
Copy link
Member

Bug fix

Fixed bug

Not exactly a bug, but at the moment pending automatic tasks are just removed from the queue without cancellation.
The original automatic task will remain as queued forever on the end of the api-server.

This publishes the cancellation of those pending tasks that will be removed when new assignments happen.

Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
@aaronchongth aaronchongth merged commit fb23496 into main Sep 28, 2023
4 checks passed
@aaronchongth aaronchongth deleted the fix/cancel-removed-pending-tasks branch September 28, 2023 07:18
aaronchongth added a commit that referenced this pull request Sep 28, 2023
#301)

* Cancel automatic pending tasks that are removed during new assignments

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Use unordered_set

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>
(cherry picked from commit fb23496)
Signed-off-by: Aaron Chong <[email protected]>
aaronchongth added a commit that referenced this pull request Sep 28, 2023
#301)

* Cancel automatic pending tasks that are removed during new assignments

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Use unordered_set

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>
(cherry picked from commit fb23496)
Signed-off-by: Aaron Chong <[email protected]>
arjo129 pushed a commit that referenced this pull request Jun 7, 2024
#301)

* Cancel automatic pending tasks that are removed during new assignments

Signed-off-by: Aaron Chong <[email protected]>

* Lint

Signed-off-by: Aaron Chong <[email protected]>

* Use unordered_set

Signed-off-by: Aaron Chong <[email protected]>

---------

Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Arjo Chakravarty <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants