setup icon indicating copy to clipboard operation
setup copied to clipboard

GitHub Actions error: `Error: fetch failed`

Open gaggle opened this issue 2 years ago • 7 comments

Got this all over my CI: Screenshot 2023-07-26 at 21 00 26

It ran successfully when I retried the job. Is there retry logic to consider adding to increase fetching resilience?

(and thanks for making this amazing project available)

gaggle avatar Jul 26 '23 19:07 gaggle

This seems like a good idea. GitHub actions seems to suffer intermittent failures of connectivity even during runs. pantry's closed issues are a testament to this.

jhheider avatar Jul 26 '23 19:07 jhheider

seems like a good plan yeah. three reties perhaps with a small sleep?

mxcl avatar Jul 26 '23 23:07 mxcl

sleep 1; sleep 3; sleep 5? probably not worth including any kind of sophisticated expo backoff tech.

jhheider avatar Jul 26 '23 23:07 jhheider

here we had a fetch hang for 2 hours:

image

mxcl avatar Jul 30 '23 14:07 mxcl

Yep. Sometimes an action step will hang for 6 hours then time out. I get github status texts most days of the week that some aspect of their infrastructure is degraded. :/

jhheider avatar Jul 30 '23 21:07 jhheider

oh so not likely because our code sucks?

mxcl avatar Jul 31 '23 14:07 mxcl

Anything is possible, of course.

jhheider avatar Jul 31 '23 14:07 jhheider

v3 is a rewrite that shouldn’t have these issues. Provided rust is more reliable in pkgx itself that is.

mxcl avatar Jan 15 '25 17:01 mxcl