Repository navigation
ci: Zuno workflow 改回 GitHub 托管 runner - #288
Merged
Merged
Conversation
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)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
#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,校验参数保持不变。
改动
ubuntu-24.04、ubuntu-24.04-arm、macos-15-intel、macos-15、windows-2025、windows-11-arm。六个目标全部原生构建并执行冒烟,不再有交叉构建只做布局校验的那条腿。集成:上游同步免人工化、ACP 规范对齐、企业级 Agent 设计基线 #282/ci(upstream): 巡检每轮校验 ZUNO_UPSTREAM_SYNC_TOKEN #284 及之后的功能改动不受影响。--deny-self-hosted-runners。scripts/check_zuno_update_boundaries.py改为拒绝codebuild-/self-hosted标签,并要求三处 attestation 校验都带这个参数(已做负向验证)。合并后
这个 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