Skip to content
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

[Feature request] timeout, retry_attempts option for asset upload stucked #61

Open
KusakabeShi opened this issue Dec 27, 2021 · 2 comments

Comments

@KusakabeShi
Copy link

KusakabeShi commented Dec 27, 2021

There are some chance to stuck on upload assets.

In this workflow: https://github.com/KusakabeSi/EtherGuard-VPN/actions/runs/1627226628

Attempt #1
image
If this is not a public repo, it will consume all my running times.

It success in Attempt #2

Feature requests:

The compile times consumes 30 minutes, re-run all workflow is not economical.
I need timeout and retry_attempt_times option.

@KusakabeShi KusakabeShi changed the title Stuck on upload asset upload stucked Dec 27, 2021
@KusakabeShi KusakabeShi changed the title asset upload stucked Asset upload stucked Dec 27, 2021
@KusakabeShi KusakabeShi changed the title Asset upload stucked Asset upload stucked over 2 houes Dec 27, 2021
@KusakabeShi KusakabeShi changed the title Asset upload stucked over 2 houes Asset upload stucked over 2 houes, I need tomeout and retry_attempts option Dec 27, 2021
@KusakabeShi KusakabeShi changed the title Asset upload stucked over 2 houes, I need tomeout and retry_attempts option [Feature requests] timeout, retry_attempts option for asset upload stucked Dec 27, 2021
@KusakabeShi KusakabeShi changed the title [Feature requests] timeout, retry_attempts option for asset upload stucked [Feature request] timeout, retry_attempts option for asset upload stucked Dec 27, 2021
@samuelcolvin
Copy link

Thanks for the action, it's just what I wanted.

Unfortunately, when i tried to use it to on pydantic I got what appears to be a network error, see this build.

Here's the log message:

Run svenstaro/upload-release-action@v2
Error: request to https://uploads.github.com/repos/samuelcolvin/pydantic/releases/55957733/assets?name=pydantic-1.9.0a2-cp310-cp310-macosx_10_9_x86_64.whl& failed, reason: socket hang up

I'm not sure if this is the same error? And whether or not it's fixable?

samuelcolvin added a commit to pydantic/pydantic that referenced this issue Dec 29, 2021
Remove failing "upload pypi files to release" step
from deploy job, see
svenstaro/upload-release-action#61
ntaylorwss pushed a commit to nicejobinc/pydantic that referenced this issue Jun 24, 2022
Remove failing "upload pypi files to release" step
from deploy job, see
svenstaro/upload-release-action#61
@svenstaro
Copy link
Owner

We now have retrying. Does this solve your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants