Files
OmniRoute/.github/workflows
Prudhvi Vuda 71f80ae1a5 fix(ci): use webpack fallback for Node 26 compat build to stop OOM (#8611)
The `compat-build-26` job in nightly-compat.yml is the only place in the CI
matrix that runs `npm run build` on Node 26 (ci.yml pins CI_NODE_VERSION=24).
It failed every nightly with the runner-reclaimed signature ("The runner has
received a shutdown signal" / "The operation was canceled", no exit code),
always at the same Turbopack compile phase — the classic OOM-kill pattern on
the memory-constrained ubuntu-latest runner.

Root cause: Turbopack's native (Rust, off-V8-heap) allocation is not bounded by
--max-old-space-size and peaks far higher than webpack on OmniRoute's large
module graph (#6409), heavier still under Node 26. Raising the heap does not
help — the codebase's own documented escape hatch for RAM-constrained
environments is the webpack fallback (OMNIROUTE_USE_TURBOPACK=0; see
docs/reference/ENVIRONMENT.md and scripts/build/build-next-isolated.mjs).

Wire that fallback into the Node 26 compat build: it still validates the app
builds on Node 26 (the point of the job) at a much lower memory peak.
Turbopack-on-Node-24 stays covered by ci.yml's build job.

Adds a regression guard (tests/unit/nightly-compat-node26-webpack-8090.test.ts)
asserting the job keeps the webpack fallback so it cannot silently regress.

Class 1 of the triage (shard test failures) was already resolved by #8390,
#8386, #8381, #8383.

Closes #8090
Refs #6949 #6409
2026-07-27 19:07:47 -03:00
..
2026-06-20 07:09:43 -03:00
2026-06-20 07:09:43 -03:00
2026-07-27 17:24:35 -03:00
2026-07-27 17:24:35 -03:00
2026-06-06 19:13:11 -03:00
2026-06-29 08:40:06 -03:00
2026-07-27 17:24:35 -03:00