Skip to content

Include extraction in the retrying for submodule download#106680

Closed
emilyalbini wants to merge 1 commit intorust-lang:masterfrom
emilyalbini:pa-retry-submodule-checkout
Closed

Include extraction in the retrying for submodule download#106680
emilyalbini wants to merge 1 commit intorust-lang:masterfrom
emilyalbini:pa-retry-submodule-checkout

Conversation

@emilyalbini
Copy link
Copy Markdown
Member

The code to download larger submodules previously used retries around the curl invocation to handle network failures, but we saw in recent build failures that failures can also happen during extraction, for example if a response got terminated early.

This commit moves the retry outwards, wrapping the whole download+extraction function in the retrying code. This means, if the extraction fails the tarball will be re-downloaded.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants