You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplify launchOrConnectToServer to eliminate nested retries (#5872)
Previously we needed a `retryWithTimeout` around the reading of the port
because the initial process launch could take >10s, which would make the
outer `retryWithTimeout` not take effect. This is because we were
performing the coursier runner classpath resolution as part of that
launch, which can take arbitrarily long, overshooting the retry timeout.
This PR fixes it by moving the coursier runner classpath resolution out
of the retry loop, so the retry loop only contains the logic around
launching the process. This should help keep the time of each attempt to
a more reasonable amount, allowing the outer retries to work and
avoiding the need for nested retries around the individual steps of the
process launch workflow
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
0 commit comments