From c8d82e45353f0daa22dadb63f46e416cf34ada5e Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 10 May 2026 03:03:32 +0100 Subject: [PATCH] ci(release): raise build heap for validation gates --- .github/workflows/ci.yml | 12 ++++++------ .../openclaw-live-and-e2e-checks-reusable.yml | 4 ++-- .github/workflows/openclaw-release-checks.yml | 14 +++++++------- .github/workflows/plugin-prerelease.yml | 4 ++-- scripts/openclaw-cross-os-release-checks.ts | 4 ++-- test/scripts/package-acceptance-workflow.test.ts | 2 +- test/scripts/plugin-prerelease-test-plan.test.ts | 2 +- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d78fdf46d4..2e750032ce0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -521,7 +521,7 @@ jobs: - name: Build dist env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build:ci-artifacts - name: Build Control UI @@ -604,14 +604,14 @@ jobs: if [ "$RUN_CHANNELS" = "true" ]; then start_check "channels" env \ - NODE_OPTIONS=--max-old-space-size=6144 \ + NODE_OPTIONS=--max-old-space-size=8192 \ OPENCLAW_VITEST_MAX_WORKERS=1 \ pnpm test:channels fi if [ "$RUN_CORE_SUPPORT_BOUNDARY" = "true" ]; then start_check "core-support-boundary" env \ - NODE_OPTIONS=--max-old-space-size=6144 \ + NODE_OPTIONS=--max-old-space-size=8192 \ OPENCLAW_VITEST_MAX_WORKERS=2 \ node scripts/run-vitest.mjs run --config test/vitest/vitest.full-core-support-boundary.config.ts fi @@ -1122,7 +1122,7 @@ jobs: - name: Run Node 22 compatibility env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: | pnpm build pnpm ui:build @@ -1202,7 +1202,7 @@ jobs: - name: Run Node test shard env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 OPENCLAW_NODE_TEST_CONFIGS_JSON: ${{ toJson(matrix.configs) }} OPENCLAW_NODE_TEST_INCLUDE_PATTERNS_JSON: ${{ toJson(matrix.includePatterns) }} OPENCLAW_VITEST_SHARD_NAME: ${{ matrix.shard_name }} @@ -1797,7 +1797,7 @@ jobs: runs-on: ${{ github.repository == 'openclaw/openclaw' && 'blacksmith-16vcpu-windows-2025' || 'windows-2025' }} timeout-minutes: 60 env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 # Keep total concurrency predictable on the smaller Windows runner. OPENCLAW_VITEST_MAX_WORKERS: 1 OPENCLAW_TEST_SKIP_FULL_EXTENSIONS_SHARD: 1 diff --git a/.github/workflows/openclaw-live-and-e2e-checks-reusable.yml b/.github/workflows/openclaw-live-and-e2e-checks-reusable.yml index 6af54572836..b13b5c76ae3 100644 --- a/.github/workflows/openclaw-live-and-e2e-checks-reusable.yml +++ b/.github/workflows/openclaw-live-and-e2e-checks-reusable.yml @@ -524,7 +524,7 @@ jobs: - name: Build dist for repo E2E env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Run repo E2E suite @@ -571,7 +571,7 @@ jobs: ) && (inputs.live_suite_filter == '' || inputs.live_suite_filter == matrix.suite_id) env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Configure suite-specific env diff --git a/.github/workflows/openclaw-release-checks.yml b/.github/workflows/openclaw-release-checks.yml index 1bdc868e803..9b8222b761e 100644 --- a/.github/workflows/openclaw-release-checks.yml +++ b/.github/workflows/openclaw-release-checks.yml @@ -694,7 +694,7 @@ jobs: - name: Build private QA runtime env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Run parity lane @@ -773,7 +773,7 @@ jobs: - name: Build private QA runtime env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Generate parity report @@ -826,7 +826,7 @@ jobs: - name: Build private QA runtime env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Run Matrix live lane @@ -925,7 +925,7 @@ jobs: - name: Build private QA runtime env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Run Telegram live lane @@ -1021,7 +1021,7 @@ jobs: - name: Build private QA runtime env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Run Discord live lane @@ -1117,7 +1117,7 @@ jobs: - name: Build private QA runtime env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Run WhatsApp live lane @@ -1213,7 +1213,7 @@ jobs: - name: Build private QA runtime env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 run: pnpm build - name: Run Slack live lane diff --git a/.github/workflows/plugin-prerelease.yml b/.github/workflows/plugin-prerelease.yml index 952e741ed59..b558c359c0d 100644 --- a/.github/workflows/plugin-prerelease.yml +++ b/.github/workflows/plugin-prerelease.yml @@ -270,7 +270,7 @@ jobs: - name: Run release-only plugin Node shard env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 OPENCLAW_NODE_TEST_CONFIGS_JSON: ${{ toJson(matrix.configs) }} OPENCLAW_NODE_TEST_INCLUDE_PATTERNS_JSON: ${{ toJson(matrix.includePatterns) }} OPENCLAW_VITEST_SHARD_NAME: ${{ matrix.shard_name }} @@ -340,7 +340,7 @@ jobs: - name: Run extension shard env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=8192 OPENCLAW_EXTENSION_BATCH_PARALLEL: 2 OPENCLAW_VITEST_MAX_WORKERS: 1 OPENCLAW_EXTENSION_BATCH: ${{ matrix.extensions_csv }} diff --git a/scripts/openclaw-cross-os-release-checks.ts b/scripts/openclaw-cross-os-release-checks.ts index 0bef070eab7..1dbbf21325a 100644 --- a/scripts/openclaw-cross-os-release-checks.ts +++ b/scripts/openclaw-cross-os-release-checks.ts @@ -559,7 +559,7 @@ async function prepareCandidate(params) { const buildEnv = { ...process.env, - NODE_OPTIONS: "--max-old-space-size=6144", + NODE_OPTIONS: "--max-old-space-size=8192", }; logPhase("prepare", "pnpm-install"); @@ -1448,7 +1448,7 @@ function buildInstallerEnv(lane, providerMeta, providerSecretValue) { OPENCLAW_NO_ONBOARD: "1", OPENCLAW_NO_PROMPT: "1", CI: "1", - NODE_OPTIONS: "--max-old-space-size=6144", + NODE_OPTIONS: "--max-old-space-size=8192", [providerMeta.secretEnv]: providerSecretValue, }; } diff --git a/test/scripts/package-acceptance-workflow.test.ts b/test/scripts/package-acceptance-workflow.test.ts index 10fb721cdf7..37a3297c21c 100644 --- a/test/scripts/package-acceptance-workflow.test.ts +++ b/test/scripts/package-acceptance-workflow.test.ts @@ -656,7 +656,7 @@ describe("package artifact reuse", () => { for (const step of job.steps ?? []) { if (step.run === "pnpm build") { expect(step.env, `${workflowPath}:${jobName}:${step.name}`).toMatchObject({ - NODE_OPTIONS: "--max-old-space-size=6144", + NODE_OPTIONS: "--max-old-space-size=8192", }); } } diff --git a/test/scripts/plugin-prerelease-test-plan.test.ts b/test/scripts/plugin-prerelease-test-plan.test.ts index 8eb68687175..669ad434d67 100644 --- a/test/scripts/plugin-prerelease-test-plan.test.ts +++ b/test/scripts/plugin-prerelease-test-plan.test.ts @@ -226,7 +226,7 @@ describe("scripts/lib/plugin-prerelease-test-plan.mjs", () => { expect(workflow.jobs["checks-node-extensions-shard"]).toBeUndefined(); expect(preflight.outputs).not.toHaveProperty("run_plugin_prerelease_suite"); expect(preflight.outputs).not.toHaveProperty("run_checks_node_extensions"); - expect(buildDistStep.env).toEqual({ NODE_OPTIONS: "--max-old-space-size=6144" }); + expect(buildDistStep.env).toEqual({ NODE_OPTIONS: "--max-old-space-size=8192" }); expect(staticShard).toEqual({ if: "needs.preflight.outputs.run_plugin_prerelease_static == 'true'", name: "${{ matrix.check_name }}",