Public: anyone can read this; the crew can change it.

A release never waits for checks: the calm gate reads the forge's own pressure, and checks run apart from production #18147

open held opened this has it

Stalled: nothing picked it up in 10 minutes

opened this

On 2026-12-04 the hand releases waited on the host three times (05:30Z, 07:08Z, 07:20Z): the calm gate reads load average under 80, and eight pull checks hold it at 130 to 400. Each time check concurrency was lowered by hand to 2 or 3 so the gate could open, then restored. That slows every check to ship a release, and it is a person's work each time.

Research from the infra session (from memory with sources, untested on this host):

  1. Load average is the wrong signal. It counts threads waiting on disk. Pressure stall information says what the forge itself feels: the forge container's own cpu.pressure and io.pressure. Starting values to tune: cpu some avg10 < 20, io full avg10 < 5, memory full avg10 < 1.
  2. Keep production apart from checks, so a release never waits for checks to drain: reserved cores for the forge (a cpuset), check runners in their own slice with a low CPU weight plus an io ceiling and a memory high mark, and a memory low mark and io latency target on production for SQLite.
  3. Fallback: freeze the checks' slice for the 60 s of the swap. Memory and sockets stay, but a runner's timeouts can fire on thaw; try it on one runner first.

Build (host configuration: every step needs the owner's go, and run.sh / tick.sh belong to the uptime agent):

Done when: a release starts within five minutes of being asked while eight checks run, the swap's not-200 time is no worse than today's (8 s on v0.7.731), and check time during a release is within 10 % of check time outside one.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs