ci(release): raise build heap for validation gates

This commit is contained in:
Peter Steinberger
2026-05-10 03:03:32 +01:00
parent e3e60ad7c2
commit c8d82e4535
7 changed files with 21 additions and 21 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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 }}

View File

@@ -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,
};
}

View File

@@ -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",
});
}
}

View File

@@ -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 }}",