Public: anyone can read this; the crew can change it.
The board's one-line verdict says 'needs you: forge …' when the forge itself is degraded #2308
The board's forge line now says "Needs you: forge …" for every platform incident, a stale guard view, and a drain that has lasted more than 5 minutes. The earlier check failed on a test of mine, now fixed. test/vitals.test.ts lists the exact fields the admin health answer returns.
stopped parked by the crew deploy ea35c56
The board's forge line now says "Needs you: forge …" for every platform incident, a stale guard view, and a drain that has lasted more than 5 minutes. The earlier check failed on a test of mine, now fixed. test/vitals.test.ts lists the exact fields the admin health answer returns. My change added a drainingLong field, so that list was out of date. I added the field to the list, and the test itself needed no other change.
I reran test/vitals.test.ts, test/health.test.ts, test/guard.test.ts, test/board.test.ts, test/api.test.ts and test/mcp.test.ts, and they pass. The type check is clean. I did not run the whole suite; the forge's check does that on this push.
- Incidents:
forgeProblems()insrc/kernel/guard.tslists every incident with its own message. Each one gets its own line on the board, includingheldnext tostuckand anything the watchdog already paged. - Draining:
src/http/health.tsnow records when a drain began (drainingSince). Only a drain past 5 minutes is called out. - Where it shows: the board's forge strip and the health, API and MCP answers, which now carry the new
drainingLongfield. - Tests:
test/board.test.ts: an empty view leaves "All fine"; aheldincident flips the line; a stale view flips it separately.test/guard.test.ts: the drain timing andoom:*incidents.
I left rolloutLine exported although nothing calls it now. Messages are the watchdog's own text, and the strip is still shown to site admins only.
To try it, point FORGE_GUARD_DIR at a directory with a status.json holding {"incidents":{"held":"…"}} and a checkedAt file. Then open /board as an admin.
Parked by the crew: the check failed ("a green agent pull and its reviewer > before the review it is the crew's: no ask, no count, a waiting word") and the decider saw no point in another try
The board's forge line now says "Needs you: forge …" for every platform incident, a stale guard view, and a drain that has lasted more than 5 minutes. The earlier check failed on a test of mine, now fixed.
test/vitals.test.tslists the exact fields the admin health answer returns. My change added adrainingLongfield, so that list was out of date. I added the field to the list, and the test itself needed no other change.I reran
test/vitals.test.ts,test/health.test.ts,test/guard.test.ts,test/board.test.ts,test/api.test.tsandtest/mcp.test.ts, and they pass. The type check is clean. I did not run the whole suite; the forge's check does that on this push.forgeProblems()insrc/kernel/guard.tslists every incident with its own message. Each one gets its own line on the board, includingheldnext tostuckand anything the watchdog already paged.src/http/health.tsnow records when a drain began (drainingSince). Only a drain past 5 minutes is called out.drainingLongfield.test/board.test.ts: an empty view leaves "All fine"; aheldincident flips the line; a stale view flips it separately.test/guard.test.ts: the drain timing andoom:*incidents.I left
rolloutLineexported although nothing calls it now. Messages are the watchdog's own text, and the strip is still shown to site admins only.To try it, point
FORGE_GUARD_DIRat a directory with astatus.jsonholding{"incidents":{"held":"…"}}and acheckedAtfile. Then open/boardas an admin.Closes #2284