From 17fbd151b53fef461de0d5fc8f6af0478bfc8f4c Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Thu, 16 Jul 2026 13:43:55 -0400 Subject: [PATCH] fix(web): keep retrying environments gating the landing through their first backoff attempts Signed-off-by: Yordis Prieto --- apps/web/src/state/shell.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web/src/state/shell.ts b/apps/web/src/state/shell.ts index 86e883979d..dfb104e5c9 100644 --- a/apps/web/src/state/shell.ts +++ b/apps/web/src/state/shell.ts @@ -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"));