Public: anyone can read this; the crew can change it.
"the asks page > when nothing asks, it says All fine, and so does the header" passes every time on a loaded check machine #5518
Merged 39d 15h ago, live in production
I couldn't reproduce the failure here, so the cause below is a diagnosis from the code, not something I watched fail. --rerun-each 30 passes 30 of 30 on this machine, which isn't loaded. Cause.
-
Reviews
ApprovedThe cause is right: vitals() reads the real disk, and the test now pins it with the existing
diskoption, the same way test/domains.test.ts does. The option reaches the health path (src/actions/health.ts:54). It is test-only, with no product change, and no assertion is weakened. Two things I would do next: (1) pin the run-queue input the same way if a loaded machine can ever reach it; (2) share theroomyhelper between domains.test.ts and asks.test.ts instead of a second copy. -
Checks
shipped production is serving it deploy 010904c
-
History
- The asks page's All fine case reads a stubbed disk, not the check machine's e99eab5
- The OpenAPI document describes a repository's reads: branches, commits, contents, labels and milestones (#4856) 40bea36
- "a pull says its variant group and siblings > pulls sharing a group name each other; an ordinary pull has null and []" passes every time on a loaded check machine (#5374) aaff78f
- The sentinel files no crew issue for a drill cause: running a drill is a person's, not a builder's (#5370) fbcfda7
- The OpenAPI document describes changing one's password and verifying one's email (#5366) 3b167bb
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1u9vh0qxrj is past its budget: trevato/forge: "a burst of errors: the board says so, one page, no more; clear for five minutes: one Recovered, all fin… (#5137) 2b040d2
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:30jm3u45lg was degraded 61 minutes today: trevato/forge: "the merge queue > ten green pulls: a candidate carries eight, the next the other two, and the log says … (#5362) c4bfe60
- The OpenAPI document describes the admin's writes: a capacity setting, a limit and a team (#5133) 7addeed
- The OpenAPI document describes an issue's teams, labels and private repository, and a pull's labels (#5057) 2d4c142
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:36a5qcqa3a was degraded 59 minutes today: trevato/forge: "test/og-route.test.ts > og cards > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not … (#5360) 42f0f07
- MCP `repo_labels`: list, create and remove a repository's labels (#5030) 17d29f7
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:fwx1ip8abu was degraded 61 minutes today: trevato/forge: "the merge queue > after a red batch, the good pulls go back into ONE candidate up to the cap, not one g… (#5358) 8d6a488
- POST /contents commits to a protected default branch: commitToBranch skips repo.protectDefault and size caps (#5143) 7013141
- MCP `reports`: list a repository's reports from outsiders, and accept or dismiss one (#5172) 3f053f4
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2tcvuk57nu was degraded 45 minutes today: trevato/forge: "the merge queue > a gate that never answers is abandoned at the deadline, and the next sweep lands (#34… (#5357) 02fc349
- The Claude Code plugin's /forge gains `plan`: show the planner's wave and nod or redirect it (#5346) 65efa27
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:3a5ct9bycd is past its budget: trevato/forge: "test/toolbar-live.test.ts > (unnamed)" failed on 3 pulls in the last hour — the lane's red, not theirs;… (#5359) cb344e6
- The OpenAPI document describes itself, a migration job and its stream, and opening an app (#5262) 1d1f092
- docs/MCP.md describes the feed and returns tools: `feed_chips`, `next_steps`, `returns`, `thought` (#5303) 5257d6d
- docs/MCP.md describes the accounts and access tools: `access`, `account_role`, `mint_invite`, `signup`, `whoami_can` (#5294) 0f6af28
I couldn't reproduce the failure here, so the cause below is a diagnosis from the code, not something I watched fail. --rerun-each 30 passes 30 of 30 on this machine, which isn't loaded.
Cause. The asks page and the header count both include the forge's own needs. Those come from vitals(), which reads the real disk under the test's data directory. When free space there is under 10%, vitals() adds a "Disk is nearly full" ask. On a loaded check machine that makes the test see 1 ask where it expects "All fine" and 0. The cause is in the test, so no product code changed.
Change. The test in test/asks.test.ts now builds its forge with the existing disk option, which is how test/domains.test.ts pins it. The disk reads 95% free regardless of the host. Nothing the test promises is weakened. It has no longer timeouts, no retries, no sleeps and no skipped assertions. The other asks tests still pass and tsc --noEmit is clean.
Left out. The other host-dependent inputs to vitals() are the error and refused-call ledgers, which beforeEach already clears, and the run queue. This forge has no runs, so I didn't touch them. I didn't run the full check.
Try it. bun test --rerun-each 30 test/asks.test.ts -t "when nothing asks, it says All fine"
I couldn't reproduce the failure here, so the cause below is a diagnosis from the code, not something I watched fail.
--rerun-each 30passes 30 of 30 on this machine, which isn't loaded.Cause. The asks page and the header count both include the forge's own needs. Those come from
vitals(), which reads the real disk under the test's data directory. When free space there is under 10%,vitals()adds a "Disk is nearly full" ask. On a loaded check machine that makes the test see 1 ask where it expects "All fine" and 0. The cause is in the test, so no product code changed.Change. The test in
test/asks.test.tsnow builds its forge with the existingdiskoption, which is howtest/domains.test.tspins it. The disk reads 95% free regardless of the host. Nothing the test promises is weakened. It has no longer timeouts, no retries, no sleeps and no skipped assertions. The other asks tests still pass andtsc --noEmitis clean.Left out. The other host-dependent inputs to
vitals()are the error and refused-call ledgers, whichbeforeEachalready clears, and the run queue. This forge has no runs, so I didn't touch them. I didn't run the full check.Try it.
bun test --rerun-each 30 test/asks.test.ts -t "when nothing asks, it says All fine"Closes #5327