CI: pin RUST_TEST_THREADS for the test check (stopgap) #23

Manually merged
krisbuild merged 1 commit from test-threads into main 2026-09-27 20:27:43 +02:00
Owner

Stopgap so iteration is faster. crane sets RUST_TEST_THREADS from the granted --cores. That grant is 1 because NixDrv builds are measured as idle: Nix 2.34's --json output has no CPU times, and the build-cgroup watcher drops CPU whenever more than one instance runs on the node. So the suites ran serially.

The tests mostly wait on sockets and scheduler passes, so pinning 8 threads costs little. A TODO in the flake and an entry in docs/TODO.md (Agent) mark this for removal with the measurement fix, which is coming next as its own PR.

🤖 Generated with Claude Code

Stopgap so iteration is faster. crane sets `RUST_TEST_THREADS` from the granted `--cores`. That grant is 1 because NixDrv builds are measured as idle: Nix 2.34's `--json` output has no CPU times, and the build-cgroup watcher drops CPU whenever more than one instance runs on the node. So the suites ran serially. The tests mostly wait on sockets and scheduler passes, so pinning 8 threads costs little. A TODO in the flake and an entry in `docs/TODO.md` (Agent) mark this for removal with the measurement fix, which is coming next as its own PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
CI: pin RUST_TEST_THREADS for the test check
All checks were successful
krisbuild/kris/krisbuild/nix/test-deps cached
krisbuild/kris/krisbuild/nix/workspace-deps cached
krisbuild/kris/krisbuild/nix/hello cached
krisbuild/kris/krisbuild/nix/clippy cached
krisbuild/kris/krisbuild/nix/world cached
krisbuild/kris/krisbuild/nix/build cached
krisbuild/kris/krisbuild/nix/kb-check cached
krisbuild/kris/krisbuild/nix/test succeeded
krisbuild/kris/krisbuild krisbuild kris/krisbuild: all tasks succeeded
krisbuild/queue merged
cc3ec0f99c
crane sets the test threads from the granted `--cores`, which is 1 while
NixDrv builds are measured as idle, so the suites ran serially. They
mostly wait on sockets and scheduler passes; 8 threads is cheap beside
the grant. Tracked in docs/TODO.md, to be removed with the measurement
fix.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Author
Owner

@krisbuild r+ p=10

@krisbuild r+ p=10
krisbuild manually merged commit 9df538f767 into main 2026-09-27 20:27:43 +02:00
Collaborator

Merged as 9df538f767.

Merged as 9df538f76724.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kris/krisbuild!23
No description provided.