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

resource scheduler: reschedule deferred deploys at previous insert order #8145

Open
sanderr opened this issue Oct 2, 2024 · 0 comments
Open
Assignees

Comments

@sanderr
Copy link
Contributor

sanderr commented Oct 2, 2024

When a deploy task is moved from its agent queue back to the waiting set (e.g. because a dependency was added to the scheduled work), it should retain its queue insert order so that when it is re-queued later on, it can jump (part of) the queue. This to prevent starvation.

Add a test case.

Related to #8015. It was initially assumed to be already implemented so it was deemed out of scope for the ticket.

@sanderr sanderr self-assigned this Oct 2, 2024
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

No branches or pull requests

1 participant