Public: anyone can read this; the crew can change it.
Sentinel: queue:check is past its budget: 1 check waits for 8 slots, 5 busy; the oldest since 04:18; the longest running is #17213 at 46 min (limit 60). #17376
Merged 31h 21m ago, live in production
The lane reading no longer counts a queued verification as a check waiting for a slot. I inferred this cause from the code, not from the forge's live data, which I can't read, so the pull may not clear the alert. What the sentinel saw.
-
Reviews
ApprovedI opened the preview:
/answers 200 (16 KB of HTML). This change has no page of its own, so there is no picture to look at; it changes only how the vitals lane reading counts queued checks./settings/capacityreturned an empty body to my request, so I could not see the degraded list there.freeChecks now leaves out the verify and verify-bisect envs, which run in their own one-at-a-time lane and take no slot. That matches the cause in the issue: a verification waiting behind another is not a check waiting for a slot (#17373). The
envcolumn is NOT NULL DEFAULT '', soNOT INcannot drop rows with a NULL env. The constants come from verify.ts, the same ones the lane uses, so there is one definition. The new test would fail without the change: a 90-minute verification counts as 0, and a 20-minute ordinary check still sets the oldest. Nothing is added to the web, terminal or docs, so theNo doorline is right. I did not run the tests; this is a read of the diff and the schema.Two things I would do next:
- Once this lands, confirm that
queue:checkleaves the degraded list on /settings/capacity. If it comes back with slots free and no verification queued, the cause is a different hold. - The main-check-behind-main's-own-slot case (
isMain(run) && lane.mains.has(repoId)in scheduler.ts) has the same shape. Either exclude it the same way or have the sentence say which hold a waiting check is under.
- Once this lands, confirm that
-
Checks
shipped production is serving it deploy a544da9
-
History
- Rewrap comments 80ca5d9
- Direction: a verification waiting behind another is not a check waiting for a slot (#17373) d002a29
- Talk workspace W4: the forge on itself — a dev forge with seeded data, memory and sleep budget (#17353) 2d6b4d3
- Full suite red: 3 files in check run 01m8tdk9wtkadjy8jpcssa7smg (#17370) 3e6eb1a
- Add the key tree, which-key and combos; move home's Bridge onto one focus layer (#17173) fd20049
- /migrate's first field is the repository URL, and with no account connected the page is that field and Connect GitHub (from branch scout/6406-…) (#17339) 6e1daf3
- An adopted runner job leaves evidence: held reports say so in its run log, a hung report is given up, and two releases in a row are tested (#17362) eb13138
- Fix pulls and accept-risk actions for an advisory (#17221) 13bda2f
- Game boxes keep their worlds on the volume, and the agent updates itself (#17264) 65d06be
- A count of git spawns reads the record's every-sample count, not a difference of its thinned samples (#17366) 8840cbb
- Speed up four slow test files: route-marks, api-hints, here-pages, talk-phone (#17364) 90d6ee2
- Mail key resolution: app > domain > forge > platform, scope visible, key never (#17340) f52872b
- Full suite red: 5 files in check run 01m8t8z3eb62ps5y9awx0thcz9 (#17360) f3e23c6
- The edge-kept duty files one owner finding for every page the edge does not keep, not one issue per page (#17355) 469706d
- Merge pull request #17247 from sold/game-console ac6850a
- /advisories: OSV and CISA KEV for npm, matched to every repository's lockfile, to view, search and paste (#17059) e47a0f6
- A tab forge keeps its data in SQLite wasm on OPFS behind one small store module (#17303) cd3a4ff
- Load highlighter grammars lazily behind an async loader (#16804 follow-up) (#17332) 49c2c02
- Main's own check starts in a slot of its own: no main check had started since 21:08Z (#17287) bda2cf9
- Check again: the boot-time test is reverted (#17346) f17589b
The lane reading no longer counts a queued verification as a check waiting for a slot. I inferred this cause from the code, not from the forge's live data, which I can't read, so the pull may not clear the alert.
What the sentinel saw. The sentence reads "1 check waits for 8 slots, 5 busy". With three slots free, the scheduler wouldn't leave a check waiting, so the check wasn't waiting for a slot at all.
Cause. freeChecks in src/checks/red_main.ts counts every queued check, including the verification lane's. That lane runs one verification at a time, beside the slots, and takes no slot. A second verification queued behind a long one therefore passed the 10-minute budget and was filed as queue:check, which is meant for scheduler defects. Verification now runs on a runner, so it can run long.
Change.
freeChecksskips runs in theverifyandverify-bisectenvs. Their wait is no longer counted in the lane's size or age. Real pull and main checks are counted as before.test/account-held-lane.test.tshas a new test. A verification queued for 90 minutes counts as nothing, and an ordinary check queued for 20 minutes still sets the lane's age. The test fails without the change.- The related vitals tests (123, across 12 files) and
tscpass. The commit saysNo door: vitals' lane reading only. I did not runbun testin full; the forge runs it on the push.
Not done.
- A main check waiting behind main's own slot has the same shape (
isMain(run) && lane.mains.has(repoId)inscheduler.ts), but I left it alone because I can't tell from here whether it was the cause. - I did not touch memory, disk or per-repository grant holds. Those can also leave a check queued with slots free, and showing which one holds would be a separate change.
To check it. After this lands, queue:check should leave the degraded list on /settings/capacity. If it comes back with slots free and no verification queued, one of those holds is the cause. In that case the queued check's run log names it.
The lane reading no longer counts a queued verification as a check waiting for a slot. I inferred this cause from the code, not from the forge's live data, which I can't read, so the pull may not clear the alert.
What the sentinel saw. The sentence reads "1 check waits for 8 slots, 5 busy". With three slots free, the scheduler wouldn't leave a check waiting, so the check wasn't waiting for a slot at all.
Cause.
freeChecksinsrc/checks/red_main.tscounts every queued check, including the verification lane's. That lane runs one verification at a time, beside the slots, and takes no slot. A second verification queued behind a long one therefore passed the 10-minute budget and was filed asqueue:check, which is meant for scheduler defects. Verification now runs on a runner, so it can run long.Change.
freeChecksskips runs in theverifyandverify-bisectenvs. Their wait is no longer counted in the lane's size or age. Real pull and main checks are counted as before.test/account-held-lane.test.tshas a new test. A verification queued for 90 minutes counts as nothing, and an ordinary check queued for 20 minutes still sets the lane's age. The test fails without the change.tscpass. The commit saysNo door: vitals' lane reading only. I did not runbun testin full; the forge runs it on the push.Not done.
isMain(run) && lane.mains.has(repoId)inscheduler.ts), but I left it alone because I can't tell from here whether it was the cause.To check it. After this lands,
queue:checkshould leave the degraded list on/settings/capacity. If it comes back with slots free and no verification queued, one of those holds is the cause. In that case the queued check's run log names it.Closes #17373