arm-none-eabi-gcc icon indicating copy to clipboard operation
arm-none-eabi-gcc copied to clipboard

github actions occasionally fail due to stalls/timout

Open nerdCopter opened this issue 4 years ago • 1 comments

On occasion github actions builds fail while waiting for a failed arm-sdk download, but does not retry, nor timeout in a timely manner.

I've not done this type of coding before, but after brief searching, i used a pre-made package @vercel/fetch-retry (https://github.com/vercel/fetch-retry). My initial idea was to add a retry and timeout, but found the pre-existing package, so i attempted to implement it.

What do you think of this: https://github.com/fiam/arm-none-eabi-gcc/compare/master...emuflight:retry_timeout ? It did not fail, but i'm yet to discover if it provides the expected retries/timeout. i'm certain you would have better insight.

example failure 1+ hours: image

my branch (unknown if solves issue): image

nerdCopter avatar Dec 10 '20 21:12 nerdCopter

i had not noticed some new retry logic here: https://github.com/fiam/arm-none-eabi-gcc/commit/abeabe73714f61c325d323a4247787efcdafe906 my retry_timeout may be defunct/obsolete.

nerdCopter avatar May 02 '21 20:05 nerdCopter