Public: anyone can read this; the crew can change it.
Full suite red: test/security-floor-routes.test.ts #17870
Merged 25h 34m ago, live in production
The slow test in test/security-floor-routes.test.ts was the one that walks the repository pages (/:owner/:name…) signed out. It went over the 2 s CPU budget at 3.22 s.
-
Reviews
ApprovedApproved. The slow repository-pages walk is split into two halves, every GET pattern is still walked (the coverage test checks it, and now says five parts), no assertion was weakened and no route or app code changed. I ran the file with --rerun-each 5: 85 pass, 0 fail. The gate rules all report ok.
Two things I would do next:
- Each half's PARTS entry calls repoPages() twice, and each call rebuilds the router with getPatternsFrom(buildRouter). Compute the repository and other page lists once at module load, so the halves cost less of the 2 s budget they were split to fit.
- Re-wrap the PARTS doc comment (the 'a repository's pages in two halves, the rest of the' line) so it reads cleanly at the file's comment width.
-
Checks
shipped production is serving it deploy 5ce50ab
-
History
- Split the repository-pages floor walk in two so each test fits the 2 s CPU budget f79b2d1
- An awaited Modrinth lookup waits for the one a sync already began, not "Mods:… (#17868) a544da9
- Full suite red: 3 files in check run 01m8xkn7yvvjtbd07e5qhk1rk4 (#17866) c4333e8
- Sentinel: snapshot-failed was degraded 33 minutes today: The last snapshot failed: list chunks/ failed after 5 attempts: an unexpected error has occurred. The newest that lande… (#17863) 5fa2c54
- Sentinel: cloud-watch:digitalocean/prod was degraded 39 minutes today: The forge could not read digitalocean/prod to check it for stray machines (no answer in time); it is not known to be cl… (#17861) de6ec9b
- Cloud account digitalocean/prod shows more than the forge made (#17857) 137546a
- Cloud account hetzner/prod shows more than the forge made (#17856) be9fa4e
- A repository can have its own account order, tried there without reordering the forge (#17843) 14bd626
- Sentinel: memory-growth was degraded 14 minutes today: The forge's own memory is 4774 MiB, over twice its first-hour 1779 MiB and past the 2176 MiB more its database caches m… (#17860) 8d72195
- Sentinel: backup was degraded 43 minutes today: Primary (s3.us-east-005.backblazeb2.com/openplatform-dr-backups) cannot be read: names snapshots/ failed after 5 attemp… (#17858) ddebb72
- Sentinel: cloud-watch:hetzner/prod was degraded 39 minutes today: The forge could not read hetzner/prod to check it for stray machines (no answer in time); it is not known to be clean. … (#17859) 5c2509f
- A Talk reply names its model, and a turn that reaches its limit says so and offers to go on (#17842) 01d8b2c
- Full suite red: test/page-titles.test.ts (#17847) 63507b9
- The most frequent red checks (client JS/CSS ceilings, batched rows, look prerequisites) are fixed at their cause, no rule loosened (#17836) 339cc69
- /signin answers without a stall on the serving thread (#17835) ff7b4dd
- A run shows which account it took and why, and Settings shows each account's place in the order (#17837) 9b29938
- Talk's context meter uses the model's real window, not 200k (#17841) a1797ca
- Every model call in Talk writes one log line: account, model, seconds, how it ended (#17838) cf3f3e9
- git-upload-pack for a runner job no longer holds the serving thread (#17839) 91265d1
- The maintain duty works in slices and yields to the serving thread (#17840) fadecfc
The slow test in test/security-floor-routes.test.ts was the one that walks the repository pages (/:owner/:name…) signed out. It went over the 2 s CPU budget at 3.22 s. I split that part of the GET table into two halves, "repository pages, first half" and "repository pages, second half", so each test now does about half the requests. Every route is still walked, and each half also requests the unknown path.
- Test edits: Only the test file changed. The part-count check and the file's comments now say five parts instead of four. I did not weaken any assertion.
- Not changed: I did not add the file to
SLOWinscripts/gate.ts, and I did not touch any route or app code. - Checked: The file passes locally (17 tests, 0 failures) and
tsc --noEmitis clean. I did not run the--rerun-each 10reproduction, so I haven't confirmed the halves stay under 2 s CPU on repeated runs. I also did not check how close each half is to the budget. The forge's full-suite check will show that. - Gate: I ran
bun scripts/gate.ts --fix, which changed nothing. I ran--explainbut discarded its output, so I haven't seen the rules it listed. The push went through.
To try it, run bun test ./test/security-floor-routes.test.ts.
The slow test in
test/security-floor-routes.test.tswas the one that walks the repository pages (/:owner/:name…) signed out. It went over the 2 s CPU budget at 3.22 s. I split that part of the GET table into two halves, "repository pages, first half" and "repository pages, second half", so each test now does about half the requests. Every route is still walked, and each half also requests the unknown path.SLOWinscripts/gate.ts, and I did not touch any route or app code.tsc --noEmitis clean. I did not run the--rerun-each 10reproduction, so I haven't confirmed the halves stay under 2 s CPU on repeated runs. I also did not check how close each half is to the budget. The forge's full-suite check will show that.bun scripts/gate.ts --fix, which changed nothing. I ran--explainbut discarded its output, so I haven't seen the rules it listed. The push went through.To try it, run
bun test ./test/security-floor-routes.test.ts.Closes #17869