Skip to content

After a move to OpenBot Cloud, say where everything went and as whom - #2080

Merged
davidmckayv merged 1 commit into
mainfrom
fix/move-to-cloud-account
Nov 23, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
fix/move-to-cloud-account

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

What happened

On 1.2.0-rc.3 a person updated OpenBot (Self-Contained), picked OpenBot Cloud on "Move to OpenBot Cloud?", and believed the move had happened. Afterwards they couldn't find anything that said where OpenBot Cloud was or which account it used. They went to the website, signed up, set up from scratch and found none of their Bots or conversations.

Their troubleshooting log shows the move never ran. The offer was due at launch, the person picked OpenBot Cloud, and the window started and updated the OpenBot on this computer for the move, which took two and a half minutes. After that there is no sign-in, no export and no import. The window ended up on the OpenBot on this computer with all their work still there, and Cloud had nothing from them.

Why

  • The window left the move before it started. Coming back to the window (a Dock click, the tray's Open, a second launch, a notification) asks the desktop app to show whichever OpenBot applies. Keep the window on the move to OpenBot Cloud until it ends, and never show a browser's raw network error #2058 held the window while a move runs. Before the person presses Move, nothing held it: once the OpenBot on this computer was up, the restore showed it in place of the move's screens. Nothing said the move hadn't started, and it isn't offered again at launch until the next update.
  • Nothing says which account or where. The result said "in your OpenBot Cloud account" without naming the account, the organization, or where to find OpenBot Cloud in a browser. Settings → Computer, once connected, shows only the address the app talks to.
  • The browser can open in another organization than the one the move went into. The move goes into the person's own organization. A browser sign-in can start out working in another of their organizations, such as their company's, and there their Bots aren't, with nothing pointing to them.

The fix

The changes reuse existing components and copy patterns. There are no new styles.

  1. Desktop shell: the move's screens hold the window from the moment they are offered until the person answers: they move, or they keep OpenBot here. A restore brings the window forward as it is, as it already does while a move runs.
  2. Desktop, the move's result: once the move is done, OpenBot Cloud is asked who signed in (getPerson, me) in the organization the move went into, with that organization's name from the person's list. The result says "You're signed in as [email protected], in Sam's organization." Under Open OpenBot, an Open in browser button opens OpenBot Cloud in the person's own browser, with the line "In a browser, OpenBot Cloud is at my.open.bot. Sign in there as …". If that question can't be answered, the result is shown without the account line and the move still succeeds.
  3. App, Settings → Computer inside a connected Desktop: a "Signed in as" row with the email and the organization.
  4. App, OpenBot Cloud: when the organization the person works in holds none of their finished moves and another of theirs does, a slim bar (drawn like the self-host bar) says "Your Bots from OpenBot on Sam's MacBook are in Sam's organization.", with Switch to that organization and Dismiss. Other organizations are checked only when the current one has no finished moves.

Tests

Each regression test fails on main and passes with the fix.

  • Desktop (Rust, Tauri's mock runtime): a_dock_click_while_the_move_waits_for_an_answer_leaves_the_window_on_it. On main the restore took the window to the local app (left: http://127.0.0.1:…/, right: tauri://localhost/). the_move_holds_the_window_from_its_offer_until_it_is_answered checks the hold from offer to Keep. after_the_move_cloud_is_asked_which_account_it_went_into uses a stand-in Cloud with two organizations and checks the account, the organization's name and the error case.
  • Desktop setup window (MoveToCloud.test.tsx): the result names the account and organization, says where OpenBot Cloud is in a browser, and Open in browser opens https://my.open.bot without leaving the window. On main the account line is missing. A result from an older shell with no account still names the address.
  • Desktop setup window, real browser: setupLayout.browser.test.ts move-done screens at 1000x760, 1000x800 and 720x560, light and dark, in Chromium and WebKit, all buttons in view.
  • App, real browser, Chromium and WebKit, light and dark (app/tests/moved-elsewhere.test.tsx, added to the WebKit CI job). The test uses a stand-in OpenBot Cloud and checks every answer against the generated schemas:
    • Working in Acme with the move in Sam's organization, the bar names it. Switch moves the session there and the bar goes, including after a reload.
    • Dismiss saves the notice, and the bar stays gone after a reload.
    • Working where the move is, nothing is shown and no other organization is asked.
    • Connected from Desktop, Settings → Computer names the account and organization.
    • On main, the bar and the Signed in as row don't exist.
  • Also run: every desktop Rust test (cargo test --lib --bins), the desktop unit tests, both typechecks, Biome, and the repository's copy guards.

@davidmckayv
davidmckayv force-pushed the fix/move-to-cloud-account branch 2 times, most recently from bbf65ff to 6ebfb58 Compare November 23, 2026 20:57
On 1.2.0-rc.3 a person picked OpenBot Cloud on "Move to OpenBot Cloud?" and
came back to the window from the Dock while the OpenBot on this computer got
ready for the move. The restore showed that OpenBot in place of the move's
screens, so the move never started and nothing said so. They then signed up on
the website and found none of their Bots.

- Desktop: the move's screens hold the window from the offer until the person
  moves or keeps OpenBot here, as they already do while a move runs.
- Desktop: the result names the account and organization the move went into,
  says where OpenBot Cloud is in a browser, and opens it there.
- App: Settings -> Computer in a connected Desktop names the account it is
  signed in as.
- App: on OpenBot Cloud, a bar says when the person's moved Bots are in another
  of their organizations than the one they work in, with Switch and Dismiss.
@davidmckayv
davidmckayv force-pushed the fix/move-to-cloud-account branch from 6ebfb58 to b0459c4 Compare November 23, 2026 21:24
@davidmckayv
davidmckayv merged commit 18d685b into main Nov 23, 2026
50 checks passed
@davidmckayv
davidmckayv deleted the fix/move-to-cloud-account branch November 23, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant