-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
keygen upload
sporadically fails
#28
Comments
You're not the only one. I've experienced the same, as have other users. It's rare, but it happens, and more often with large files or on slow connections. Adding better retry logic to the CLI would be beneficial since this seems to be a failure on Cloudflare R2's end, and it seems to be a known issue. How large are the files you're uploading? |
Gotcha - my files are ~30MB. |
Okay, so pretty small. Likely due to connection issues in Actions, or a transient issue on R2's end. Regardless, retries for artifact uploads to the storage provider can probably be implemented pretty painlessly with https://github.com/hashicorp/go-retryablehttp. Open to a PR? |
Yup, I'll take a stab at it in the next couple of days. |
Does this happen more often on certain Action runners than others? e.g. on a macOS runner. |
I'm not sure, I have this running on both a macOS and Windows runner. It's only happened to me a few times in total - I think on both, but for sure on macOS. |
Thanks for the info. Recently had a couple other reports of upload failures on the macOS runner, so wanted to check. Hopefully the retry logic will work around it. Will reach out to the GitHub team, regardless. |
Somewhat randomly,
keygen upload
fails. I'm running in a github action, which usually succeeds, but will sporadically fail.Could there be retry logic here or should I just implement this within the action?
The text was updated successfully, but these errors were encountered: