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

Once needs are split into broken and todo, memory below its floor is a broken need and /health answers ok:false #12300

shipped production is serving it opened this has it

Landed in pull #12385 · run

opened this

Replaces #12284. Three builders declined it because the groundwork from #12167 (broken and todo needs in src/kernel/vitals.ts) is not on main yet. This issue waits for #12167 to land.

Done:

Files: src/kernel/vitals.ts, test/health-broken.test.ts

Risks: no flapping. Use the floor vitals already use and add no new constant.

commented

Reviewed pull #12385 at its head: ticked Vitals push a broken need when free memory is below the floor that vitals already report. The reason names the reading and the floor, e.g. memory 180 MB free, floor 256 MB.; /api/v1/health and the MCP health tool answer ok:false with that reason under broken, and ok:true again once memory is back above the floor.; test/health-broken.test.ts gains a case that fails without the detector, driven by an injected memory reading and not the machine's real memory..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs