Repository navigation
Keep the window on the move to OpenBot Cloud until it ends, and never show a browser's raw network error - #2058
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 23, 2026 15:29
davidmckayv
force-pushed
the
fix/move-keeps-window-and-no-raw-network-error
branch
from
November 23, 2026 15:41
d1955ab to
6bcca57
Compare
… show a browser's raw network error Moving to OpenBot Cloud, a Dock click after the browser sign-in sent the window to the OpenBot on this computer while the move was still running. The move then removed it, and a message sent from its home showed the browser's own "Load failed" under the composer. - Desktop: while a move runs, bringing the window back shows it as it is. When a move ends, a window that left setup goes back to setup, which opens the OpenBot now chosen. - App: a request that gets no answer fails with OpenBot's own sentence, still as a TypeError so connection-lost tracking keeps working. - App: the terms read takes only a plain not found as an OpenBot without terms; any other refusal holds the person at the terms.
davidmckayv
force-pushed
the
fix/move-keeps-window-and-no-raw-network-error
branch
from
November 23, 2026 15:52
6bcca57 to
f2f06a4
Compare
davidmckayv
deleted the
fix/move-keeps-window-and-no-raw-network-error
branch
November 23, 2026 16:04
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What happened
Moving from OpenBot (Self-Contained) to OpenBot Cloud in OpenBot Desktop on a Mac: the person signed in to OpenBot Cloud in the browser, came back to the window, typed "hello world" on the home screen and got a raw red "Load failed" under the composer. Seconds later the window reloaded to OpenBot Cloud's "Agree to the terms", and after agreeing everything worked.
Why
The fix
Behaviour only; nothing looks different apart from the words of that one line.
TypeError, so the connection-lost tracking that relies on that keeps working. A request the page cancelled is handed back as before. This covers every screen, not only home.NOT_FOUND) as an OpenBot without terms. Any other refusal holds the person at the terms screen, which offers Try again.Tests
Each regression test fails on
mainand passes with the fix.a_dock_click_during_a_move_leaves_the_window_on_the_move: with a move running and the local app up, a restore leaves the window on setup and still brings it forward; once the move is over, a restore decides as before. Onmainthe window went to the local app.a_move_that_ends_sends_the_window_back_to_setup: a move that ends with the window on the local app sends it back to setup. Onmainit stayed on the local app.app/tests/home-no-answer.test.tsx, added to the WebKit CI job): the app's own home route sends "hello world", the request that creates the conversation is failed at the network, and the line under the composer reads OpenBot's sentence. Onmainit read "Failed to fetch" in Chromium and "Load failed" in WebKit.app/tests/service-terms.test.tsx): the terms read answering 404ORGANIZATION_NOT_FOUNDshows "Agree to the terms" first, then the person agrees and goes on. Onmainthey went straight to Settings.sign-in-after-sign-out,no-organization) answered every address they didn't know, the terms read included, with "organization not found", which the old reader took as "no terms". They now answer the terms read as an OpenBot without terms does (200, nothing to agree to).cargo test --lib --bins),cargo fmt,cargo clippy --all-targets -D warnings(nothing in the changed code; a newer local clippy flags one untouched test file's doc comment), the desktop unit tests and typecheck, the app's tests and the repository's copy guards, the app typecheck and Biome, and the touched browser files whole in both engines.The home screen's error line keeps its place and style; only the words change (checked side by side in Chromium and WebKit, light and dark).