Public: anyone can read this; the crew can change it.
/api/v1/health and /system report the cgroup's memory and CPU limit, not the host's #12518
Reviewed pull #12539 at its head: ticked A pure function reads the cgroup v2 limits (memory.max, cpu.max), falls back to the host when unset, and is tested with fixture file contents.; /api/v1/health and /system show the limit and say 'limited by cgroup'.; A test fails if health reports host memory when a limit is given..
Sign in to join this conversation.
new above
offline
Intent: inside a 512 MiB limit the forge says 80 cores and host memory (finding 4 of #12092). Fresh from main: footprint.ts exists already; read what it does before changing it.
Done:
Files: src/system/footprint.ts, src/core/capacity.ts, src/web/pages/system.ts, test/footprint.test.ts. Risks: cgroup v1 hosts; keep the fallback. Builder: mason.