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。

chore(ci): keep migration workflow unchanged

tiammomo33e3235fa4ea
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a150a4a5ea..3c267f5c9a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -97,40 +97,6 @@ jobs:
- name: Run test runner self-tests
run: pnpm test:runner
- # 默认 unit tier 会排除 migration 测试,而 CI 的常规安装也会跳过 Electron
- # 二进制。只有相关路径变化时才补下载锁定 runtime,强制跑真实 .asar 复制回归。
- - name: Run Electron ASAR migration regression
- if: ${{ github.event_name == 'pull_request' }}
- env:
- CINDY_REQUIRE_ELECTRON_RUNTIME_TEST: '1'
- ELECTRON_OVERRIDE_DIST_PATH: ''
- ELECTRON_SKIP_BINARY_DOWNLOAD: ''
- PR_BASE_SHA: ${{ github.event.pull_request.base.sha }}
- run: |
- if git diff --quiet "$PR_BASE_SHA"...HEAD -- \
- .github/workflows/ci.yml \
- package.json \
- pnpm-lock.yaml \
- apps/desktop/package.json \
- apps/desktop/vite.main.config.ts \
- apps/desktop/vitest.config.ts \
- apps/desktop/src/main/legacyUserDataMigration.ts \
- apps/desktop/src/main/__tests__/legacyUserDataMigration.test.ts; then
- echo "Electron ASAR migration paths unchanged; skipping runtime regression."
- exit 0
- fi
- node node_modules/electron/install.js
- pnpm --filter desktop exec vitest run src/main/__tests__/legacyUserDataMigration.test.ts
-
- # XDT_SKIP_AGENT_BIN_INSTALL 跳过了 postinstall 的全部 agent 二进制,但
- # runtime-configs.ts 模块顶层的 bundledRipgrepDir() 缺 rg 时直接 throw,
- # 会让 apps/desktop 单测在收集阶段全挂——ripgrep 必须单独装回来。
- # install:ripgrep 不带 --best-effort,不受上面的 skip 环境变量影响。
- - name: Install bundled ripgrep
- env:
- GITHUB_TOKEN: ${{ github.token }}
- run: pnpm install:ripgrep
-
- name: Check endpoint literals
run: pnpm check:endpoints