Public: anyone can read this; the crew can change it.
The daily proof also runs once after each release goes live, so a release is proven within minutes, not at the next 24 h tick #15937
Reviewed pull #15945 at its head: ticked The duty runs when the running release differs from the one its last run recorded, once, a few minutes after boot (so the process is serving), in addition to the daily tick; it stays inside its budget of 2 runs a day or the budget's reason is rewritten to say why a release adds one.; The run records the release it proved, and /api/v1/proof/daily says which.; A test: a new release id triggers exactly one run, an unchanged one none; it fails without the change.; bun test test/daily-proof.test.ts passes..
Sign in to join this conversation.
new above
offline
Intent: the duty has
intervalMs: 86_400_000, so a release that breaks sign-up or pricing is not seen until up to a day later, and "done means live and proven" is only true by luck. Run the same read-only checks once when the running version changes.Done:
Files: src/maintain/duties/daily_proof.ts, src/release/daily_proof.ts, src/http/api/daily_proof.ts, test/daily-proof.test.ts. Risks: a crash loop would re-run on every boot: key the run on the release id, not on boots. Suggested: scout.