The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ci): raise node heap for frontend lane on ex63
Steven Enamakel25763d4c410c
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex d171de2c7a..f03ee94f26 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -847,12 +847,23 @@ test("private frontend tools have an explicit 4 GiB Node heap while hosted keepsconst frontend = plan.lanes.find((lane) => lane.name === "frontend");if (plan.profile === "ex63") {assert.equal(frontend.env.NODE_OPTIONS, "--max-old-space-size=4096");- const probe = spawnSync(process.execPath, ["-e", "console.log(require('node:v8').getHeapStatistics().heap_size_limit)"], {- env: { ...process.env, NODE_OPTIONS: frontend.env.NODE_OPTIONS }, encoding: "utf8",- });+ const probe = spawnSync(+ process.execPath,+ [+ "-e",+ "console.log(require('node:v8').getHeapStatistics().heap_size_limit)",+ ],+ {+ env: { ...process.env, NODE_OPTIONS: frontend.env.NODE_OPTIONS },+ encoding: "utf8",+ },+ );assert.equal(probe.status, 0, probe.stderr);const limit = Number(probe.stdout.trim());- assert.ok(limit >= 4096 * 1024 * 1024 && limit < 4352 * 1024 * 1024, `actual V8 heap limit ${limit}`);+ assert.ok(+ limit >= 4096 * 1024 * 1024 && limit < 4352 * 1024 * 1024,+ `actual V8 heap limit ${limit}`,+ );} else {assert.equal(frontend.env.NODE_OPTIONS, undefined);}diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjsindex a4927c570a..d30d7bbf41 100644--- a/scripts/ci/self-hosted/lanes-plan.mjs+++ b/scripts/ci/self-hosted/lanes-plan.mjs@@ -274,7 +274,12 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {},{name: "frontend",- env: { NODE_ENV: "test" },+ env: {+ NODE_ENV: "test",+ // ESLint exhausts Node's default ~2 GiB heap on the private guest.+ // Lanes are sequential, so this budget does not overlap Rust builds.+ ...(ex63 ? { NODE_OPTIONS: "--max-old-space-size=4096" } : {}),+ },checks: [{name: "pnpm-install",