Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

ci: verify 的 Typecheck desktop 步骤 heap 提升到 8GB (#1403)

Chris Zhangca09428adc00
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b85b5d4fc6..e3b36a44e0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,7 +18,10 @@ env:
XDT_SKIP_AGENT_BIN_INSTALL: '1'
ELECTRON_SKIP_BINARY_DOWNLOAD: '1'
ELECTRON_OVERRIDE_DIST_PATH: '${{ github.workspace }}/.electron-stub-dist'
- NODE_OPTIONS: '--max-old-space-size=4096'
+ # 8192: desktop tsc 全量 typecheck 峰值内存随仓体增长已突破 4GB(2026-08-02 起
+ # 所有 PR 的 verify 在 Typecheck desktop 步骤稳定 OOM,含纯 mobile 改动);
+ # 公开仓 ubuntu-latest runner 内存 16GB,8GB heap 安全。
+ NODE_OPTIONS: '--max-old-space-size=8192'
jobs:
verify: