chore(ci): CI 校验迁本地(check-local),删 pipeline ci.yml #8

Merged
wangjia merged 1 commits from chore/ci-to-local into main 2026-08-01 03:36:16 +00:00
Owner

mac-pangolin-2 runner 不稳导致 ci.yml 重 job 频繁整体超时(run 233/236 复现)。CI 校验迁到本地 ci/check-local.sh(dev mac 原生跑),删 pipeline ci.yml;部署流水线保留。详见 commit b255fdf。

mac-pangolin-2 runner 不稳导致 ci.yml 重 job 频繁整体超时(run 233/236 复现)。CI 校验迁到本地 ci/check-local.sh(dev mac 原生跑),删 pipeline ci.yml;部署流水线保留。详见 commit b255fdf。
wangjia added 1 commit 2026-08-01 02:21:29 +00:00
ci.yml 跑在自建 gitea 的 mac-pangolin-2 runner 上,该 runner 不稳:重 job
(go/flutter/golden/integration/e2e)频繁整体超时/失败(run 233、236 复现:所有
runs-on=mac 的 job 全挂、runs-on=ubuntu 的 nas 快扫描全过,证明是 mac runner
掉线而非代码)。既然开发就在 mac 上、原生工具齐全,把校验迁回本地。

- 新增 ci/check-local.sh:与 ci.yml 各 job 一一对应,dev mac 原生跑(仅 golden
  因 Linux 权威基线走 docker)。分档:默认=静态闸+go build/test+flutter analyze/test
  (各带覆盖率闸 Go30%/Flutter28%);--full 加 golden/go-integration/e2e;
  --only <名> 单跑;--list 列项。缺工具标 SKIP 不算失败。shellcheck-clean。
- 删 .gitea/workflows/ci.yml(部署流水线 deploy-server/client/site 保留,发版
  仍过 go test)。
- .githooks/pre-commit:秒级快闸不变,指引改指 ci/check-local.sh(原指 CI)。
- CLAUDE.md CI/CD 段重写 + ds-flow 闸表「CI」触发点改「check-local」。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A79VtQA1BwTuQN1ThpvYpo
wangjia marked the pull request as ready for review 2026-08-01 03:36:09 +00:00
wangjia merged commit b255fdfb4e into main 2026-08-01 03:36:16 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangjia/pangolin#8