fix(web): keep retrying environments gating the landing through their first backoff attempts

Signed-off-by: Yordis Prieto <[email protected]>
This commit is contained in:
Yordis Prieto committed 2026-07-16 13:43:55 -04:00
1 parent e69bab69b3
commit 17fbd151b5
1 file changed
+5
+5
View File
@@ -38,6 +38,11 @@ export const allEnvironmentShellsBootstrappedAtom = Atom.make((get) => {
if (connectionProjectionPhase(connection) !== "disconnected") {
return false;
}
// A retrying environment is only transiently disconnected; give it its
// first retries before letting the landing settle without its snapshot.
if (connection.phase === "backoff" && connection.desired && connection.attempt <= 2) {
return false;
}
}
return true;
}).pipe(Atom.withLabel("web-all-environment-shells-bootstrapped"));