Skip to content

ci: Zuno workflow 改回 GitHub 托管 runner - #288

Merged
sunerpy merged 2 commits into
mainfrom
codex/ci-github-hosted
Oct 5, 2026
Merged

sunerpy merged 2 commits into
mainfrom
codex/ci-github-hosted

Conversation

@sunerpy

@sunerpy sunerpy commented Oct 5, 2026

Copy link
Copy Markdown
Owner

背景

#287(同步 Codex 0.160.0)合并后,zuno-release.yml 的自动晋升在 Verify candidate provenance attestations 这一步失败(run 37253502873),zuno-v0.160.0 既没打 tag 也没发布。

根因:晋升用 gh attestation verify --deny-self-hosted-runners 校验封存产物,而 9-24 把 CI 迁到 CodeBuild 托管 runner(#283)后,GitHub 在签名证书里把这些 runner 记为 runnerEnvironment: self-hosted,所以迁移后的每一次晋升都必然在这一步失败。#287 是迁移后的第一次晋升。本机用该 run 产出的单文件版复现过:带这个参数校验失败,去掉就通过。

仓库现在是公开的,GitHub 托管 runner 免费,所以改回 GitHub 托管 runner,校验参数保持不变。

改动

合并后

这个 PR 用 merge commit 合并后,用 workflow_dispatch 晋升 zuno-v0.160.0,使用的是本 PR 在 GitHub 托管 runner 上封存的候选产物。工作区版本仍是 0.160.0,只是 main 比 #287 多了这次 CI 改动。

AWS 里的 CodeBuild 资源(三个项目、webhook、us-west-2 的 Mac fleet zuno-macos,后者按预留容量持续计费)这里没有动,是否回收另行确认。

本地验证

check_zuno_update_boundaries.py、test_zuno_upstream.py、test_zuno_rebrand.py、codex_package 单测、py_compile、actionlint(三个 zuno workflow)均通过。

🤖 Generated with Claude Code

Release Fixture Maintainer added 2 commits October 5, 2026 10:13
仓库已公开,GitHub 托管 runner 对公开仓库免费。CodeBuild runner 在 GitHub 的
attestation 里记为 self-hosted,而 zuno-release.yml 用
gh attestation verify --deny-self-hosted-runners 校验封存产物,迁移后的第一次
晋升(#287,zuno-v0.160.0)因此在 "Verify candidate provenance attestations"
失败。

- 撤回 #283 的五个 CodeBuild 迁移提交:门禁、晋升、巡检恢复
  ubuntu-24.04 / ubuntu-24.04-arm / macos-15-intel / macos-15 / windows-2025 /
  windows-11-arm,六个目标全部原生构建并执行冒烟
- 保留 --deny-self-hosted-runners;边界检查改为拒绝 codebuild-/self-hosted
  标签,并要求三处 attestation 校验都带该参数
- FORK_DELTA、README、ZUNO_ARCHITECTURE 回到公开 runner 的描述
0.156.1 时 static 在 4 vCPU 托管 runner 上用了 52 分钟、Intel macOS 打包用了 155 分钟,0.160.0 的代码量更大,60/180 分钟的上限没有余量。static 放到 120 分钟、打包放到 300 分钟(托管 runner 上限 360)。
@sunerpy
sunerpy merged commit 3c08ca6 into main Oct 5, 2026
19 of 21 checks passed
@sunerpy
sunerpy deleted the codex/ci-github-hosted branch October 5, 2026 08:20
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