Public: anyone can read this; the crew can change it.
Main's full check is never cancelled by a landing, so main gets a verdict #16993
Check · Review · Land · Live done — Landed and live in production.
A release now waits for main's full check instead of cutting it off. That is the cause I found on production. I ran the two release-wait test files (6 tests, all pass), check-verify.test.ts and tsc; the forge's full check runs on this push.
-
Reviews
ApprovedmainCheckRunning now counts the verify and verify-bisect environments, so a release waits for main's full check instead of cutting it off. The constants are exported from checks/verify.ts, and they are fixed strings, not user text, so the SQL interpolation is safe. Both new tests exercise the real query and would fail with the old one. There is no page, route or tool change, so no door or docs are needed. The 2-hour wait cap already bounds the hold, so nothing new is added that could lock the forge.
Two things I would do next: (1) bind VERIFY_ENV and BISECT_ENV as query parameters instead of interpolating them, so the query has one style; (2) cover the case where the 2-hour cap expires during a running verify, so the release is shown to proceed anyway.
-
Checks
shipped production is serving it deploy 2b7a2cb
-
History
- The release-wait tests fail without the verification lane in the idle check (#16966) 49b8eb2
- A release waits for main's full check, not only the landing's: the verification lane is what a swap cut off (#16966) 4acdd2e
- Merge pull request #16913 from sold/game-box 1d3fb6a
- The terminal's pull screen says a queued check goes ahead of the crew's, as the pull page does (#16982) 86ae300
- One keymap (a): every key from one map, the shell and home read it, a test refuses strays (#16965) 7524834
- Main green: talk-phone shares one Chromium per file (34 s → 7.6 s, under the 20 s budget) (#16971) adc5d48
- The production-size page budgets count CPU on both sides, the unit read around the page (#16981) 4cf0ee7
- infra-says pins its two retirements to one instant, so what ended reads in name order on any machine (#16980) a9db0ee
- A fantastic component library: a living gallery, the missing parts (search picker first), a drift gate, and a cold-read UI audit (#16926) 5371f5e
- GET a repository's commits answers `{ items, next_cursor }`, and every test that reads it is updated (#16929) 73f303b
- Bridge: the room line says when the forge can't read its own forge.json; Close is 44 px at every width (#16969) 86b2cd3
- The MCP flow tool carries the warming files (src/crew/hot_history.ts warmingLine), cut to public repositories for an agent (#16957) 9a2cbac
- The owner's own pulls are checked ahead of the crew's (behind approved ones; crew checks past 20 min still go first) (#16932) 6c5b982
- Main green on Linux: the loopback-only look skips (named) under the Landlock floor instead of failing every check (#16954) 4d6a134
- Losing the runner slows the gate and never blocks a release of a fix (#16838) 6c03e80
- small: the focus ring is one shape on every button, link and input, and design-lint fails on a control that removes it (#16809) c779af6
- Games: the agent script is embedded so the bundle carries it; refusals say what is true without sending the reader elsewhere bc8d0ac
- The front page's build shows its stretches in Server-Timing on a cache miss (#16956) 190ec24
- Games: the generated source index names the games migration, marks and screen 1a57cd6
- Games in the terminal: a service's console, env and plugins, and a box's grants 5c26fbf
A release now waits for main's full check instead of cutting it off. That is the cause I found on production. I ran the two release-wait test files (6 tests, all pass), check-verify.test.ts and tsc; the forge's full check runs on this push.
Cause. Production's run log shows the full check, which runs in the verify environment. It was cancelled with "interrupted by a release; queued again" while running, at 05:27Z, and the run now in flight began at 05:49Z. mainCheckRunning in src/release/main_check_idle.ts only looked for a running check whose env is the default branch (main), so it never saw verify. Releases swapped straight through the full check.
The 7 cancelled main runs you list were still queued, never started. request.ts replaces a queued run with the newest commit, which is the coalescing you asked for. It only stops a running check when the request comes from a pull, never for main or verify.
What changed.
mainCheckRunningalso countsverifyandverify-bisect, so a release waits until the full check and any bisection step are done. The existing 2-hour cap still applies.test/main-verify-not-cancelled.test.tsruns the real queue. Averifycheck is running, two landings ask for verification, and the first run stays running. The second is cancelled as superseded and the third waits queued. The first then finishesok, and the newest tip runs after it.test/release-waits-for-main-check.test.tsgets a case forverifyandverify-bisect. Both new tests fail when the old query is put back.
Not done. I didn't change request.ts, because its existing supersession already behaves as asked. No door or look is needed, since there is no page, action, route or tool change, and the commit says so with the issue number.
Gate. scripts/gate.ts prints one similarity note, my test helper land resembling pull in checks-runner-placement.test.ts. It exits 0, so it is not a refusal.
To try it. bun test test/main-verify-not-cancelled.test.ts test/release-waits-for-main-check.test.ts. Once this lands, watch main's verify runs finish with ok or failed while pulls keep landing.
A release now waits for main's full check instead of cutting it off. That is the cause I found on production. I ran the two release-wait test files (6 tests, all pass),
check-verify.test.tsandtsc; the forge's full check runs on this push.Cause. Production's run log shows the full check, which runs in the
verifyenvironment. It wascancelledwith "interrupted by a release; queued again" while running, at 05:27Z, and the run now in flight began at 05:49Z.mainCheckRunninginsrc/release/main_check_idle.tsonly looked for a running check whose env is the default branch (main), so it never sawverify. Releases swapped straight through the full check.The 7 cancelled
mainruns you list were still queued, never started.request.tsreplaces a queued run with the newest commit, which is the coalescing you asked for. It only stops a running check when the request comes from a pull, never for main orverify.What changed.
mainCheckRunningalso countsverifyandverify-bisect, so a release waits until the full check and any bisection step are done. The existing 2-hour cap still applies.test/main-verify-not-cancelled.test.tsruns the real queue. Averifycheck is running, two landings ask for verification, and the first run stays running. The second is cancelled as superseded and the third waits queued. The first then finishesok, and the newest tip runs after it.test/release-waits-for-main-check.test.tsgets a case forverifyandverify-bisect. Both new tests fail when the old query is put back.Not done. I didn't change
request.ts, because its existing supersession already behaves as asked. No door or look is needed, since there is no page, action, route or tool change, and the commit says so with the issue number.Gate.
scripts/gate.tsprints one similarity note, my test helperlandresemblingpullinchecks-runner-placement.test.ts. It exits 0, so it is not a refusal.To try it.
bun test test/main-verify-not-cancelled.test.ts test/release-waits-for-main-check.test.ts. Once this lands, watch main'sverifyruns finish with ok or failed while pulls keep landing.Closes #16966