fix(ci): improve build retry reliability and reduce wait time#929
Merged
fix(ci): improve build retry reliability and reduce wait time#929
Conversation
added 4 commits
February 21, 2026 08:55
- Add retry logic (nick-fields/retry@v3) to Chocolatey install step for windows-arm64, handling transient CDN 502 errors - Add `actions: write` permission to fix 403 on workflow rerun API - Reduce auto-retry wait from 1 hour to 5 minutes since the retry is mainly for transient network errors, not Apple notarization
IceyLiu
approved these changes
Feb 21, 2026
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.
Summary
nick-fields/retry@v3包装windows-arm64的 choco install 步骤,最多重试 3 次(间隔 60 秒),解决 Chocolatey CDN 502 瞬态错误actions: write权限,修复 workflow rerun API 返回 403 的问题(auto-retry 此前从未成功过)Test plan
nick-fields/retry@v3在 CDN 错误时能自动重试exit 1测试 auto-retry 权限和 5 分钟等待是否生效