gunk-dev/the-valley
the-valley:oc-03b6f8coutcomedone

Builds on the valley host run under memory and CPU caps

State
done
Created
2026-10-17 by contributor
Source
2026-10-04, plan.md M2 (T2)
Lands in
an unpublished project

Body

Builds on the valley host run under memory and CPU caps, in a slice or a microVM, so a build can't wedge the host that also runs git, the integrator and GPU inference.

The plan named this for CI runners. Those are retired, so the caps now apply to whatever runs checks on the host: `attest` today, the M4 check workers later.

Done when a build that exhausts its cap fails alone, and the host's other services stay healthy.

Source: `plan.md` M2 (T2) and "Things to keep in view".

Comments

  1. contributor2026-11-08 22:29 UTC
    Done: the host module caps every build in one slice, and a build the kernel kills leaves the daemon running (nix/valley-host.nix services.valley.buildSlice; nix/checks/host-module.nix checks MemoryMax and OOMPolicy).