Remote builder's machine exiting prematurely will stall the deploy process
Describe the bug
We're not detecting when using a remote builder and its machine exits abruptly or errors. It becomes unreachable via the private network (because the network interfaces comes down).
flyctl does not detect or do anything about this condition. I think it should retry a few times and then fail, letting the user know what's happening in the process.
Command output:
Waiting for remote builder <redacted>... connecting ⢿
Can it detect that a builder has exited through the API? If the network just goes away it might be hard to differentiate between "dead" and "wireguard problem", but the API could tell it.
It can detect it through the API and that's what I had in mind :)
Still needed?
Thanks for reporting this. #790 bounded the tunnel and host waits, and #1320 bounded each Docker ping. Current flyctl retries the remote builder and then exits with an unavailable-builder error instead of hanging indefinitely. I’m going to close this as fixed. Please reopen if the latest flyctl can still stall past that bound.