Please summarize your feature request
Potential new auto-retry-attempts argument?
Describe the functionality you're seeking in more detail
Hi! I just added the swiftly-action to my GitHub actions for building Linux. I like it a lot!
I seem to be getting some flaky connections when trying to download the Swiftly tool or a Swift toolchain. About one out of every 200 attempts seem to fail with some kind of connection error:
Error: stream ended at an unexpected time
curl: (56) Recv failure: Connection reset by peer
Error: HTTPClientError.readTimeout
I'm not sure there's anything that can be done inside swiftly-action to fix these errors from happening… but could we possibly add support for auto-retry? Could we assume that certain errors should lead to another connection attempt?
I'm currently passing a toolchain configuration variable to swiftly-action. Would the best way to support auto-retry be a new configuration argument? Something like auto-retry-attempts?
Have you considered any alternatives?
No response
Please summarize your feature request
Potential new
auto-retry-attemptsargument?Describe the functionality you're seeking in more detail
Hi! I just added the
swiftly-actionto my GitHub actions for building Linux. I like it a lot!I seem to be getting some flaky connections when trying to download the Swiftly tool or a Swift toolchain. About one out of every 200 attempts seem to fail with some kind of connection error:
Error: stream ended at an unexpected timecurl: (56) Recv failure: Connection reset by peerError: HTTPClientError.readTimeoutI'm not sure there's anything that can be done inside
swiftly-actionto fix these errors from happening… but could we possibly add support for auto-retry? Could we assume that certain errors should lead to another connection attempt?I'm currently passing a
toolchainconfiguration variable toswiftly-action. Would the best way to supportauto-retrybe a new configuration argument? Something likeauto-retry-attempts?Have you considered any alternatives?
No response