Repository navigation
fix(sandbox): give the queue-cap eviction test the time CI needs - #4969
Merged
Merged
Conversation
The test fills the whole 10,000-waiter line on purpose, a few seconds of work on a fast laptop and more than five on a CI runner, so it hit bun's 5-second default whenever its result was not replayed from Turbo's cache: #4963's runs failed on it twice. It now has thirty seconds, as the file's other heavy tests have limits of their own.
yannickmonney
enabled auto-merge
October 13, 2026 21:02
yannickmonney
added this pull request to the merge queue
Oct 13, 2026
yannickmonney
added a commit
that referenced
this pull request
Oct 13, 2026
The checks ran against a main whose sandbox queue-cap test timed out on CI runners; #4969 gave it room, and a re-run would test the old merge.
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.
the first-come line for host room > queue-cap eviction invalidates an in-flight waiter generation(added with #4169) fills the sandbox's whole 10,000-waiter line on purpose. That takes a few seconds on a fast laptop and more than five on a GitHub runner, so the test hits bun's default 5-second timeout whenever it actually runs. Main stays green only because Turbo replays@tale/sandbox#testfrom its cache. #4963's runs missed the cache and failed on it twice ("this test timed out after 5000ms", jobs 115505534847 and 115531184522).This gives the test an explicit 30-second limit. The file's other heavy tests already have limits of their own (10, 15 and 20 seconds).
bun test src/session/session-routes.test.ts(services/sandbox): 327 pass, 0 fail, 9.8 s for the file on a laptop.