Skip to content

Size build jobs and test threads to each stream's share of the machine - #288

Merged
crenshawdev merged 1 commit into
mainfrom
anacreon
Oct 21, 2026
Merged

crenshawdev merged 1 commit into
mainfrom
anacreon

Conversation

@crenshawdev

Copy link
Copy Markdown
Member

Builds and test runs were fixed at six jobs and six test threads. When one stream builds alone that leaves most of the machine idle, and it's the wrong number once several streams build side by side. Now each run takes its share: the machine's thread count divided by the streams building at once. .cargo/config.toml goes away, since jobs = 6 was its only setting, and nextest's default profile moves to num-cpus. Design 0015's UPK-R11 and its check commands say the same thing. CI is unchanged and still passes six, since it runs one stream on its own runner, and suite measurement under UPK-R10 stays at six so its numbers compare. The host-matrix spike procedures still build with -j 6, and I left them alone.

Verified locally at 16 build jobs and 16 test threads on top of #287: 3,813 tests passed, and clippy, fmt and cargo deny are clean.

…x jobs

Six jobs left most of the machine idle when one stream built alone, and
more streams need room to build side by side. A run now takes the thread
count divided by the streams building at once. CI keeps six.
@github-actions

Copy link
Copy Markdown

No findings.

The full review is encrypted in this run's security-review artifact. Read it with .sentinel/ci/read-review.sh <pull request number>.

@crenshawdev
crenshawdev merged commit 0ce4d20 into main Oct 21, 2026
7 checks passed
@crenshawdev
crenshawdev deleted the anacreon branch October 21, 2026 13:23
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