Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: retry on version curl #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix: retry on version curl #54

wants to merge 1 commit into from

Conversation

joseph-sentry
Copy link

we do retry-all-errors as an attempt to catch exit code 56 errors

Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.14%. Comparing base (67fb8c0) to head (ab62811).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   97.14%   97.14%           
=======================================
  Files           2        2           
  Lines          35       35           
=======================================
  Hits           34       34           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Collaborator

@thomasrockhu-codecov thomasrockhu-codecov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please run ./install.sh locally so that it also creates the dist file

we do retry-all-errors as an attempt to catch exit code 56 errors
@@ -42,11 +42,12 @@ else
codecov_url="$codecov_url/${CODECOV_VERSION}"
codecov_url="$codecov_url/${CODECOV_OS}/${codecov_filename}"
say "$g ->$x Downloading $b${codecov_url}$x"
curl -O --retry 5 --retry-delay 2 "$codecov_url"
r="--retry 5 --retry-delay 2"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can probably pull this into set_defaults and use it in validate.sh also.

I would also name it something a little longer, r, might be used in a user's env vars already perhaps

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.

None yet

2 participants