fix(ci): add retry logic to ORAS/bsdiff downloads and upgrade ORAS#741
Merged
fix(ci): add retry logic to ORAS/bsdiff downloads and upgrade ORAS#741
Conversation
) The generate-patches and publish-nightly jobs failed with curl exit code 22 (HTTP 4xx) due to a transient GitHub CDN issue when downloading ORAS CLI. - Add --retry 3 --retry-delay 5 --retry-all-errors to all curl downloads (--retry-all-errors is required because -f makes HTTP errors non-retryable) - Upgrade ORAS from v1.2.3 to v1.3.1 (SHA-256 verified) - Remove publish-nightly from ci-status gate since it is infrastructure, not code quality — its failures are still visible in the Actions tab Closes #733
Contributor
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
Bug Fixes 🐛Init
Resolve
Upgrade
Other
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
Contributor
Codecov Results 📊✅ 134 passed | Total: 134 | Pass Rate: 100% | Execution Time: 0ms 📊 Comparison with Base Branch
✨ No test changes detected All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 1632 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
- Coverage 95.27% 95.26% -0.01%
==========================================
Files 234 234 —
Lines 34386 34442 +56
Branches 0 0 —
==========================================
+ Hits 32761 32810 +49
- Misses 1625 1632 +7
- Partials 0 0 —Generated by Codecov Action |
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
Fixes #733 — the
generate-patchesandpublish-nightlyjobs failed due to a transient GitHub CDN error when downloading the ORAS CLI binary (curl exit code 22 = HTTP 4xx with-fflag).--retry 3 --retry-delay 5 --retry-all-errorsto all 3 curl download commands (ORAS x2, zig-bsdiff x1). The--retry-all-errorsflag is essential because curl's-fflag makes HTTP errors non-retryable by default.publish-nightlyfrom theci-statusgate — it's infrastructure (GHCR push), not code quality. Its status remains visible in the Actions tab.