-
Notifications
You must be signed in to change notification settings - Fork 15
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
Regression in v4.2+ #61
Comments
Thank you @kongsgard 👑 That is strange as v4.2.1 was released because of transient network errors like Are you on GitHub Enterprise? Is that step running on a custom runner or GitHub managed? Please provide a full execution log, masking the bare minimum like renaming project names and assets filenames. |
I'm on GitHub Team, I believe. No custom runner involved.
|
I have a similar problem. The log of the failed release is here:
I first had this problem back in October and now it's happening again. I'm no Go expert, but I think the code tries to upload all assets in parallel: could it be that having 7 assets in tens-of-MB range is too much to upload in parallel? |
That is a good point to mention too - the assets I'm uploading are about 200-300 MB in size. |
I was able to recreate the initial error The Here you may see an example of the API server failover simulation because of a storage failure. First there is an error, then the server is unavailable and finally, it's up again after a reboot:
However, in my implementation, the asset was successfully uploaded on its third attempt, while the actual API throws the following error: Gladly, I found the following notice on GitHub Docs:
(It might be helpful to inspect assets of an incomplete release) This makes me think that the retry mechanism is working correctly and what we observe here are transient network issues. Nevertheless, git-release might recover from the
As per your question regarding the size of the assets (GitHub Docs):
|
There are two HTTP codes that should result in an asset deletion attempt and retry: |
This should be fixed at v4.2.2, but as you understand it is impossible to simulate during the development process, so please re-open the ticket if you still see this problem. In case not, it would be very helpful to see a log of git-release recovery from a network issue. Thanks @kongsgard, @rgriebl for raising this. 👑 |
Just FYI: I just created a new release and it worked perfectly fine this time: |
Description
Thanks for providing such a useful action!
There seems to be a regression introduced in v4.2.0, as the action does not work for this version or v4.2.1. I get the following output:
This is retried four times.
The release is added, but the assets are not uploaded.
If I revert to v.4.1.2, the action works as intended.
This is for a private repository.
Tag
v4.2.0 and v4.2.1
Workflow
(This is added after a build job.)
The text was updated successfully, but these errors were encountered: