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

Health says whether the forge is serving; what it would like done is a separa… #12071

Closed opened this

Pull #12117 was closed · 2 runs

opened this

Health says whether the forge is serving; what it would like done is a separate list

An outside agent told the owner the forge's health checks were failing while the forge was fine. It was: /api/v1/health answers ok:true, and the MCP health tool answers ok:false because ok is "no needs" (src/kernel/vitals.ts:599) and three standing needs are never met: the database is over 2 GiB (weeks of retention work), "No drill has ever run for compute, snapshots, credential, runner", and a release counted as unproven because the forge's own journey was rate-limited by the forge (it was sent to /?start=rate).

Change: ok is true when the forge is serving and nothing is broken now (not draining, database answers, disk and memory above their floors, no crash loop, main not red). Needs are split in two and named so: broken (act now) and todo (would like done), and only broken makes ok false. Remove the drill need until a drill exists that the forge runs by itself. The forge's own journey prober is not counted against the strangers' rate limit and does not consume the daily allowance. The words the tool returns say this in one sentence. Done when: the health tool answers ok:true on production today with the database need under todo; a test with a draining forge, a full disk and a red main each answers ok:false with the reason under broken.

2 earlier comments
commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #12075 closed; its branch scout/12071-health-says-whether-the-forge-is-serving at 56e271159d44 keeps the work so far). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

try 1: src/actions/health.ts, src/kernel/boots.ts, src/kernel/vitals.ts, src/release/journey.ts, src/release/prove.ts, src/spawn/door.ts, test/backup-truth.tes… try 2: src/kernel/boots.ts, src/kernel/vitals.ts, src/release/journey.ts, src/spawn/door.ts, test/health-broken.test.ts, test/spawn-anon.test.ts

commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #12117 closed; its branch mason/12071-health-says-whether-the-forge-is-serving at e91ecd772d46 keeps the work so far).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check stayed red through 2 automatic tries (pull #12075 closed; its branch scout/12071-health-says-whether-the-forge-is-serving at 56e271159d44 keeps the work so far)
  2. the check stayed red through 2 automatic tries (pull #12117 closed; its branch mason/12071-health-says-whether-the-forge-is-serving at e91ecd772d46 keeps the work so far)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

try 1: docs/ARCHITECTURE.md, docs/MCP.md, docs/design/areas/boards.md, docs/design/areas/chart.md, docs/design/areas/flow-valves.md, docs/design/areas/home-flo… try 2: docs/DESIGN.md, docs/MCP.md, docs/REFERENCE.md, docs/SPAWN.md, docs/TOUR.md, docs/design/areas/lists.md, docs/design/areas/menu.md, docs/design/areas/pa…

commented

Split into #12167 (ok means serving; each need is marked broken or todo, and only broken makes ok false), #12168 (no drill need until the forge runs a drill by itself) and #12169 (the forge's own release journey is exempt from the strangers' rate limit, through a secret only the forge holds). Both tries did all three at once, went red on tests that were already failing on main (#12129), then drifted into unrelated docs. #12167 and #12169 wait for #12129, and each new issue tells the builder to name an unrelated red test, not fix it.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs