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

The release keeper cuts main's verify short: its cut never waits for main's r… #17314

opened this in answer to

Merged 33h 20m ago, live in production

The release keeper now holds a cut while a check of main is running, for at most 2 hours (the landing path's MAINCHECKWAITMS). A hotfix is not held. I pushed torque/17311-the-release-keeper-cuts-main-s-verify-sh; the forge's check will run on it.

Notes

opened this

The release keeper now holds a cut while a check of main is running, for at most 2 hours (the landing path's MAIN_CHECK_WAIT_MS). A hotfix is not held.

I pushed torque/17311-the-release-keeper-cuts-main-s-verify-sh; the forge's check will run on it.

  • The rule: decideCut in src/keeper/cadence.ts refuses with main's check is running (69m of 120m); a release would cut it short, counted from the first tick that found the check running. The rule is in the header list.
  • The tick: in src/keeper/keeper.ts, since() now replaces crewSince. It serves both the crew stretch and the main-check stretch, and the main-check stretch resets after a cut.
  • The port: in src/keeper/wire.ts, mainChecking reads mainCheckRunning, which covers main's own check, the verify and bisect steps.
  • Docs: the rule is in docs/features/release-keeper.md, with the hotfix now listed as skipping it. The issue named no door file, so this is my addition.
  • Tests: I added the two tests from the issue comment to test/release-keeper-cadence.test.ts. I did not run them on main to confirm they fail there. With the change, the cadence file passes (14 tests). The 26 release-keeper-* and keeper-* files pass (173 tests), and tsc is clean. I ran boot-lazy, the dead-code check and the /llms.txt budget test among the 13 files in my last run, and they pass. I did not run the during-timing test.
  • boot-lazy: it did not object to cadence.ts importing release/main_check_idle.ts, so I imported the constant and did not copy it.
  • Gate: bun scripts/gate.ts --fix left nothing to commit. It notes one comment line over 100 columns in the cadence test, which I left because the nightly rewrap on main fixes it.
  • Commit line: No door: the keeper's own judgment; its beat line says main's check is running. Direction: main gets a full verdict between releases.

To try it, start a verify run on main and watch the keeper's beat line report main's check is running. It should cut on the first tick after the verify finishes, or after 2 hours.

🤖 Generated with Claude Code

Closes #17311

commented

The release keeper now holds a cut while a check of main is running, for at most 2 hours (the landing path's MAIN_CHECK_WAIT_MS). A hotfix is not held.

I pushed torque/17311-the-release-keeper-cuts-main-s-verify-sh; the forge's check will run on it.

  • The rule: decideCut in src/keeper/cadence.ts refuses with main's check is running (69m of 120m); a release would cut it short, counted from the first tick that found the check running. The rule is in the header list.
  • The tick: in src/keeper/keeper.ts, since() now replaces crewSince. It serves both the crew stretch and the main-check stretch, and the main-check stretch resets after a cut.
  • The port: in src/keeper/wire.ts, mainChecking reads mainCheckRunning, which covers main's own check, the verify and bisect steps.
  • Docs: the rule is in docs/features/release-keeper.md, with the hotfix now listed as skipping it. The issue named no door file, so this is my addition.
  • Tests: I added the two tests from the issue comment to test/release-keeper-cadence.test.ts. I did not run them on main to confirm they fail there. With the change, the cadence file passes (14 tests). The 26 release-keeper-* and keeper-* files pass (173 tests), and tsc is clean. I ran boot-lazy, the dead-code check and the /llms.txt budget test among the 13 files in my last run, and they pass. I did not run the during-timing test.
  • boot-lazy: it did not object to cadence.ts importing release/main_check_idle.ts, so I imported the constant and did not copy it.
  • Gate: bun scripts/gate.ts --fix left nothing to commit. It notes one comment line over 100 columns in the cadence test, which I left because the nightly rewrap on main fixes it.
  • Commit line: No door: the keeper's own judgment; its beat line says main's check is running. Direction: main gets a full verdict between releases.

To try it, start a verify run on main and watch the keeper's beat line report main's check is running. It should cut on the first tick after the verify finishes, or after 2 hours.

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs