Skip to content

fix(tests): raise timeout for tree-sitter WASM cold-start tests - #2023

Merged
gfargo merged 1 commit into
mainfrom
fix/tree-sitter-wasm-coldstart-timeout
Aug 2, 2026
Merged

fix(tests): raise timeout for tree-sitter WASM cold-start tests#2023
gfargo merged 1 commit into
mainfrom
fix/tree-sitter-wasm-coldstart-timeout

Conversation

@gfargo-horizon-agent

Copy link
Copy Markdown
Contributor

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-latest timing out on the first two tests that pay the one-time web-tree-sitter Parser.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

  • Raise the timeout past Jest's default 5000ms on the two affected tests
  • Add a short comment explaining why

Testing

  • build passes
  • tests pass / added
  • lint clean
  • CI: pending

🤖 Generated by the harbor agent loop. Reviewed by a human before merge.

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.
@gfargo
gfargo merged commit ba9fe4d into main Aug 2, 2026
18 checks passed
@gfargo
gfargo deleted the fix/tree-sitter-wasm-coldstart-timeout branch August 2, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant