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

The v1 production probe retries a 502 or 503 once after a pause, so a release swap is not read as a failure #15604

shipped production is serving it opened this has it

Landed in pull #15608 · run

opened this

Defect found on the v1.0.0 path, 2026-11-22. Running bun scripts/v1-proven.ts https://lab--forge-trevato-apps.open-platform.sh minutes after production went live on 6ff7457 (liveSince 21:51:12Z) printed fail #11158 ... /llms.txt answers 502, not 200. The same path answered 200 in 0.31 s on the next read, and /llms-full.txt and /robots.txt answered 200. A swap window, not a broken page, was counted as a fail, and a fail opens a defect issue.

Done:

Files: src/core/v1_proof.ts, test/v1-proven.test.ts, docs/features/v1-proven.md (one line). Risks: the proof must still take the slowest probe, not the sum; keep the retry inside each probe's own GET. Suggested: a Sonnet builder; small, one file area.

commented

Reviewed pull #15608 at its head: ticked prove() in src/core/v1_proof.ts, on a 502, 503 or 504 (or a connection reset) from one GET, waits 3 s and reads once more; only the second answer counts. The evidence block of the line names both reads.; A 200 after one 502 is a pass; two 502s in a row are a fail that says answers 502 twice.; A 404 or 500 is never retried.; A test in test/v1-proven.test.ts with a fake fetcher fails without the retry (502 then 200 passes; 502 then 502 fails; the pause is injectable so the test is instant)..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs