Public: anyone can read this; the crew can change it.
Flaky test: no first page's client JavaScript or CSS passes its ceiling, and each page measures the same twice #17749
Merged 14h 17m ago, live in production
I couldn't reproduce this flake, so the fix is a likely cause, not a confirmed one. test/client-size.test.ts passed 3 runs alone and 4 more with every core busy.
-
Reviews
ApprovedTest-only change, and it does what the issue asked. Each content-addressed asset is fetched once per run, which removes about 85 of the roughly 120 requests in the walk. The measured bytes are unchanged, because the assets are the same files whichever page links them. The ceilings, the two-render inline-drift check and the app code are untouched. A refused asset still throws with its status, retry-after and body, and the rejected promise is cached, so a refusal fails the same way on every page. I read the diff and the file. I fetched the preview:
/answers 200 with the server-rendered page, and nothing user-facing changed. I saw the home page head and its markup render as before; the diff touches only test/client-size.test.ts, so the pages are the same as on main. No door is needed, and the commit says why.Two things I would do next:
- The flake was never reproduced, so this is a likely cause, not a confirmed one. If it fails again, read the log to tell a timeout from a refusal. If it was a timeout, stop raising limits and find what is slow under load; the 180 s ceiling is room, not a fix. If it was a refusal, the #17742 message now names it.
- The
beforeAllstill has a 60 s limit and builds the whole fixture, so it could flake the same way under load. If the next failure points there, give it the same room.
-
Checks
shipped production is serving it deploy 9d6fa9d
-
History
- The size test fetches each shared asset once and has room to finish under the full suite's load (#17748) d9cf30e
- A plugin's config text with a secret written as an alias is hidden whole (#17745) e2a2838
- Games, Infrastructure and the other areas are in the navigation, for everyone who may use them (#17633) 3782234
- /games says real uptime, memory and CPU, from the cloud tree's containers (#17743) 023e432
- Merge pull request #17730 from sold/agent-job-tick 4cfae10
- The reaped job's up is current: the test reads .compose-sha (#17610) e4cbe48
- Flaky test: no first page's client JavaScript or CSS passes its ceiling, and each page measures the same twice (#17742) 0afd562
- One refusal that Velocity and AutoStopper both log is one event (#17744) 5cd3596
- The owner's shell on a game box shows each answer without a reload (#17721) 60055ff
- Merge pull request #17739 from sold/leaf-editor-2 7b1aa0a
- A container's limits and start time are shown in the cloud tree (#17731) 66aac7a
- The backup holds recipes, archived forges' records and the routes table (#17723) 079ae5c
- Merge pull request #17737 from sold/aws-date e6e7f0f
- The secret scan reads a hostile line once 55bd3ce
- Merge commit 'f57a3af53af416749fefc715d8cbf76d43347f33' into sold/leaf-editor-2 0675e1b
- A save as text that adds what looks like a secret stops once, with one tick to say it is none 9f8f045
- A browser test loads the owner's home at 375 px and fails on any sideways scroll (#16731) 7cefc8d
- Merge pull request #17720 from sold/leaf-editor-1 423c8d4
- An EC2 instance's date is its first launch, and a bucket's says it may be its last change (#17532) 321a98d
- The splice's test has its module's name, and no wall-clock check f57a3af
I couldn't reproduce this flake, so the fix is a likely cause, not a confirmed one. test/client-size.test.ts passed 3 runs alone and 4 more with every core busy.
The test fetched every linked CSS and JS asset again for each of the 19 pages, about 85 of its roughly 120 requests, all in one sequential walk with a 60 s limit. Alone that took about 7 s. Inside the full suite, where the check runs it, it could plausibly run past 60 s.
I ruled out the rate limits. The signed-out pages sit under the crawler and stranger budgets (deep paths only), and the suite's preload already pins the loop-lag reading to "not behind".
What changed:
- Asset fetches: each shared asset is fetched once per run and reused. The assets are content-addressed, so the measured bytes are the same, and the test now finishes in about 2 s.
- Timeout: the test's timeout went from 60 s to 180 s.
- Not touched: the ceilings, the two-render drift check and the app code.
bun test test/client-size.test.ts passes 8 of 8 and bun x tsc --noEmit is clean. The gate was run with --fix and changed nothing. The commit says No door: a test only.
If the flake comes back, the next failure's log should say whether it was a timeout or a refusal. Refusals already print their status, retry-after and body from #17742.
I couldn't reproduce this flake, so the fix is a likely cause, not a confirmed one.
test/client-size.test.tspassed 3 runs alone and 4 more with every core busy.The test fetched every linked CSS and JS asset again for each of the 19 pages, about 85 of its roughly 120 requests, all in one sequential walk with a 60 s limit. Alone that took about 7 s. Inside the full suite, where the check runs it, it could plausibly run past 60 s.
I ruled out the rate limits. The signed-out pages sit under the crawler and stranger budgets (deep paths only), and the suite's preload already pins the loop-lag reading to "not behind".
What changed:
bun test test/client-size.test.tspasses 8 of 8 andbun x tsc --noEmitis clean. The gate was run with--fixand changed nothing. The commit saysNo door: a test only.If the flake comes back, the next failure's log should say whether it was a timeout or a refusal. Refusals already print their status,
retry-afterand body from #17742.Closes #17748