Repository navigation
ci: retry the release and baseline lookups on network errors - #201
Merged
Merged
Conversation
The Rust Release plan on 7ae9678 failed when a crates.io lookup hit a TLS connect error (curl exit 35). The lookups now retry network errors and 408, 429, and 5xx responses three times, never a 404, and print curl's error when they give up. Amp-Thread-ID: https://ampcode.com/threads/T-01a1c6b9-fc99-73a1-bf70-e71fd484042c Co-authored-by: tmm <tmm@tmm.dev>
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.
The Rust Release "Plan release" job on 7ae9678 (#197) failed with curl exit 35, a TLS connect error, in one of its crates.io lookups (https://github.com/wevm/zero/actions/runs/43535530530/job/132263485381). The job had set its
npm,mirror, andreleaseoutputs but notcrates. The lookups rancurl -s, so one failed connection failed the job and printed nothing.The registry and GitHub API lookups in rust-release.yml and swift-release.yml, and the crates.io baseline lookup in rust.yml, now run
curl -sS --retry 3 --retry-all-errors:-Sprints curl's error.-wprints the status code once in every case. Both plan scripts, run against the live registries, set every output to false, as main expects with nothing to release.CI only; no changeset.