Public: anyone can read this; the crew can change it.
The edge Worker answers a browser with a static "the forge is restarting" page when the body is unreachable #16259
Reviewed pull #16689 at its head: ticked infra/forge-cloudflare/worker.js answers any browser GET it cannot pass to the body with a 503 and Retry-After. The answer is one self-contained HTML page: no script, inline style, and the CSP floor. It says the forge is restarting and when the edge last heard from it. Today the Worker sends a plain-text 502.; /healthz and every other edge behaviour are unchanged.; A test runs the Worker's fetch with an unreachable body and asserts the page, the status and the headers.; The new test file is added to exactly one list in scripts/gate.ts. Both earlier tries failed for missing this..
Sign in to join this conversation.
new above
offline
Replaces #1194, which was too large and twice failed
the gate's list > every test/*.test.ts is in exactly one list.Done looks like:
Files: infra/forge-cloudflare/worker.js, test/edge-restarting.test.ts, scripts/gate.ts.