ci: remove native macOS/Windows CI jobs and Darwin signature verification - #741
Open
sczheng189 wants to merge 1 commit into
Open
ci: remove native macOS/Windows CI jobs and Darwin signature verification#741sczheng189 wants to merge 1 commit into
sczheng189 wants to merge 1 commit into
Conversation
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.
需求与目标
移除 CI 中所有 macOS/Windows 相关的 runner 与检查,全部保障统一收敛到 Linux runner:
非目标:不改变发布产物矩阵、安装脚本、Homebrew/npm 回流。
实现摘要
ci.yml
test-darwin、test-windows、coverage-darwin、coverage-windows、test-cross-platform五个 job;lint中platform_sensitive分类逻辑,简化test/coverage汇总 job(九个必需 context 名称不变)。release.yml
verify-darwin-signaturesjob(macos-latest 上的codesign --verify);publish-release与release-delivery-gate的 needs/条件/require_result 同步调整;rcodesign 签名步骤保留。配套同步
scripts/release/verify-delivered-stable.sh、verify-release-workflow-delivery.sh:交付/恢复校验不再要求该 job;test/scripts/三个测试文件的 workflow 契约断言同步更新,删除TestReleaseWorkflowUsesAppleCodesignBeforePublication;scripts/policy/run-platform-coverage-gate.sh与 Makefilecoverage-gate-platform目标;docs/ci-pr-gates.md同步改写平台边界描述。CHANGELOG
未添加条目:纯 CI/发布基础设施调整,无 CLI 用户可见行为变化。
配置与环境
macOS arm64(darwin 25.3.0),Go 见 go.mod,
DWS_PACKAGE_VERSION=0.0.0-test。验证清单
go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12DWS_PACKAGE_VERSION=0.0.0-test go test -count=1 ./test/scripts/git grep -iE 'verify-darwin-signatures|platform_sensitive|coverage-gate-platform|Verify Apple Developer ID'gofmt -l test/scripts/风险与回滚
codesign独立复核(rcodesign 签名仍在,且历史上从未在该 job 失败过)。