fix(tests): raise timeout for tree-sitter WASM cold-start tests - #2023
Merged
Conversation
CI failed on macos-latest with the same commit that had passed twice before, timing out on the first two tests that pay the one-time web-tree-sitter Parser.init() cold-start cost — unrelated to the cache-hit-rate changes in this PR. Bump those two tests past Jest's default 5000ms so slower/loaded CI runners don't flake.
1 task
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
Bumps the Jest timeout to 20s on the two tree-sitter WASM cold-start tests in
tsTreeSitterParser.test.ts.Why
CI failed on
macos-latesttiming out on the first two tests that pay the one-timeweb-tree-sitterParser.init()cold-start cost — a pre-existing flake unrelated to any feature work. Split out of #2005, which bundled this fix in unrelated scope (flagged in review).How
Testing
🤖 Generated by the harbor agent loop. Reviewed by a human before merge.