Repository navigation
ci: retry downloads in build tooling - #10750
Merged
Merged
Conversation
CI jobs keep failing when a GitHub release download hiccups. The curl downloads and helm dependency update now retry a few times, and the Gateway API CRD download fails on HTTP errors instead of saving the error page as the CRD file. Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com> Signed-off-by: Huabing (Robin) Zhao <huabing@tetrate.io>
✅ Deploy Preview for cerulean-figolla-1f9435 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Retry timeouts, 408, 429, 5xx and refused connections instead of every error, as curl's docs recommend, and keep curl's exponential backoff. A permanent failure like a 404 now fails right away. Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com> Signed-off-by: Huabing (Robin) Zhao <huabing@tetrate.io>
zhaohuabing
marked this pull request as ready for review
December 1, 2026 09:39
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The shellcheck download keeps failing in CI with only "Error 22", which hides the HTTP status. Show curl's error so the log says what GitHub returned. Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com> Signed-off-by: Huabing (Robin) Zhao <huabing@tetrate.io>
The shellcheck download failed in CI with an HTTP error curl doesn't treat as transient, so it wasn't retried even though the asset exists. Retry all errors again, keeping curl's exponential backoff. Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com> Signed-off-by: Huabing (Robin) Zhao <huabing@tetrate.io>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10750 +/- ##
=======================================
Coverage 82.84% 82.84%
=======================================
Files 279 279
Lines 44665 44665
=======================================
+ Hits 37003 37004 +1
+ Misses 7661 7660 -1
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
zirain
approved these changes
Dec 1, 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.
CI jobs fail when a download from GitHub releases hiccups, for example the shellcheck download in this lint job: https://github.com/envoyproxy/gateway/actions/runs/46616905836/job/142536270057
It's not limited to lint. Most of the e2e, conformance and benchmark jobs in this run on #10337 failed during setup for the same reason, either on a Helm chart download or on a Gateway API CRD file that was saved from an error page: https://github.com/envoyproxy/gateway/actions/runs/46589905663
This adds retries to the downloads in the build tooling.