override build priorities for some workspaces#3284
Merged
syphar merged 2 commits intorust-lang:mainfrom Apr 7, 2026
Merged
Conversation
Member
Author
GuillaumeGomez
requested changes
Apr 7, 2026
Member
Author
|
done |
Member
|
Awesome, thanks! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #3276
the current automatic workspace deprio groups crates by repository, counts the crates, and will trigger deprioritization when there are more than 20 crates in that repo.
This is what we want for (I assume) most workspaces, which are released together most of the time. These clog the queue and we want them on prio -1.
But there are exceptions we learned about in the recent "full queue" event:
tokio, orrustcrypto/utils, where we have many crates in one repo, but they aren't released together, but only separately. So these we don't need to deprioritize, and in the situations where the queue is full, this is rather annoying for the maintainers.So this PR will enable us to override the priority for a repository / workspace, for the current cases just to "revert it back" to high priority. I can also use that feature to deprioritize workspaces further down. We're doing this for
swc_%at the moment, I think it was because it's a huge workspace and wasn't even in production, or self-hosts their docs. I could imagine we can even drop the old build-priorities thing and instead just use this.