Repository navigation
test(trae): give the shared-file case a budget the loaded runner has time for - #2108
Merged
jeff-r2026 merged 1 commit intoNov 27, 2026
Merged
Conversation
…time for The Windows job runs the whole file list in parallel, and this case writes and re-reads both editions' skills trees while that happens. It passes alone in under a second and timed out at 15 s in the suite, taking 5646 -> 5647 passing cases with it. The budget is the test's, not the code's.
jeff-r2026
approved these changes
Nov 27, 2026
Contributor
Author
|
Merged - thanks @jeff-r2026. For the record on why it was worth the budget rather than a rewrite: the case passes alone in under a second and only timed out under the full parallel Windows run, so the work it does is fine and the 15 s default was the wrong ceiling for it. The remaining failure in that job is |
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 Windows CI job (
vitest.windows.config.ts) runs every file in its list in parallel, andtrae.test.ts's shared-file case writes and re-reads both editions' skills trees while that happens. It passes alone in well under a second:and in the suite it hits the 15 s default:
That single timeout is the only thing standing between the job and a green run here, and the case itself is not slow - the machine it shares with 52 other files is.
Change
An explicit budget on the case, as the fleet-fence tests already do:
Test-side only; no behaviour changes. If the maintainers would rather shrink the case (it does a lot of filesystem setup) than raise the limit, that is a fine alternative - say so and I will rework it instead.
Verification
npx vitest run --config vitest.windows.config.ts-> 5648 passed, 1 failed, 5 skipped, twice in a row; before the change it was 5646 passed, 3 failed with this case timing out each run.fleet-fence.test.ts, which is the subject of test: give the two slow Windows cases a budget their work needs #2016 and red onmainhere for the same reason (a 15 s budget on a case that does more work than 15 s of a loaded runner allows).oxlint --type-aware --deny-warnings src/__tests__/trae.test.tsclean.