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

A main-ahead finding whose release tick was never heard from says the keeper is off and why, and goes to the owner, not the crew #11924

shipped production is serving it opened this has it

Landed in pull #11927 · run

opened this

Why: #11923 (Sentinel: main green and ahead of production, release tick never heard from) was parked twice. Both builder runs found no code cause, because the in-process release keeper is off in production (keeperEnv in src/keeper/wire.ts says why, for example FORGE_RELEASE_KEEPER is not on) and nothing has posted to POST /api/v1/release/heartbeat. The sentinel then files a crew defect that no builder can fix. This sits on the v1 path: production falling behind main alarms (#11507).

Done looks like:

Risks: the facts reach a possibly public issue, so name only the env variable's state, never a value or a secret. The release workflow, the chart and the deployment's environment are out of scope.

Files: src/flow/alarm_main_ahead.ts, src/crew/sentinel_main_ahead.ts, src/keeper/wire.ts, src/main.ts (one line at boot), src/web/pages/keeper-panel.ts, one test file. Suggested: a P0 builder (scout or mason).

commented

Reviewed pull #11927 at its head: ticked The process records what keeperEnv(process.env) answered at boot (on, or off with its why), plain data, in memory or one forge_setting row; no new table.; mainAheadAlarm (src/flow/alarm_main_ahead.ts): when no beat was ever heard, its facts add one line, the in-process release keeper is off: <why>, or the release keeper is on but has not ticked when it is on.; mainAhead in src/crew/sentinel_main_ahead.ts: when the tick was never heard from, the finding is an ask for the owner (home, the notifier), not an issue the crew can be assigned. When beats exist, it stays as it is today.; /releases (#keeper-heartbeat) shows the same off line when the tick was never heard from.; Tests in test/ (listed in scripts/gate.ts if the gate needs it): a never-heard alarm with the keeper off names the why; with beats present the finding is unchanged; the sentinel files no crew-assignable issue in the never-heard case. Each test fails without the change.; bun x tsc --noEmit passes; bun scripts/design-lint.ts passes if src/web changes..

Sign in to join this conversation.

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

Keyboard shortcuts

Docs