From 0619ce62b6311f207946ec32dda643ea8ff9d176 Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Fri, 26 Jun 2026 23:38:53 +0800 Subject: [PATCH] ci: raise Node heap ceiling for type-aware ESLint lint step Type-aware ESLint loads every package tsconfig through the project service and peaks at ~3.4GB RSS. The default V8 old-space ceiling (~2GB) OOMs it (FATAL ERROR: Ineffective mark-compacts near heap limit, exit 134) on both node 24 and 26. Set NODE_OPTIONS with an 8GB ceiling for the Lint step, comfortably above the peak. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f164e3c4c4..9064a38cea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,8 +39,13 @@ jobs: - name: Typecheck (src + tests + examples) run: pnpm run typecheck + # Type-aware ESLint loads every package tsconfig through the project + # service and peaks at ~3.4GB; the default V8 old-space ceiling (~2GB) + # OOMs it (exit 134). Raise the ceiling well above the peak. - name: Lint run: pnpm run lint + env: + NODE_OPTIONS: --max-old-space-size=8192 # Doc-sync gates (doc-sync-enforcement RFC). doc-typecheck compiles the # fenced ts blocks against the root project-reference graph. The cordis