From 3e6101c1c3545dfd708516b87db82ee83a8993c0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Mar 2026 13:00:11 +0000 Subject: [PATCH 1/2] Initial plan From 2846035a591542b3a8af7d1e977303be925a8c34 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Mar 2026 13:03:29 +0000 Subject: [PATCH 2/2] fix: add NODE_OPTIONS and --concurrency=2 to Vercel build to prevent OOM Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com> --- apps/console/vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/console/vercel.json b/apps/console/vercel.json index 0cc3ddb22..a536473c2 100644 --- a/apps/console/vercel.json +++ b/apps/console/vercel.json @@ -1,7 +1,7 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", "installCommand": "cd ../.. && pnpm install --frozen-lockfile", - "buildCommand": "cd ../.. && pnpm turbo run build --filter=@object-ui/console^... && cd apps/console && VITE_BASE_PATH=/ pnpm build:vercel", + "buildCommand": "cd ../.. && NODE_OPTIONS=--max-old-space-size=4096 pnpm turbo run build --filter=@object-ui/console^... --concurrency=2 && cd apps/console && NODE_OPTIONS=--max-old-space-size=4096 VITE_BASE_PATH=/ pnpm build:vercel", "outputDirectory": "dist", "framework": "vite", "rewrites": [