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"));