Skip to content

feat(gitea-mq): raise the batch cap to twenty for flake-update waves - #3014

Merged
sciexp-gitea-mq[bot] merged 1 commit into
mainfrom
stack/cameronraysmith/stack/queue-cutover/raise-batch-cap-twenty-flake-update-waves--fc76b011
Sep 10, 2026
Merged

feat(gitea-mq): raise the batch cap to twenty for flake-update waves#3014
sciexp-gitea-mq[bot] merged 1 commit into
mainfrom
stack/cameronraysmith/stack/queue-cutover/raise-batch-cap-twenty-flake-update-waves--fc76b011

Conversation

@cameronraysmith

Copy link
Copy Markdown
Owner

The five-entry cap matched Mic92/dotfiles, SBEE-Lab/infra and mulatta/dots.
Two conditions those deployments do not share justify diverging: our
update-flake-inputs lane produces waves of twenty to forty simultaneously
ready PRs twice weekly, and bisectMaxSteps = 0 makes bisection unlimited, so
Engine.HandleFail isolates a failing entry in about log2(N) builds and the
eject-the-whole-batch path is unreachable here.

Accepted trade: a large batch holds the queue for one build cycle, and one bad
entry delays the other nineteen while bisection runs.

The cap is a ceiling, not a target. FormBatch is greedy, taking whatever is
queued when a poll runs, and a pull_request event triggers that poll
immediately, so batch size stays emergent from arrival rate against build
time. Observed here: five PRs landed in two batches of two and three. No
speedup beyond that observation is claimed.

design.md records the reversal with both reasons; brainstorm.md keeps the
earlier zero-to-five decision untouched as the historical record.

The five-entry cap matched Mic92/dotfiles, SBEE-Lab/infra and mulatta/dots.
Two conditions those deployments do not share justify diverging: our
update-flake-inputs lane produces waves of twenty to forty simultaneously
ready PRs twice weekly, and bisectMaxSteps = 0 makes bisection unlimited, so
Engine.HandleFail isolates a failing entry in about log2(N) builds and the
eject-the-whole-batch path is unreachable here.

Accepted trade: a large batch holds the queue for one build cycle, and one bad
entry delays the other nineteen while bisection runs.

The cap is a ceiling, not a target. FormBatch is greedy, taking whatever is
queued when a poll runs, and a pull_request event triggers that poll
immediately, so batch size stays emergent from arrival rate against build
time. Observed here: five PRs landed in two batches of two and three. No
speedup beyond that observation is claimed.

design.md records the reversal with both reasons; brainstorm.md keeps the
earlier zero-to-five decision untouched as the historical record.

Change-Id: Ifc76b011fd3b7a8361469c693da847db6a6a6964
@cameronraysmith

Copy link
Copy Markdown
Owner Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(gitea-mq): raise the batch cap to twenty for flake-update waves #3014 👈
2 fix(gitea-mq): match the required-check fallback to the authoritative ruleset #3015

@cameronraysmith
cameronraysmith added this pull request to stack #3016 September 10, 2026 04:15
@sciexp-gitea-mq
sciexp-gitea-mq Bot merged commit 8e6a334 into main Sep 10, 2026
8 of 9 checks passed
@sciexp-gitea-mq
sciexp-gitea-mq Bot deleted the stack/cameronraysmith/stack/queue-cutover/raise-batch-cap-twenty-flake-update-waves--fc76b011 branch September 10, 2026 04:27
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.

1 participant