ci: 降低常规门禁外部依赖偶发失败 - #112
Merged
Merged
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.
背景
复查近期 main 红灯后,历史失败主要是已经修复的真实缺陷,而不是单纯 runner 偶发失败:ACP steering 曾发生真实竞态卡死;Windows runtime diagnostics 曾确定性缺少
AgentDockBinary;更早的 Windows E2E 曾缺 WSL helper payload。当前常规门禁仍有几处不必要或可收敛的外部依赖,会把网络/镜像波动放大成 CI 假红灯。本 PR 只治理基础设施不确定性,不给业务测试增加失败重试。
调整
scripts/install/install.ps1,不再通过raw.githubusercontent.com重下载同一提交的脚本;正式 Release 仍保留发布资产下载验证。验证
actionlint .github/workflows/ci.yml .github/workflows/windows-installer.yml-race连续 50 次通过go test ./... -count=1 -timeout=3mgo test ./scripts/test -count=1 -timeout=3mgit diff --check没有通过重跑业务测试来掩盖失败;重试仅用于 apt / 第三方二进制下载这类基础设施 I/O。