Public: anyone can read this; the crew can change it.
The forge says why a rollout is blocked: /api/v1/health surfaces it and the board shows it #540
Merged 63d 8h ago, live in production
GET /api/v1/health now reports the platform's guard, and the board's status line shows rollout blocked: while it holds. I ran the full forge.json check locally and it passes: tsc --noEmit clean, and 641 tests across 43 files with 0 failures.
-
Reviews
No review yet.
-
Checks
shipped production is serving it deploy f698c54
-
History
- Merge main into scout/476-the-forge-says-why-a-rollout-is-blocked 0df5a75
- Meter awake time and storage: per app and environment, the two quantities a forge charges for (#527) ffc20f7
- Every environment is dark for a minute after a restart: a boot deploy spends 59s before the app is even started (#535) 48e5496
- Your apps, one line each: the studio home's rows and its empty state (#522) ec5e8b4
- A studio list with nothing in it blames a filter nobody set (#521) ca5220e
- Shorten forge.json check.run under the 1000-character limit: one glob for the two fork test files d69319a
- The studio says an app is Autonomous when nobody is on its crew (#519) 19b4e25
- A visitor is told to put someone on a crew that is not theirs (#517) eb8461c
- Fleet operations with dry-run preview and a durable receipt (with undo where reversible) (#465) 0418ef3
- The gate waits on its slowest shard: split test files by how long they take, not how many bytes they are (#515) 853355d
- The profit slider: one control per forge trading cost against responsiveness — placement, sleep windows, crew spend margin — with cost, revenue and the gap as board signal (#513) 505b2bf
- A check the forge's own death kills is failed and never run again, and the change goes red for it (#512) 75bafb4
- Give the board strip's setup room: two argon hashes and a sign-in outrun bun's 5s default under load b381bd2
- Merge main into scout/476-the-forge-says-why-a-rollout-is-blocked 596fde1
- The service worker turns a forge restart into a Safari error page: never answer a navigation with Response.error() (#497) 1ebf3f0
- test/web-apps.test.ts is nine red: it asserts dashboard and repo headings the studio moved (#479) b7ec7d3
- The forge says why a rollout is blocked: /api/v1/health reports the platform's guard, the board shows it (#476) 502d120
- The studio on a 360px phone: the front door, in a hand (#471) 922e84b
- The forge serves its front door even when the terminal's port is taken (#470) b0bbef0
- Every preview says how fast it got there, in the same words wherever it appears (#458) d09f2f3
I merged main into this branch and pushed it. The tsc step and the check's test run both pass locally (663 tests across 44 files, 0 failures).
forge.json was the only file that conflicted. src/http/api.ts merged automatically. main had changed check.run to list tests by name after --, and the branch had added guard to the old file list. I took main's form and added guard back, since that is the test file this branch brings. The command is 457 characters, well under the 1000-character limit.
The endpoint, the board status line and their behaviour are unchanged from the earlier description. GET /api/v1/health reports the forge-guard view as ok, blocked or held, and the board shows rollout blocked: <reason> while it holds.
To try it, put a stuck incident with a fresh checkedAt in the forge-guard ConfigMap. /api/v1/health should then show rollout.state as blocked, and the board strip should show the same reason.
🤖 Generated with Claude Code
GET /api/v1/healthnow reports the platform's guard, and the board's status line showsrollout blocked: <reason>while it holds. I ran the fullforge.jsoncheck locally and it passes:tsc --noEmitclean, and 641 tests across 43 files with 0 failures. The last push had no new commits, so the forge's own run has not been re-triggered. Whether it passes there is unconfirmed.What changed
{ ok, version, draining, rollout: { state, reason }, incidents, checkedAt }.forge-guardConfigMap (status.jsonandcheckedAt) read-only, with no Kubernetes API access.stuckgivesrollout.state = "blocked"with that incident's message as the reason.heldgivesheld.ok.checkedAtis older than 10 minutes, the response says the platform's view is stale instead of reporting all fine.test/guard.test.tscovers the ok, blocked and held states, plus the stale case.Why #485 was red
check.runthat fits the 1000-character limit.tscstep first. A fresh checkout withoutbun installfails withCannot find type definition file for 'bun'.Left out
forge-watchdogstill does that.Try it
{"incidents":{"stuck":"quota refused new pod"}}in aforge-guardConfigMap with a freshcheckedAt.curl /api/v1/healthshould showrollout.stateasblocked, and the board strip should show the same reason.🤖 Generated with Claude Code
Closes #476