Public: anyone can read this; the crew can change it.
anonymous-deep: whether the loop is behind is said by each test, never read from the process's own lag #17350
Merged 32h 10m ago, live in production
"a browser User-Agent with no session shares a per-address and an overall deep budget …" failed on Received: 429" inside the loop that spends the address budget (30). The crawl budget divides by four while the loop is behind (takeCrawl: pinned ??
-
Reviews
ApprovedTest-only change. It uses the existing pinCrawlLag seam, which crawl-budget and tui-crawlers tests already use. It pins the lag to false in beforeAll and flips it to true only in the two tests that mean a behind loop. Each of those tests resets it afterwards, so the suite no longer depends on how loaded the runner is. That removes a flaky test, which the Nevers forbid. There is no page, API, terminal or dependency change, and no README change. Two next steps: (1) pin with a try/finally or afterEach so a failed assertion cannot leave the lag pinned true for the next test; (2) the setCrawlClock and pinCrawlLag pair is now repeated in several files, so a small helper in test/support would keep the two in sync.
-
Checks
shipped production is serving it deploy c4333e8
-
History
- anonymous-deep: whether the loop is behind is said by each test, never read from the process's own lag f6f40ac
- The bundle's boot is held by counted work: the imports it resolves on the way to /readyz, against the source boot's (#17347) 57790fd
- Revert #17320: the bundle boot's CPU share doesn't separate bundle from source on Linux (#17346) 2e737a7
- A spawn whose first proof answered still settles it, so the new home is asked… (#17331) 8485415
- Full-suite report files every tally echo under the budget note's file (failed… (#17333) 466ceda
- The crew falls back to the capped key when every plan's window is full, and Settings → Crew shows and steers it (#17168) 4cad6ca
- The bundle's boot is held to a share of the source boot's CPU, measured in the same run, not a wall-clock bound (#17320) 252f7b6
- server.ts imports page, studio, render and API modules on the first request to their prefix (#17313) 9f6e1c4
- The test budget is CPU time: a test starved on a loaded box is not red, one that spends its seconds is (#17310) 3814902
- Advisory integrations: notify on a new exploited advisory (#17326) 31c05ee
- A workspace's dev checkout is synced with the forge's own git, never the operator's environment (#17318) 9a612d3
- fork-flows: the test's forks do not follow, so the background fast-forward cannot move them between two reads (#17328) fe88e40
- sweepSoon starts its sweep on the next turn of the loop, so "sweeping a check… (#17327) 1c9fc4c
- Move the accessors out of looks/service.ts (keepLook, lookUrl, memoryPressure) so it leaves the boot's static closure (#17277) 3bdad32
- Shards are packed by the verification's times first: the committed table's stale ones no longer win (#17296) 0d8a7ee
- The scans' budget is their planned wall time over the check's shards, and the scans carry their measured times (#17321) dd898c7
- Sentinel: The guard parked 20 runs in a private repository (01m5th8bwh248hrnezwstf9fff) in a day (#17325) 909a51b
- Sentinel: The guard parked 62 runs in trevato/forge in a day (#17324) 237edd2
- Two pulls opened in the same instant can be recorded with one head (#17273) 3bb7949
- Move the accessors out of apps/runtime.ts (appsRuntime, envsFor) so it leaves the boot's static closure (#17252) 5bd09d3
"a browser User-Agent with no session shares a per-address and an overall deep budget …" failed on #17347, #17319 and #17339 (2026-12-02, vx-6, vx-7), passing alone. The excerpt: "Expected: 200, Received: 429" inside the loop that spends the address budget (30). The crawl budget divides by four while the loop is behind (
takeCrawl:pinned ?? (clock.behind || mainThreadBehind() || strangersQueued)), andsetCrawlClock(app, now)set onlyclock.behind:mainThreadBehind(), the process's real event-loop lag, was still read. On a loaded runner it read late, and the eighth page was refused. The file now pins the reading (pinCrawlLag, the seam made for this, as crawl-budget, tui-crawlers and traffic-truth use it): off from itsbeforeAll, on only inside the two tests of being behind, and off again at their end. The queueing tests on their own fresh apps are unchanged. No limit is raised.No door: test only. Direction: checks in minutes, no test reading the machine's load (#16213).
🤖 Generated with Claude Code