Files
teamai-cli/.github
Saul Moro 5fb316c7b8 fix(code-knowledge): keep tree-sitter grammars off V8's optimizing Wasm tier on Node 24 (#860) (#861)
On Node 24, V8's Turboshaft Wasm compiler exhausts its Zone memory while
tiering up tree-sitter grammar code and aborts the process with "Fatal
process out of memory: Zone" (nodejs/node#63421). The Swift grammar added
in #842 hits it right after its first parse, so `teamai codebase --extract`
on a repo with .swift files died with exit 133 and no fallback.

Set --wasm-tier-up-filter to an index no grammar has before the WASM
runtime starts, on Node 24 and later only. --liftoff-only has the same
effect but Node 24 ignores it when set at runtime. Node 20 and 22 keep
tier-up, which parses about 1.6x faster there.

Add Node 24 to the CI matrix so the regression test runs where it can fail.

Closes #860
Refs #842
2026-09-28 10:46:07 +08:00
..