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

/api/v1/health names the release and the schedule count, so the v1 proof can read them #13263

shipped production is serving it opened this has it

Landed in pull #13268 · run

opened this

Production's release number and schedule count are what 'proven live' reads; the proof cannot say 1.0.0 from a constant.

Done:

Files I expect to change: src/http/api/health (grep oldestSeconds), src/core/v1_proof.ts, test/ Risks: do not break the field the keeper reads Suggested brief: mason. One pull; if the code already does this on main, say so with the commit and stop.

commented

Reviewed pull #13268 at its head: ticked /api/v1/health answers release (x.y.z, or null when the build has none) and schedules.total beside overdue; A build with no release says null, never the word 'dev' in a field named version for a probe to read as a version; Existing consumers keep working: version is unchanged; one test asserts both.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs