-
Notifications
You must be signed in to change notification settings - Fork 105
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
CI step "Set toolchain version" is flaky due to network timeouts #295
Comments
Hello @joshlf, I'm interested in implementing the retry logic. Additionally, is the |
Awesome, thanks! If I had to make a recommendation, I'd suggest starting with the caching approach; I suspect it's the one that's most likely to be successful. But it may turn out that there's no good way to cache these artifacts across runs of the build. As for |
Sure, I'll try to cache it. |
Hi @joshlf, I tested the cache on my forked repository, and it worked. However, it doesn't seem to be functioning correctly on this main repository. |
How so? |
I reviewed the logs of the action job, which initially indicated that the cache was not found. Subsequently, an attempt to save it failed due to the cache's preexisting existence. This failure appears to stem from a delay in GitHub's cache write-back process. |
Huh interesting. Does the current version of the PR work despite that issue, or is that a bug we need to fix first before the PR is ready to merge? |
I have addressed this in the pull request. 😄 |
Update: #296 doesn't seem to have done the trick. A few more possible approaches:
Old text
Over the past few weeks, most full CI runs (currently 149 jobs) have had at least one failure due to Cargo failing to download a package even after 3 retries (the default value for the
net.retry
configuration option). Hopefully increasing the number of retries will make this less common.Note that this was previously encountered in #225. #289 made the errors more obvious, but didn't make them any less common.
The text was updated successfully, but these errors were encountered: