Later: The open box from #11794: the alarm on production behind main (#11507) is live without it, so it waits behind v1.0.0.
From #11794's open box. One small module, src/keeper/heartbeat.ts, keeps the last 50 ticks in one table (one migration) with time, outcome (cut, skipped or failed) and a reason in plain words. Plain data in, plain data out, the clock passed in. Reuse the table that the landed POST /api/v1/release/heartbeat writes, if it already has one. Done: a test shows the 51st tick drops the oldest.
Later: The open box from #11794: the alarm on production behind main (#11507) is live without it, so it waits behind v1.0.0.
From #11794's open box. One small module,
src/keeper/heartbeat.ts, keeps the last 50 ticks in one table (one migration) with time, outcome (cut,skippedorfailed) and a reason in plain words. Plain data in, plain data out, the clock passed in. Reuse the table that the landed POST /api/v1/release/heartbeat writes, if it already has one. Done: a test shows the 51st tick drops the oldest.