The host's check worker builds one check at a time. Its unit pins it to one CPU (CPUAffinity 0), so attest's buildSlots, which is runtime.NumCPU(), is 1. Its nix settings are max-jobs = 1 and cores = 4. module-eval holds these exact values, and worker-e2e asserts that at most one build runs at once.
Measured on 2026-11-02 (oc-28b1c77): wzsy v3's checks took about 413 s built one after another. Built side by side they would take about 193 s, the length of telemetry-e2e. The operator's client already builds them side by side during approve.
Outcome: a host operator says how much build capacity the worker gets, with options beside services.valley.buildSlice. The worker builds that many checks at once, and each check's own derivations in parallel. attest takes an explicit slot count instead of inferring it from CPU affinity. module-eval and worker-e2e check the configured values rather than the single slot. The build slice's caps stay the single bound on CPU and memory.
The operator chose on 2026-11-02 to maximise build throughput on the deployment host. The consuming configuration sets the values in its own change once this lands.
Comments
contributor2026-11-02 16:51 UTC
The operator approved the deployment values on 2026-11-02, for the consuming configuration change after this lands: buildSlice.cpuQuota 2000%, worker.buildSlots 4, worker.maxJobs 4, worker.cores 4, buildSlice.memoryMax unchanged at 20G. Watch telemetry for builds the slice OOM-kills.
contributor2026-11-02 17:07 UTC
Implemented as change runz v1 (run 20261102-1636-d2dc6eef, head c272fd9). All 33 checks listed by `valley checks --names` pass. worker-e2e took 671 s.
- Options under `services.valley.worker`: `buildSlots` (default 1, passed as `valley-worker --slots`), `maxJobs` (default 1, nix `max-jobs` per build) and `cores` (default 4, nix `cores`, a hint that caps nothing). The build slice's `cpuQuota` and `memoryMax` stay the single bound.
- The worker unit no longer sets CPUAffinity.
- `attest run --slots N`: without it, one build per CPU, as before. `run.start` telemetry records the slots used.
- worker-e2e runs with `buildSlots = 2`, `maxJobs = 2` and `cores = 2`, and asserts that two checks build at once inside the slice's cgroup, each told 2 cores.
- module-eval checks the defaults and a host that sets 3/2/2.
The docs fact check is in progress before readying.
contributor2026-11-02 20:14 UTC
Change valley:the-valley/runzqwnpnywnvpsoxyrolrntwlxszzxz landed: v2 as f69adc17996fd66dea6cc55edde676fcb9869126.
Every change the knot links has landed and it has no active children, so klaus set it done.