Skip to content

ci: retry downloads in build tooling - #10750

Merged
zhaohuabing merged 4 commits into
envoyproxy:mainfrom
zhaohuabing:ci-download-retries
Dec 1, 2026
Merged

zhaohuabing merged 4 commits into
envoyproxy:mainfrom
zhaohuabing:ci-download-retries

Conversation

@zhaohuabing

@zhaohuabing zhaohuabing commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

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.

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>
@netlify

netlify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cerulean-figolla-1f9435 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d0ca17b
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/6b0e988e087ede240bdbf185
😎 Deploy Preview https://deploy-preview-10750--cerulean-figolla-1f9435.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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
zhaohuabing marked this pull request as ready for review December 1, 2026 09:39
@zhaohuabing
zhaohuabing requested a review from a team as a code owner December 1, 2026 09:39
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T09:53:21.523424Z d0ca17b New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.84%. Comparing base (95ad2bd) to head (d0ca17b).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zhaohuabing
zhaohuabing merged commit 14b50dc into envoyproxy:main Dec 1, 2026
89 of 91 checks passed
@zhaohuabing
zhaohuabing deleted the ci-download-retries branch December 1, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants