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

The v1 proof reads production's schedules with no account: one public line says the oldest overdue schedule, and the probe passes on it #12512

shipped production is serving it opened this has it

Landed in pull #12515 · run

opened this

One sentence: v1.0.0's proof script prints unproven for #11595 because /api/v1/repos/trevato/forge/schedules is 404 to a stranger; give it a public read that carries no private data.

Done:

Files: scripts/v1-proven.ts, src/http/api.ts, test/v1-proven.test.ts

Risks: telemetry/home is cached; the field must not make it uncacheable. Counts only: no owner, repo or app names leave the forge.

commented

Reviewed pull #12515 at its head: ticked GET /api/v1/telemetry/home (already public) gains one field naming how many schedules are overdue and the age in seconds of the most overdue one, and nothing about which repository or app owns them.; scripts/v1-proven.ts #11595 probe reads that field: pass when none is past its period, fail naming the age when one is, unproven only when the field is absent.; A test fails without the field (a fixture with one overdue schedule) and a test pins that no repository or app name appears.; The field is in the OpenAPI description (the route's test already fails when it is missing)..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs