Skip to content

ci: stop CI/CD failures from surfacing only on main and production - #525

Merged
harryisfish merged 4 commits into
mainfrom
fix/cicd-remediation
Nov 10, 2026
Merged

harryisfish merged 4 commits into
mainfrom
fix/cicd-remediation

Conversation

@harryisfish

@harryisfish harryisfish commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

问题

最近一批 Actions 运行暴露三个结构性问题:

  • main 定时 CI 因 Nightly 凭证缺失持续失败,掩盖真实回归。
  • 产品发版失败后 Release 永久停在 BUILDING,没有失败标记。
  • 部署的主机激活步骤只在正式部署时运行,问题只能在生产主机上首次发现。

改动

  • Nightly 默认开启:先检查 NIGHTLY_RELEASE_TOKEN 再装工具链,文档改为已授权默认开启。Nightly 不部署。
  • 发版失败且尚无 release.json 时,release-failed 把 BUILDING 标记替换为 FAILED;重跑失败 job 后 finalize 仍写回完成说明,完整重跑先恢复为 BUILDING。
  • 部署 node 时(含 apply=false),先在 runner 上按 deploy/README.md 初始化 fixture 数据目录,用只替换 public-bootstrap.json 的同一镜像演练全新安装、交接和重复激活,再激活主机。

不含:delivery-live 时长、iOS e2e 稳定性(#472)、已存在的 Release。

验证

  • daily-nightly.py --self-test、test_progressive_publication.py、check-release-workflow.py --self-test、deploy-run.py self-test、actionlint 通过。
  • ci.py --self-test 的 gate 自测通过;其中 release_privacy_test 需要 Linux 打包,本地 macOS 无法运行。
  • 分支上 deploy-services 以 apply=false 验证 node / v0.0.1-nightly.20261110.1:演练回执 activated、activated、already_active,主机激活跳过。

外部依赖

仓库需配置 NIGHTLY_RELEASE_TOKEN(单仓库 fine-grained PAT:Contents、Pull requests、Actions)。

状态

待审查,合并需负责人授权。负责人 @harryisfish。

harryisfish and others added 3 commits November 10, 2026 14:12
… first

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g the host

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@harryisfish
harryisfish deployed to vibeface-validation November 10, 2026 06:17 — with GitHub Actions Active
@harryisfish
harryisfish marked this pull request as ready for review November 10, 2026 06:21
…mandatory

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@harryisfish
harryisfish deployed to vibeface-validation November 10, 2026 06:32 — with GitHub Actions Active
@harryisfish
harryisfish merged commit d74dd05 into main Nov 10, 2026
2 checks passed
@harryisfish
harryisfish deleted the fix/cicd-remediation branch November 10, 2026 06:34

This branch was successfully deployed

1 active deployment
vibeface-validation — eadb6db2 Deployed Nov 10, 2026 by harryisfish via containers (node) #21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant