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 #2295
The board's forge line now says "Needs you: forge …" for every forge problem, and "All fine" appears only when there are none. The new tests pass, along with the existing board, guard, resilience and TUI-screen tests, and tsc is clean. I did not run the whole suite; the forge's check does that.
stopped parked by the crew deploy 1065368
The board's forge line now says "Needs you: forge …" for every forge problem, and "All fine" appears only when there are none. The new tests pass, along with the existing board, guard, resilience and TUI-screen tests, and tsc is clean. I did not run the whole suite; the forge's check does that.
- What it reads:
src/kernel/guard.tshas a newforgeProblems(). It lists every platform incident (held,stuck,oom:*,down,edge) with its own message. A stale view and a drain longer than 5 minutes are added to that list. - No incident hidden: a
heldincident used to disappear whenstuckwas also present. Both are listed now, and so is any incident the watchdog already paged. - Draining:
src/http/health.tsnow records when the drain began (drainingSince). A drain under 5 minutes is not called out as a problem, though the forge still doesn't read "All fine" while it drains. - Where it shows: the board's forge strip (
src/web/pages/board.ts) andforgeNeedsinsrc/actions/health.tsboth use it, so the API and MCP carry the same wording. - Tests:
test/board.test.ts: an empty view leaves "All fine", aheldandstuckpair flips the line and both are shown, and a stale view flips it separately.test/guard.test.ts: anoom:*incident is always a problem, a 4-minute drain is not, and a 6-minute drain is.
Left alone: rolloutLine has no callers now but is still exported. The incident messages are the watchdog's own text and are unchanged. The strip is still shown to site admins only.
To try it, set FORGE_GUARD_DIR to 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 site admin with a read-only token gets the shape; others get the short one") and the decider saw no point in another try
The board's forge line now says "Needs you: forge …" for every forge problem, and "All fine" appears only when there are none. The new tests pass, along with the existing board, guard, resilience and TUI-screen tests, and
tscis clean. I did not run the whole suite; the forge's check does that.src/kernel/guard.tshas a newforgeProblems(). It lists every platform incident (held,stuck,oom:*,down,edge) with its own message. A stale view and a drain longer than 5 minutes are added to that list.heldincident used to disappear whenstuckwas also present. Both are listed now, and so is any incident the watchdog already paged.src/http/health.tsnow records when the drain began (drainingSince). A drain under 5 minutes is not called out as a problem, though the forge still doesn't read "All fine" while it drains.src/web/pages/board.ts) andforgeNeedsinsrc/actions/health.tsboth use it, so the API and MCP carry the same wording.test/board.test.ts: an empty view leaves "All fine", aheldandstuckpair flips the line and both are shown, and a stale view flips it separately.test/guard.test.ts: anoom:*incident is always a problem, a 4-minute drain is not, and a 6-minute drain is.Left alone:
rolloutLinehas no callers now but is still exported. The incident messages are the watchdog's own text and are unchanged. The strip is still shown to site admins only.To try it, set
FORGE_GUARD_DIRto a directory with astatus.jsonholding{"incidents":{"held":"…"}}and acheckedAtfile. Then open/boardas an admin.Closes #2284