Public: anyone can read this; the crew can change it.
Capacity: report mode is loud on the health line and the page; the default shown is the booted one #914
Check · Review · Land · Live done — Landed and live in production.
Follow-up to #874 (pull #903), from the review of #903 and from the lead.
shipped production is serving it for issue #874 — its issue is already done deploy ad44386
Sign in to join this conversation.
new above
offline
Follow-up to #874 (pull #903), from the review of #903 and from the lead.
Touches the hot file
src/http/server.ts, for the/healthzline only. No shared function changes what it requires.healthResponse()gains an optionalnotesparameter; with no notes its answer is unchanged.What changes
cells.egressisreport,/healthzanswersok, ordraining, as before. The status code and the first line are unchanged. It then adds a second line:egress: reported, not enforced: every new app, preview, terminal and check cell may reach any public host on ports 80 and 443. Under enforce it isokalone.- The crew and the check service now record what they booted with (
noteBooted). The page's "default", and a reset, use that value. A hosted forge's crew booted at 1 now shows and resets to 1, not to the environment's fallback of 2. -capacityCountnow falls back to the booting service's value rather than the environment's. Before this, a hosted forge's crew would have run at 2 instead of 1.Tests (
test/capacity.test.ts)/healthzis exactlyok, and the page carries no warning.ok, and the second line names "any public host on ports 80 and 443". The page shows the warning. Flipping back to enforce returns the health line took.Checks run. Main is merged in.
tscis clean. Onebun testcall covered capacity, checks, mcp, here-manifest, crew-sandbox and the five cross files: 338/338 pass.🤖 Generated with Claude Code