build queue: refactor & cache priority-finding for new releases - #3378
Open
syphar wants to merge 1 commit into
Open
build queue: refactor & cache priority-finding for new releases#3378syphar wants to merge 1 commit into
syphar wants to merge 1 commit into
Conversation
syphar
force-pushed
the
cached-priorities
branch
3 times, most recently
from
June 20, 2026 05:09
f519c43 to
54fbb41
Compare
syphar
marked this pull request as ready for review
June 20, 2026 05:13
syphar
force-pushed
the
cached-priorities
branch
from
June 20, 2026 06:25
15607ca to
96f788a
Compare
This comment has been minimized.
This comment has been minimized.
syphar
marked this pull request as draft
August 5, 2026 07:05
syphar
force-pushed
the
cached-priorities
branch
from
August 5, 2026 07:42
96f788a to
d33a1e7
Compare
syphar
marked this pull request as ready for review
August 5, 2026 07:59
syphar
force-pushed
the
cached-priorities
branch
from
August 6, 2026 08:56
d33a1e7 to
b941287
Compare
Collaborator
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
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.
prep-work for the SQS ingestion from crates.io so we support a higher load in event ingestion without all these queries.
Also, unifies the priority logic in one struct that is easily testable.
We still need a call (
refresh_default_priorities) every now and then, which would update priorities of already queued releases, if the underlying data changes (patterns, workspace sizes, ...), but that's more optional.While I was on it, I also added a builder to the
FakeGithubStatsstruct and improved some code quality in tests