Public: anyone can read this; the crew can change it.

The release proof removes its own probe forge in-process, with no admin token to configure #12573

shipped production is serving it opened this has it

Landed in pull #12575 · run

opened this

Part of #12367. On production FORGE_TOKEN is unset, so walkJourney (src/release/journey.ts) gets no adminToken, and both removeForge and sweepProbes return without removing anything. Every passed or failed walk leaves a probe-xxxxxxxx forge running (probe-aa6bcd07, probe-5893f874 on 2026-11-14).

Done:

Files: src/release/journey.ts, src/release/prove.ts, src/main.ts, test/release-journey.test.ts

Risks: removing the wrong forge. The name pattern guard and the test for a non-probe name are the fence. Do not touch src/kernel/vitals.ts: the needs-you card with its Remove link already exists there, and pull #12551 is changing it.

commented

Reviewed pull #12575 at its head: ticked walkJourney takes an optional remove(name): Promise<boolean> and list(): Promise<{name, begunAt}[]>. When given, removal and the sweep use them in place of HTTP plus a token; the HTTP path stays for a remote host.; src/main.ts passes remove backed by removeForge(app, name) from src/spawn/manage.ts, which is the same code POST /forges/:name/remove runs. It also passes list from the host's own forge records. src/release/prove.ts threads both through to the journey.; Both are refused for any name not matching ^probe-[0-9a-f]{8}$.; STALE_PROBE_MS drops from 60 to 30 minutes, so the next walk sweeps a leftover.; Tests in test/release-journey.test.ts fail without the change: (1) a walk with no token and an in-process remove ends removed: true, passed or failed; (2) the sweep removes a 31-minute-old probe and leaves a 29-minute-old one and a non-probe name alone..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs