arm-none-eabi-gcc
arm-none-eabi-gcc copied to clipboard
github actions occasionally fail due to stalls/timout
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:

my branch (unknown if solves issue):

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.