Repository navigation
test(repoScope): 20s timeout for the 70-mkdir session-map test (the CI load flake) - #105
Merged
abogartz merged 1 commit intoOct 25, 2026
Conversation
The lone member of the Windows load family that keeps dying in CI: 70 synchronous mkdirs under Defender scanning measured 5.2-5.3s on windows-latest - past the 5s default, so the runner kills the test while its dangling process is still sweeping. Not a hang; the logic is fine. Other tests in the file keep the default timeout. Pre-annotated as the 4th failure by the abogartz#89 review; this is the pin.
|
🎉 This PR is included in version 0.13.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
One test-level timeout.
the session map is boundeddoes 70 synchronousmkdirSyncs; on thewindows-latestrunner under Defender that measures 5.2–5.3 s — past Bun's 5 s default — so CI reports a failure and kills the dangling test process after. Your#89review already pre-annotated this as the 4th (load-family) failure, reports-only; this is the pin you'd need to make the reports stop.The logic is not slow, the machine is: 20 s for the one heavy test, other tests in
repo-scope-session.test.tskeep the default. (Same shape asconsolidate-bench.test.tsalready uses with its180_000s.)Verification
bun test ./test/repo-scope-session.test.tsgreen on Windows (1.3.10 / 1.4.4) and Linux (1.3.10 / 1.4.4).windows-latestleg on this branch should show the test(pass)with a ~5 s runtime instead of(fail) [5200ms].If you'd rather fix it the other direction (shrink 70 mkdirs to fewer, or pre-make dirs in a
beforeAll), happy to redo — the timeout felt like the smallest honest change since the eviction bound really is 64 and the mkdirs are the point.assisted by Qwen3-flash-next