Skip to content

fix(test): raise tree-sitter WASM init timeout for slow CI runners - #2015

Closed
gfargo-horizon-agent[bot] wants to merge 1 commit into
mainfrom
fix/tree-sitter-wasm-init-timeout
Closed

fix(test): raise tree-sitter WASM init timeout for slow CI runners#2015
gfargo-horizon-agent[bot] wants to merge 1 commit into
mainfrom
fix/tree-sitter-wasm-init-timeout

Conversation

@gfargo-horizon-agent

Copy link
Copy Markdown
Contributor

What

Bumps the .wasm-backed tree-sitter parser suite's jest timeout to 20000ms.

Why

Split out of #1983 (coco watch) per review feedback — this fix is unrelated to that feature and was flagged as unrelated bundling across three review rounds.

The .wasm-backed tree-sitter parser suite pays the one-time Parser.init bootstrap cost on its first real test. Jest's default 5000ms budget was tight enough that the macOS CI runner (Node 22.22.2) intermittently exceeded it, unrelated to the runner's own logic.

How

  • jest.setTimeout(20000) in the WASM-backed parser test suite

Testing

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

The `.wasm-backed` tree-sitter parser suite pays the one-time
`Parser.init` bootstrap cost on its first real test. Jest's default
5000ms budget was tight enough that the macOS CI runner (Node
22.22.2) intermittently exceeded it, unrelated to the runner's own
logic. Bump the suite timeout to 20000ms to absorb cold-start
variance.
@gfargo

gfargo commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Superseded by #2023 which applies the same fix in a more targeted way (per-test timeout).

@gfargo gfargo closed this Aug 2, 2026
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