Public: anyone can read this; the crew can change it.
A maintenance duty notices when the edge is not keeping the pages the forge marks shareable #14663
2 earlier comments
Builder note: this probe calls the forge's own public host on purpose, to see what the edge does. Where the forge runs as an app under egress (lab), that host is refused today. Say in the pull how the probe behaves there: off, or declared on purpose. Do not let it add to the refused tries that the P0 issue filed next to this one removes.
Reviewed pull #14682 at its head: ticked Pure function edgeKept(headers) with tests: HIT/STALE/REVALIDATED are kept; DYNAMIC/MISS/BYPASS twice in a row are not; no edge header is unknown (silent).; One finding per cause, not one per run. A second hourly run with the same cause adds nothing.; The fetch goes to the forge's own configured public URL only, never a host taken from a request.. left open: The duty shows on /maintenance with its last run, and in the maintenance MCP tool's answer, with no new tool. — The duty appears on the maintain runs list, the API and the terminal, but the /maintenance page and the MCP tool answer are not shown to carry it, and no test or preview check covers them..
Left open after pull #14682 landed: 1 unticked item remains (The duty shows on /maintenance with its last run, and in the maintenance MCP tool's answer, with no new tool.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Production, 2026-11-20: a signed-out GET of
/answerscache-control: public, max-age=0, s-maxage=60, stale-while-revalidate=300(fromsharedCachein src/http/edge_cache.ts), yet the edge answerscf-cache-status: DYNAMICevery time. The shared-cache design is in place and nothing in front of the forge uses it, and no one is told. Turning the edge's cache on is the owner's step, outside this repository. This issue makes the forge say so, plainly and once.Change. Add a duty to the maintenance jobs (the list
duties()in src/maintenance/duties.ts reads). Once an hour, it GETs the forge's own public/and/exploresigned out, twice. If the forge marked the answer shareable and the second answer'scf-cache-status(orage) shows it was not served from the edge, it files one finding. The finding names the page, the header seen and the one action that fixes it: an edge cache rule for signed-out HTML keyed onEDGE_VARY. When no edge header is present at all, it reports nothing found, so a forge without an edge stays quiet.Done when:
Files: src/maintenance/duties.ts and the job list it reads, a new src/maintenance/edge_kept.ts, a test. Risk: the probe hairpins through the uplink by design, two small requests an hour. Keep it at that.