Skip to content

ci(fleet): serialize the remainder lane to lower peak hosted-runner demand - #544

Merged
joshua-temple merged 1 commit into
mainfrom
ci/fleet-lower-max-parallel
Jul 9, 2026
Merged

joshua-temple merged 1 commit into
mainfrom
ci/fleet-lower-max-parallel

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

What

Reduce the CAUSE of the hosted-runner-starvation flake (rather than only tolerate it via retries, #543). The fleet fans out to 12 example repos, each dispatching several child runs that each need a GitHub hosted runner; under that peak, GitHub intermittently fails to allocate runners and cancels lanes.

Drop the remainder lane max-parallel from 2 to 1, so the 8 light repos run one at a time instead of two. This roughly halves the peak concurrent runner demand during that lane.

Trade-off

The remainder lane's wall-clock roughly doubles; total fleet wall-clock grows by less than that (primary/dependents/heavy unchanged). Lane sequencing, roster, needs-graph, the aggregate gate, and retry-attempts: 2 are all unchanged. Together with #543's retries, the fleet now both reduces and tolerates the flake.

Verification

actionlint clean; go build, go test ./internal/release/... (170, includes fleet wiring checks - no test pins max-parallel), golangci-lint clean.

…emand

The fleet fans out to twelve example repos, each dispatching several child runs that each need a GitHub hosted runner, and under that peak demand GitHub intermittently fails to allocate runners and cancels lanes. The retry coverage tolerates it; this reduces the cause. Drop the remainder lane max-parallel from two to one so the eight light repos run one at a time instead of two, roughly halving the peak concurrent runner demand during that lane. The remainder lane's wall-clock roughly doubles; total fleet wall-clock grows by less than that since the other lanes are unchanged. Lane sequencing, roster, needs-graph, the aggregate gate, and the retry attempts are unchanged.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple merged commit a6e8873 into main Jul 9, 2026
16 checks passed
@joshua-temple
joshua-temple deleted the ci/fleet-lower-max-parallel branch July 9, 2026 21:36
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