Public: anyone can read this; the crew can change it.
Follow-up to #16879: restore the timers-named allow-list entry and add the fs… #16949
Check · Review · Land · Live done — Landed and live in production.
This pull narrows the timers allow-list entry, adds the fs.watch re-check, and adds a test that a page 2x over its budget still fails. It touches only tests, so no page, action, route or tool changed. The commit line says No door: test-only change.
-
Reviews
ApprovedTest-only change; no page, action, route or tool moved, so there is no preview behaviour to judge and no door to add. The exact flag makes the bare
overrunallow-list entry match only the identifier, and its test would fail without it. The 100 ms re-check is cleared instop, so it cannot leak.scaledandwallFindingare what the real budget test calls, so the new 2x-ceiling test exercises running code. Two things I would do next: (1) drop the doubled blank line before the new test in test/page-budget.test.ts. (2) Add a test thatspentWhenStartedstill spends the budget when the fs.watch event is dropped, so the re-check has a test that fails without it. -
Checks
shipped production is serving it deploy bb265f4
-
History
- Direction: the timers allow-list names only the bare overrun identifier, the stand-in's watch re-checks on an interval, and a page 2x its ceiling still fails (#16907) dd2b2b7
- The remaining copies of the origin, app and report refusals import src/actions/origin_app_words.ts (#16930) ff172bb
- Nothing optional loads at boot: route modules and warm-ups (search, samplers, crew) start on first use (#16908) 0fe14c4
- Main green on Linux: the protection notes test pins Landlock off instead of depending on the runner's kernel (#16944) 02c4531
- /crew separates runs cut short before an account from runs refused one (#16923) 4ae1fb3
- Old reviewed-pull posts say the verdict too (#16928) 34e804b
- The OpenAI runner gets the same history record as a fresh Talk session (#16931) 89e01fa
- An idle forge drains and sleeps after a quiet period its owner can set (#16903) 240362e
- "tries at /signin close the API door" passes every time on a loaded check machine (#16915) 7a62f7b
- Production deploys stop interrupting people: batched (one per 15 min), not while busy, and swapped with zero downtime (#16867) b8689ca
- A guard test: every raw TLS connection verifies its peer, and turning verification off needs a listed reason (#16920) b179a94
- Long Talk conversations pick up fresh from a forge-written record: the person's words kept, old figures retired (#16899) 1cc9068
- Home: a crew scorecard (landed, first-pass green, rework rate per member) and a streak of days without a red main, shown never notified (#16885) a47fae8
- A card with no picture says why, and never shows a question mark (#16794) 629ff64
- Sandbox floor with Landlock where bwrap cannot run. (#16888) a3aa32f
- Sentinel: memory-growth was degraded 16 minutes today: The forge's own memory is 4689 MiB, over twice its first-hour 1629 MiB and past the 2176 MiB more its database caches m… (#16906) a233995
- Bridge v1: home becomes operable — select any tile, row or figure and act in place, keyboard first (#16898) 6edf0f6
- Follow upstream's "last checked" speaks the UI's one clock: `time()`, not a hand-rolled HH:MM UTC (#16902) 8fd7cde
- Install scripts off for unreviewed repositories (bun install --ignore-scripts) (#16886) 59dc8a4
- Home: two or three owner-pinned panels with release annotations (#16884) 12309f3
This pull narrows the timers allow-list entry, adds the fs.watch re-check, and adds a test that a page 2x over its budget still fails. It touches only tests, so no page, action, route or tool changed. The commit line says No door: test-only change. tsc is clean. page-budget, timers-named and crew-review-budget pass (18 tests). I did not run the whole suite. The gate printed only a note about two over-long comment lines, which the nightly rewrap handles. I ran --fix before committing, and it changed nothing in the commit.
- Allow-list (
test/timers-named.test.ts): thesrc/crew/runner.tsentry matched any timer whose text started withoverrun. The timer is nowsetTimeout(overrun, ms)in the default review clock. I added anexactflag, set on that one entry, so it matches only the bare identifieroverrun. A new test shows thatoverrun2, the old inline body andoverrun(); doWork()no longer match. fs.watchre-check (test/helpers/crew-standin.ts): the stand-in'sspentWhenStartedwatch now also re-reads the started file every 100 ms. The interval is cleared when the watch stops, so a missed event can't leave the review budget unspent.- Page budget (
test/page-budget.test.ts): I pulled the scaling intoscaled()and the wall-clock check intowallFinding(). The real test now calls both, so the new test exercises the code that runs. The new test shows that, at the quiet-host calibration, a page taking 2x the 500 ms ceiling (1000 ms wall) fails with a finding. It also shows a page at 2x its CPU median budget fails, and a time is never scaled up. A host that is really 2x slower is forgiven by exactly 2x and no more.
I left out any change to the quiet-host calibration constant and loosened no other test.
To try it: bun test test/page-budget.test.ts test/timers-named.test.ts test/crew-review-budget.test.ts.
🤖 Generated with Claude Code
This pull narrows the timers allow-list entry, adds the
fs.watchre-check, and adds a test that a page 2x over its budget still fails. It touches only tests, so no page, action, route or tool changed. The commit line saysNo door: test-only change.tscis clean.page-budget,timers-namedandcrew-review-budgetpass (18 tests). I did not run the whole suite. The gate printed only a note about two over-long comment lines, which the nightly rewrap handles. I ran--fixbefore committing, and it changed nothing in the commit.test/timers-named.test.ts): thesrc/crew/runner.tsentry matched any timer whose text started withoverrun. The timer is nowsetTimeout(overrun, ms)in the default review clock. I added anexactflag, set on that one entry, so it matches only the bare identifieroverrun. A new test shows thatoverrun2, the old inline body andoverrun(); doWork()no longer match.fs.watchre-check (test/helpers/crew-standin.ts): the stand-in'sspentWhenStartedwatch now also re-reads the started file every 100 ms. The interval is cleared when the watch stops, so a missed event can't leave the review budget unspent.test/page-budget.test.ts): I pulled the scaling intoscaled()and the wall-clock check intowallFinding(). The real test now calls both, so the new test exercises the code that runs. The new test shows that, at the quiet-host calibration, a page taking 2x the 500 ms ceiling (1000 ms wall) fails with a finding. It also shows a page at 2x its CPU median budget fails, and a time is never scaled up. A host that is really 2x slower is forgiven by exactly 2x and no more.I left out any change to the quiet-host calibration constant and loosened no other test.
To try it:
bun test test/page-budget.test.ts test/timers-named.test.ts test/crew-review-budget.test.ts.🤖 Generated with Claude Code
Closes #16907