🙌 OpenHands: AI-Driven Development
F25 — Backends, Cloud and sharing
One Canvas can drive several agent servers. The backend selector at the bottom
of the sidebar lists every registered backend with a live status dot and
switches between them; its footer opens Add Backend (OpenHands Cloud login
through an OAuth device flow, or a local/remote agent server by host and API
key) and Manage Backends (select, edit, remove, and Cloud "Log back in").
When the active backend is unreachable the whole app is replaced by Manage
backends in recovery mode. Cloud backends add organization rows, a Cloud
settings link and public sharing of conversations (read-only at
/shared/conversations/:id); /oauth/device/verify is the device-approval page.
When the page is served with the DigitalOcean Managed Agents bridge (the
desktop app's preload, or the web server's own experimental bridge, which the
launcher's ingress mounts behind the session key only when started with
MARS_WEB=1), Add Backend gains a
Providers tab whose DigitalOcean entry signs in with a personal access
token and turns a Managed Agents session into a backend.
Everything except the Cloud and DigitalOcean accounts themselves can be driven
locally with a second control-openhands stack as the extra backend.
Source: src/components/features/backends/, src/contexts/active-backend-context.tsx, src/api/backend-registry/, src/hooks/query/use-backends-health.ts, src/routes/device-verify.tsx, src/routes/shared-conversation.tsx, src/components/features/conversation/conversation-name-context-menu.tsx, src/api/cloud/, src/api/mars/, src/hooks/use-mars-*.ts, src/hooks/use-connect-mars-session.ts, src/hooks/use-launch-mars-session.ts, src/hooks/query/use-mars-agents.ts, src/components/features/sidebar/mars-session-panel.tsx, src/assets/branding/digitalocean-logo.svg, scripts/mars-web-bridge.mjs, scripts/mars-tunnel-bridge.mjs.
Sub-features
F25.selector-dropdown: clicking (or hovering) the selector opens a listbox of backends, each option named<status> <name>with a status dot, and a footer with Add Backend and Manage Backends.F25.add-backend-modal: Add Backend opens "Choose how you want to connect" with a description, a Learn more link to the deployment docs and the tabs OpenHands Cloud (selected) and Agent-server (plus Providers with the bridge, see the Providers row). It takes keyboard focus on open (the close button), Tab and Shift+Tab wrap inside it, and closing returns focus to the backend selector it was opened from. Escape does not close it; the X does. At phone width, opened from the drawer's backend selector, Escape leaves the modal and the drawer open, and the X closes only the modal (the drawer stays open).F25.cloud-advanced-host: on the Cloud tab, Advanced reveals a Host field (placeholderhttps://app.all-hands.dev) for a self-hosted Cloud.F25.cloud-device-flow: Connect to OpenHands opens a popup and showsStarting authentication..., thenWaiting for authorization...with the verification link and Cancel; Cancel returns to the idle button and closes the popup. An unreachable host showsFailed to start device flow: ...with Try again and closes the popup (Try again opens a fresh one); the error text, theWaiting for authorization...status, theBrowser opened...line and the verification link stay readable (at least 4.5:1) in every theme, Light+ and Solarized Light included. Known failure (reproduced 2026-10-17, #18546): in Solarized Light theBrowser opened. Complete sign-in to continue...line (text-tertiary#586E75on the modal's#EEE8D5) measures 4.39:1. Approving the code (adds a backend named OpenHands Cloud) needs a Cloud account.F25.agent-server-guidance: the Agent-server tab has a Local / Remote toggle. Local shows a collapsible Before you connect withagent-canvas --backend-only --port 8001and a local-setup docs link; Remote shows Recommended setup, Connection details and a remote-setup docs link.F25.add-agent-server: Connect stays disabled until Host Name and a valid Host are filled; the API Key field is optional for Connect on Local and required on Remote, but a key-protected host still rejects an empty key. A dead host, an empty key or a wrong key showsCould not connect to <host>with the reason inline (Disconnected (check URL or network)for a dead host,Invalid API keyfor an empty or wrong key); a reachable host with the right key, entered on the default Local location, adds the backend, makes it active (BM-001) and redirects a/conversations/<id>page to/conversationswithout an error toast, also on the backend's first activation, without asking the new backend for the old conversation id.F25.switch-backend: choosing another option shows a full-screenSwitching to <name>overlay for about a second, then the sidebar and pages show that backend's data; on/conversations/<id>the app moves to/conversations(BM-002).F25.backend-pinned-url: in-app links carry?backend=<id>; opening such a URL pins the tab to that backend; an unknown id is ignored.F25.per-tab-backend: the active backend is per browser tab: switching it in one tab leaves the other open tabs where they were, a new tab opened from a plain link starts from the last choice made in any tab, and a sidebar conversation row opened in a new tab (Control-click) lands on the backend that owns the conversation because its link carries?backend=<owner>.F25.manage-backends: Manage backends lists every backend with status dot, name, version (v1.50.1), host, status text and a LOCAL/CLOUD pill, plus Edit and Remove; it takes keyboard focus on open and keeps Tab inside; Escape, a backdrop click, X and Done close it and return focus to the selector. At phone width, opened from the drawer, Escape closes only Manage and the drawer stays open.F25.manage-add: Add Backend in Manage backends opens the same Add form stacked over Manage; its X returns to Manage, Escape leaves both open (at phone width, with Manage opened from the drawer's backend selector, the drawer stays open too), and a successful add keeps Manage open with the new row while the new backend becomes active.F25.manage-select: clicking a healthy row makes that backend active and closes the modal; on a detail page it leaves it for that section's list, like the selector does (BM-002).F25.edit-backend: the pencil opens "Edit backend" pre-filled (key masked) with aConnected · Local v<version>badge; empty name and invalid host showName is requiredandEnter a valid URL (e.g. http://localhost:8080)and disable Save; Save re-tests the connection, keeps the modal open withCould not connect to <host>on failure, and persists on success.F25.edit-cancel: Cancel, the X and a backdrop click in Edit backend close only the Edit modal and discard the draft; Manage backends stays open with the stored values.F25.edit-escape: Escape in the Edit modal does nothing: Edit keeps its draft and Manage backends stays open underneath; at phone width, with Manage opened from the drawer's backend selector, the drawer stays open too.F25.health-status: a backend that stops answering turns its dot to the theme's status-error colour (bg-status-error,Disconnected) within one health probe (every 30 s for local and remote agent servers; Cloud backends every 5 min and not on window focus or reconnect, #18128); its Manage row readsDisconnected (check URL or network)with a red detail line and cannot be selected.F25.recovery-gate: reloading while the active backend is down shows onlyagent-server-onboarding-screenwith Manage backends in recovery mode (no X, no Done, Escape ignored, primary Add Backend); choosing a healthy row restores the app.F25.remove-backend: the trash icon asksRemove backend "<name>"? If it is active, the app will switch back to Local.; Cancel keeps it, Confirm removes it and an active removed backend falls back to Local (BM-003).F25.collapsed-entry: with the rail collapsed, the backend icon's popover offers the same Add Backend and Manage Backends items, and both modals open.F25.phone: at 390 px the drawer's selector opens Add and Manage inside the viewport without horizontal overflow, and Escape in a backend modal (Add, Manage, Edit, the Remove confirmation) never closes the drawer underneath. Edit backend fits at 320 and 390 px; on short viewports its form scrolls while the title and close control stay visible, and Cancel/Save remain reachable.F25.device-verify-page:/oauth/device/verifyshows a "Device Authorization" code form; with?user_code=it shows "Device Authorization Request", the code, a Security Notice and Cancel / Authorize Device. On a local stack Authorize and Continue end in theErrorcard with Try Again.F25.shared-conversation-view:/shared/conversations/<id>is a standalone read-only page (no app shell); on a local backend it readsConversation not found.F25.share-publicly: on a Cloud backend the conversation menu has a Public Share toggle with copy-link and open-link buttons; on a local backend the item is absent.F25.cloud-org-rows: each Cloud backend appears once per organization (Personal Workspacefor the user's own): as<name> – <org>while several backends are registered, and as the org name alone when that Cloud backend is the only one. The menu grows to its longest label, never narrower than the selector and at mostmin(26rem, 100vw - 2rem). Each row and the selector carry the full label as atitle; the closed selector shows the active org's label, ending in an ellipsis when it is cut off and not focused. Choosing a row scopes lists to that org.F25.cloud-log-back-in: a logged-out Cloud row showsLogged outand a Log back in button that reruns the device flow.F25.cloud-settings-link: with a Cloud backend active the gear next to the selector opens<cloud host>/settings?org=<org>in a new tab.F25.cloud-sandbox-states: Cloud conversations show waiting, archived and error sandbox states in chat.F25.cloud-org-suspended: when a Cloud call made for the selected organization (X-Org-Id) fails with 403 anddetailOrganization is suspendedorUser membership is suspended, the app is replaced by<org> is suspended. Contact your administrator to restore access.(orYour access to <org> is suspended. Contact your administrator to restore it.), thenSwitch to another workspaceand one button per other organization (Personal Workspacefor the user's own). A button selects that organization and the app returns; with no other organization only the message shows. A reload clears the in-memory record. Blocked here: needs an OpenHands Enterprise instance withENABLE_SUPER_ADMINwhere a Super Admin suspended the organization or this member's membership, signed in as a non-Super-Admin member with that organization selected (#17988).F25.providers-tab: only when the page has the Managed Agents bridge (window.marsBridge), Add Backend shows a third tab Providers ("Connect through DigitalOcean and more.") with a DigitalOcean card ("Your team's OpenHands agents") andMore providers coming soon.. A launcher-served web page has it only when the launcher was started withMARS_WEB=1(the ingress then answers/mars/health); without it (noMARS_WEB, any value other than1, or a non-loopback bind with no session key at all) there are only the Cloud and Agent-server tabs and no Managed Agents UI anywhere. A non-loopback bind that has a key (F26--host 0.0.0.0withLOCAL_BACKEND_API_KEY) andMARS_WEB=1mounts the bridge behind that key and offers the tab too, although the page itself carries no key (see the sign-in bullet's Known failure).F25.digitalocean-sign-in: the DigitalOcean card opens "Connect your DigitalOcean team" with a Back button, a masked Personal access token field, a Create a token link tohttps://cloud.digitalocean.com/account/api/tokensand Connect with token, disabled until a token is typed (the Sign in with DigitalOcean OAuth button exists only in the desktop app). A token of the wrong shape readsThat does not look like a DigitalOcean personal access token.; a well-formed token DigitalOcean rejects shows its HTTP error (401 Unauthorized). Back returns to the Providers tab.F25.digitalocean-agents: signed in, the panel lists the team's OpenHands agents and their sessions, New Agent (name and sandbox size), refresh and sign-out; connecting a session (or Resume and connect a paused one) adds it as the active backend, the sidebar's conversation list becomes that agent's session panel (mars-session-panel), and Manage Backends' Managed Agents view offers Pause, Stop, Disconnect and Open per session (blocked: needs a DigitalOcean account with Managed Agents).F25.digitalocean-backend-removal: removing a DigitalOcean backend in Manage Backends explains that it only disconnects and offers Disconnect only or Stop session (blocked: needs a connected DigitalOcean session).F25.locked-cloud: a Canvas served with--lock-to-cloud <url>shows only the Cloud login (no close) on first run, and its selector footer reads Reconnect to Cloud with no add, edit or remove.
How to get to it (user POV)
- Sidebar, bottom: the backend selector (
backend-selector; click or hover) → options, Add Backend (add-backend-menu-item), Manage Backends (manage-backends-menu-item). - Collapsed rail: hover the backend icon (
collapsed-backend-selector-link) → the same footer items. - Phone: hamburger (
sidebar-mobile-menu-toggle) → drawer → backend selector. - Manage backends → Add Backend (
manage-backends-add) opens the same Add form. - Direct URLs: any in-app URL with
?backend=<id>;/oauth/device/verify[?user_code=CODE];/shared/conversations/<id>. - Conversation header name → "..." (
conversation-name >> ellipsis-button) for Public Share (Cloud only). - Reloading with an unreachable active backend opens the recovery gate.
- Onboarding's backend step and the public-mode API-key screen also add backends; they belong to F01. The ChatGPT subscription card is F10 (
F10.subscription) and the provider balance card is F27 (F27.usage-provider-balance).
Driving it with control-openhands
Preconditions:
Baseline state (launched, doctored,
onboard --skipdone) andcontrol-openhands llm preset deepseekon this run.One conversation on this run:
control-openhands conversation start --prompt "Reply with exactly: QA_F25_PONG" --wait --timeout 180; note its<id>. The conversation only has to exist: F25 never reads the reply, so a run that ends inerror(for example a key without balance, saved withllm preset deepseek --no-validate) is enough.A second stack to add as a backend, started without a browser and never driven directly:
export OH_VERIFY_RUN_2=$(OH_VERIFY_RUN= control-openhands launch --new --build never --no-browser --print-run), thencontrol-openhands status --run "$OH_VERIFY_RUN_2"; itsbaseUrlis<second-url>below and its key is$OH_VERIFY_RUN_2/private/session-key. It has no conversations.No backend named
QA_SecondorQA_Renamedexists (the selector lists onlyLocal).Bullets run in order: Add creates
QA_Second, Edit renames it toQA_Renamed, Remove deletes it.The Managed Agents rows need the bridge, which is opt-in and which
control-openhands launchcannot turn on (it forwards noMARS_WEB): on the default runcontrol-openhands browser eval "!!window.marsBridge"isfalseandcurl -s <baseUrl>/mars/healthreturns the HTML index. Start a bridge stack by hand on free ports:Q=$OH_VERIFY_RUN/private/f25-mars; mkdir -p $Q; HOME=$Q/home OH_CANVAS_SAFE_STATE_DIR=$Q/state OH_CANVAS_SAFE_BACKEND_PORT=18961 OH_CANVAS_SAFE_AUTOMATION_PORT=18962 OH_CANVAS_SAFE_VITE_PORT=18963 LOCAL_BACKEND_API_KEY=qa-f25-mars-key OH_SECRET_KEY=qa-f25-secret DO_NOT_TRACK=1 MARS_WEB=1 nohup node bin/agent-canvas.mjs --port 18960 > $Q/launcher.log 2>&1 & echo $! > $Q/pid, wait untilcurl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:18960/healthis200, thencurl -s http://127.0.0.1:18960/mars/healthanswers{"ok":true,"authRequired":true}. Drive it withcontrol-openhands browser goto http://127.0.0.1:18960/ --allow-external: answer its telemetry consent (browser uncheck 'testid=telemetry-consent-form >> role=checkbox',browser click 'testid=confirm-telemetry-preferences'),browser click 'testid=onboarding-skip'andbrowser wait 'testid=root-layout';browser eval "!!window.marsBridge"istruethere. Stop it withkill -TERM $(cat $Q/pid)when the Managed Agents bullets are done.F25.digitalocean-agentsandF25.digitalocean-backend-removalstay blocked without a DigitalOcean account.Cloud account: where this machine's proxy injects OpenHands Cloud credentials (
curl -s -o /dev/null -w '%{http_code}' https://app.all-hands.dev/api/organizationsis200without a token), the Cloud backend bullet below can approve the device flow in its popup; otherwise it is blocked. Approving creates an API key namedDevice Link Access Key (<code>)on the account: delete that key on the Cloud API keys page when done, and leave the account's other keys alone. Additional fixtures are required for:F25.cloud-log-back-in(needs a logged-out Cloud row), org switching inF25.cloud-org-rows(needs a second organization), the archived and error states ofF25.cloud-sandbox-states,F25.cloud-org-suspended(also needs a suspended OpenHands Enterprise organization or membership),F25.share-publicly(toggle), andF25.locked-cloud, which also needs a launcher flag (see Gotchas).Open the selector (
F25.selector-dropdown). From/conversationsruncontrol-openhands browser click 'testid=backend-selector'andcontrol-openhands browser snapshot 'testid=backend-selector'. The snapshot showslistboxwithoption "Connected Local", a separator,button "Add Backend"andbutton "Manage Backends". Screenshot withcontrol-openhands browser screenshot --feature F25.selector-dropdown --name open. Hover opens it too:browser press Escape, move the pointer away withcontrol-openhands browser hover 'testid=command-menu-trigger'(hovering a selector the pointer is already on does nothing),control-openhands browser hover 'testid=backend-selector', then the same snapshot showscombobox "Local" [expanded]and the two footer buttons.Add Backend modal (
F25.add-backend-modal). Runcontrol-openhands browser click 'testid=add-backend-menu-item'andcontrol-openhands browser snapshot 'testid=add-backend-modal': headingChoose how you want to connect, linkCompare Cloud, self-hosted, and Enterprise deployment options(/url: https://docs.openhands.dev/overview/introduction, textLearn more) and tabOpenHands Cloud ...[selected]next to tabAgent-server .... Keyboard focus:control-openhands browser eval "(()=>{const a=document.activeElement;const d=document.querySelector('[data-testid=add-backend-modal]');return {tid:a.getAttribute('data-testid'),inDialog:!!(d&&d.contains(a))}})()"is{tid: "add-backend-close", inDialog: true}right after opening; after eightcontrol-openhands browser press Taband threebrowser press Shift+Tab(reading the same eval after each)inDialogstaystrue(Tab past Advanced wraps to the close button), andbrowser press qthencontrol-openhands browser eval "document.querySelector('[data-testid=chat-input]').textContent"is""(nothing reaches the Home composer behind).browser screenshot --feature F25.add-backend-modal --name focus-trap-open.control-openhands browser press Escapeleavesbrowser count 'testid=add-backend-modal'at1;control-openhands browser click 'testid=add-backend-close'makes it0, andcontrol-openhands browser eval "!!document.activeElement.closest('[data-testid=backend-selector]')"istrue(focus is back on the selector). Keyboard focus in a light theme: arrangecontrol-openhands browser eval "localStorage.setItem('openhands-color-theme','light-plus')"andbrowser reload, reopen the modal, runcontrol-openhands browser focus 'testid=add-backend-option-cloud'andbrowser press ArrowRight, thencontrol-openhands browser eval "getComputedStyle(document.activeElement).outlineColor". Expected: the theme's focus colour (--oh-focus,#007ACCin Light+). Connection tabs, the guidance toggle and the DigitalOcean provider choice use the theme focus role and preserve host--oh-focusoverrides; default focus contrast is at least 3:1 against base, modal, raised and hovered neutral surfaces in all five themes. Solarized Light uses#227FBE. Check the settled outline after its transition, preserving the 2 px width and existing offsets. Restore withbrowser eval "localStorage.removeItem('openhands-color-theme')".Advanced host (
F25.cloud-advanced-host). Reopen withbrowser click 'testid=backend-selector'andbrowser click 'testid=add-backend-menu-item', runcontrol-openhands browser click 'testid=add-backend-advanced-toggle', thencontrol-openhands browser attr 'testid=add-backend-advanced-toggle' aria-expanded(true) andcontrol-openhands browser snapshot 'testid=add-backend-cloud-panel'(textboxHostwith placeholderhttps://app.all-hands.dev).Device flow error (
F25.cloud-device-flow). Runcontrol-openhands browser fill 'testid=add-backend-cloud-host' http://127.0.0.1:9,control-openhands browser click 'testid=add-backend-login-button' --observe 'testid=add-backend-device-flow'andcontrol-openhands browser wait 'testid=add-backend-auth-error' --timeout 15000. The observation goesStarting authentication...→Failed to start device flow: Failed to fetch/Try again, andcontrol-openhands browser network --last 5showsPOST /oauth/device/authorizetohttp://127.0.0.1:9.control-openhands browser click 'testid=add-backend-auth-retry'starts again and fails the same way. The failed attempt closes its popup:control-openhands browser tabslists one page after each failure and after the retry (browser screenshot --feature F25.cloud-device-flow --name error-no-popup). Close the modal withtestid=add-backend-close. Known failure (reproduced 2026-10-17, #18527): normal 14 px error text must reach 4.5:1. Light+/Solarized samples improve to approximately 4.90:1/4.65:1, but actual screenshot background pixels within the text line still give 3.768:1 desktop and 3.882:1 phone in Neutral/Neo, and 4.007:1/4.126:1 in DeepSea. Include the radial white pseudo-background when measuring; a flat ancestor-color calculation overstates contrast. The error branch remains a known failure. The separate credential-free verification warning/button/icon matrix was driven in all five themes at desktop and phone; text/icon thresholds passed. Anonymous awaiting/manual-link/cancel was also driven in all ten states without approving a grant; Solarized awaiting instructions still measure approximately 4.435–4.467:1 on actual screenshot background pixels, below 4.5:1. Authentic authorized-success remains blocked without an approved account grant.Device flow awaiting and Cancel (
F25.cloud-device-flow). Reopen Add Backend (Cloud tab, default host), runcontrol-openhands browser click 'testid=add-backend-login-button' --observe 'testid=add-backend-device-flow' --observe-ms 6000, thencontrol-openhands browser snapshot 'testid=add-backend-device-flow'. Ifhttps://app.all-hands.devis reachable (control-openhands browser network --external --last 5lists it), the snapshot showsWaiting for authorization...,Browser opened. Complete sign-in to continue. If browser didn't open, visit:, a linkhttps://app.all-hands.dev/oauth/device/verify?user_code=<code>and buttonCancel;browser tabslists a second page on that URL. The status line, theBrowser opened...line and the link stay at least 4.5:1 in Light+ and Solarized Light (link 14.85:1 and 12.25:1,Browser opened...7.62:1 in Light+ on 2026-10-17). Known failure (reproduced 2026-10-17, #18546): theBrowser opened...line measures 4.39:1 in Solarized Light. Screenshot with--feature F25.cloud-device-flow --name awaiting, thencontrol-openhands browser click 'testid=add-backend-auth-cancel': the panel is back toConnect to OpenHands/Advancedandbrowser tabslists one page. Do not approve the code here (the Cloud backend bullet does, when it can). If Cloud is unreachable you get the error state of the previous bullet instead.Agent-server guidance (
F25.agent-server-guidance). Runcontrol-openhands browser click 'testid=add-backend-option-agent-server'andcontrol-openhands browser snapshot 'testid=add-backend-agent-server-panel': radiogroupAgent-server locationwithLocalchecked, headingBefore you connect, textboxesHost Name,Host,API Keyandbutton "Connect" [disabled].control-openhands browser click 'testid=add-backend-local-guidance-toggle'andbrowser snapshot 'testid=add-backend-local-guidance'show the codeagent-canvas --backend-only --port 8001and linkRead the local backend setup guide.control-openhands browser click 'testid=add-backend-location-option-remote'andcontrol-openhands browser click 'testid=add-backend-remote-guidance-toggle';browser snapshot 'testid=add-backend-remote-guidance'showsRecommended setup,Connection detailsandRead the remote backend setup guide.Connect rules and errors (
F25.add-agent-server). Still on Remote:control-openhands browser fill 'testid=add-backend-name' QA_Second,control-openhands browser fill 'testid=add-backend-host' 127.0.0.1:9;control-openhands browser enabled 'testid=add-backend-submit'isfalse(Remote needs a key).control-openhands browser fill 'testid=add-backend-api-key' wrong-keymakes ittrue.control-openhands browser click 'testid=add-backend-location-option-local'keeps the fields.control-openhands browser click 'testid=add-backend-submit' --observe 'testid=add-backend-submit'showsChecking…, thencontrol-openhands browser text 'testid=add-backend-error'startsCould not connect to http://127.0.0.1:9/Disconnected (check URL or network). .... Filladd-backend-hostwith<second-url>and submit again: the error readsCould not connect to <second-url>/Invalid API key. On Local the key is optional for Connect but not for a key-protected host:control-openhands browser fill 'testid=add-backend-api-key' ''leavescontrol-openhands browser enabled 'testid=add-backend-submit'attrue(browser value 'testid=add-backend-api-key'reportslength0), andcontrol-openhands browser click 'testid=add-backend-submit'thencontrol-openhands browser wait 'testid=add-backend-error' --timeout 15000shows the sameCould not connect to <second-url>/Invalid API key(browser screenshot --feature F25.add-agent-server --name local-no-key-error). Close withtestid=add-backend-close.Add the second backend (
F25.add-agent-server). Runcontrol-openhands browser goto /conversations/<id>,browser click 'testid=backend-selector',browser click 'testid=add-backend-menu-item',browser click 'testid=add-backend-option-agent-server', filladd-backend-namewithQA_Secondandadd-backend-hostwith<second-url>, thencontrol-openhands browser fill 'testid=add-backend-api-key' --value-file "$OH_VERIFY_RUN_2/private/session-key"andcontrol-openhands browser click 'testid=add-backend-submit' --expect-url '/conversations(\?|$)'. The URL is/conversations,browser count 'testid=add-backend-modal'is0,browser snapshot 'testid=backend-selector'showscombobox "QA_Second", andbrowser count 'testid=conversation-card'is0. Before anything reloads the page,control-openhands browser toasts --historylists onlyLoading...and the new backend'sYour LLM isn't set up yet, so conversations won't run. ...(the second stack has no LLM profile; no error toast), andcontrol-openhands browser network --external --filter 'ids='lists no request: the new backend is never asked for the first stack's conversation id. Known failure (reproduced 2026-10-13, 2026-10-17 and 2026-10-19, #18390): on the run's first activation ofQA_Secondthe list sometimes holdsGET <second-url>/api/conversations?ids=<id>(200); record the bullet asfailthen (see Gotchas). (--externalleaves out this stack's ownGET /api/conversations?ids=<id>from thegoto /conversations/<id>above, which the request log keeps across page loads;<second-url>is another origin, so a request to it is listed.) The new backend asks its own telemetry consent ("This preference is saved for the local backend “QA_Second”"): runcontrol-openhands onboard --skip(it leaves the browser on/). Aftercontrol-openhands browser reloadthe selector still readsQA_Second.Switch with the overlay (
F25.switch-backend). From/runbrowser click 'testid=backend-selector'andcontrol-openhands browser click 'testid=backend-selector >> role=option[name="Connected Local"]' --observe 'testid=environment-switch-overlay' --observe-ms 2500. The observation showsSwitching to Local, then<absent>about one second later; the selector readsLocalandbrowser count 'testid=conversation-card'is1. Thencontrol-openhands browser click 'testid=conversation-card' --expect-url '/conversations/[0-9a-f-]+', open the selector andcontrol-openhands browser click 'testid=backend-selector >> role=option[name="Connected QA_Second"]' --expect-url '/conversations(\?|$)': the URL is/conversations, the selector readsQA_Secondand the card count is0.Pinned URL (
F25.backend-pinned-url). WithQA_Secondactive runcontrol-openhands browser goto '/conversations/<id>?backend=default-local'andcontrol-openhands browser wait 'testid=chat-interface': the selector readsLocaland the conversation opens.control-openhands browser goto '/conversations?backend=qa-unknown-id'keepsLocal(card count1). The sidebar card links themselves end in?backend=default-local(browser snapshot).Per-tab backend (
F25.per-tab-backend). WithLocalactive andQA_Secondregistered, runcontrol-openhands browser goto /conversationsandcontrol-openhands browser eval "JSON.parse(sessionStorage.getItem('openhands-active-backend')).backendId"(default-local); note QA_Second's id withcontrol-openhands browser eval "JSON.parse(localStorage.getItem('openhands-backends')).find(b=>b.name==='QA_Second').id"(<second-id>, a generated UUID). Open a plain second tab, as a user opening the app again:control-openhands browser tab new /conversationsprintsindex1and makes it the daemon's active tab (control-openhands browser tabslists two pages at/conversationswithactive1);control-openhands browser wait-tab '/conversations$' --new --timeout 5000then printsindex0, the tab you came from, because--newleaves out the tab the daemon is on and that is now the new one (run frombrowser tab 0it printsindex1, the second tab).control-openhands browser tab 1,control-openhands browser wait 'testid=backend-selector':browser snapshot 'testid=backend-selector'readscombobox "Local"andcontrol-openhands browser eval "sessionStorage.getItem('openhands-active-backend')"isnull(a new tab inherits nothing and starts from the localStorage fallback). Switch this tab:browser click 'testid=backend-selector',control-openhands browser click 'testid=backend-selector >> role=option[name="Connected QA_Second"]',control-openhands browser wait 'testid=environment-switch-overlay' --state detached --timeout 10000; the selector readsQA_Second,browser count 'testid=conversation-card'is0andcontrol-openhands browser eval "JSON.parse(localStorage.getItem('openhands-active-backend')).backendId"is<second-id>. Back incontrol-openhands browser tab 0nothing moved: the selector still readsLocal, the card count is1, the sessionStorage eval is stilldefault-localwhile the localStorage eval is<second-id>(browser screenshot --feature F25.per-tab-backend --name first-tab-unchanged). A plain new tab starts from the last choice made in any tab: from tab 0 runcontrol-openhands browser tab new /conversations(index2, now active),browser wait 'testid=backend-selector': the selector readsQA_Second, the card count is0, its sessionStorage item isnulland the localStorage eval is<second-id>(--name plain-new-tab-last-choice). A conversation row opens on its owner instead:control-openhands browser tab 0,control-openhands browser click 'testid=conversation-card' --modifiers Control(add>> nth=0when the run holds more conversations than the precondition's one: the click is strict),control-openhands browser wait-tab '/conversations/<id>' --timeout 20000printsindex3and the URL/conversations/<id>?backend=default-local;control-openhands browser tab 3,control-openhands browser wait 'testid=chat-interface' --timeout 30000,browser urlstill ends in/conversations/<id>?backend=default-local(no bounce to/conversations), the selector readsLocalandbrowser toasts --historylists onlyLoading...(noThis conversation does not exist…);browser screenshot --feature F25.per-tab-backend --name new-tab-on-owner. Close the extra tabs highest first:control-openhands browser close-tab 3,control-openhands browser close-tab 2,control-openhands browser close-tab 1,control-openhands browser tab 0;browser tabslists one page and the selector readsLocal. Opening the pinned link also recordeddefault-localas the last choice (the localStorage eval in tab 3 readsdefault-local), so run the plain-new-tab check before the row check.Manage list and closing (
F25.manage-backends). Runbrowser click 'testid=backend-selector',control-openhands browser click 'testid=manage-backends-menu-item'andcontrol-openhands browser snapshot 'testid=manage-backends-modal': headingManage backends, two rowsConnected Local v1.50.1 <this run's URL> Connected LocalandConnected QA_Second v1.50.1 <second-url> Connected Local, each withEditandRemove, thenAdd BackendandDone.browser text 'testid=manage-backends-status-QA_Second'isConnectedandbrowser text 'testid=manage-backends-version-QA_Second'isv1.50.1(whateverdoctorreports). Screenshot with--feature F25.manage-backends --name list. Focus is inside: the Add Backend bullet's focus eval withmanage-backends-modalin place ofadd-backend-modalreadsclose-manage-backends-modalon open and staysinDialogtrueover nine Tabs and two Shift+Tabs (with two backends listed, Tab 8 reaches Done and Tab 9 wraps to the close button); after Escape, focus is back on the selector. Close it four ways, reopening between:browser press Escape,control-openhands browser mouse-click 20 500(backdrop),browser click 'testid=close-manage-backends-modal',browser click 'testid=manage-backends-done'; each timebrowser count 'testid=manage-backends-modal'is0.Select from Manage (
F25.manage-select). WithLocalactive,control-openhands browser click 'testid=conversation-card' --expect-url '/conversations/[0-9a-f-]+', open Manage Backends, thencontrol-openhands browser click 'testid=manage-backends-row-QA_Second >> role=button >> nth=0' --expect-url '/conversations(\?|$)'. Like the selector, the app leaves the detail page for/conversations(BM-002):browser count 'testid=manage-backends-modal'is0, the selector readsQA_Second,browser count 'testid=chat-interface'andbrowser count 'testid=conversation-card'are0, andbrowser screenshot --feature F25.manage-select --name after-selectshows QA_Second's Home with its empty conversation list.Edit validation and errors (
F25.edit-backend). Open Manage Backends,control-openhands browser click 'testid=manage-backends-edit-QA_Second', thenbrowser value 'testid=edit-backend-host'(<second-url>),browser attr 'testid=edit-backend-api-key' type(password) andbrowser text 'testid=edit-backend-status'(Connected,·,Local,v1.50.1on separate lines). Filledit-backend-namewith an empty string andedit-backend-hostwithnot a host, thenbrowser focus 'testid=edit-backend-api-key'andbrowser snapshot 'testid=edit-backend-form': alertsName is requiredandEnter a valid URL (e.g. http://localhost:8080);browser enabled 'testid=edit-backend-submit'isfalse.Escape in Edit (
F25.edit-escape). In the same Edit modal runcontrol-openhands browser fill 'testid=edit-backend-name' QA_Draftandcontrol-openhands browser press Escape:browser count 'testid=edit-backend-modal'andbrowser count 'testid=manage-backends-modal'both stay1andbrowser value 'testid=edit-backend-name'is stillQA_Draft(browser screenshot --feature F25.edit-escape --name after-escape). Leave withbrowser click 'testid=edit-backend-cancel'; nothing was saved (the Manage row is stillQA_Second). At phone width (the Phone bullet's drawer → Manage Backends →manage-backends-edit-Local), the same fill and Escape leaveedit-backend-modal,manage-backends-modalandsidebar-mobile-drawerat count1with the draft kept (--name phone-after-escape).Edit and save (
F25.edit-backend). Manage Backends is still open: click the penciltestid=manage-backends-edit-QA_Secondagain. Filledit-backend-hostwithhttp://127.0.0.1:9,browser click 'testid=edit-backend-submit',browser wait 'testid=edit-backend-error' --timeout 10000: the text startsCould not connect to http://127.0.0.1:9and the modal stays. Fill the host back with<second-url>andedit-backend-namewithQA_Renamed, clickedit-backend-submit, thencontrol-openhands browser wait 'testid=edit-backend-modal' --state detached --timeout 10000;browser count 'testid=manage-backends-row-QA_Renamed'is1. Clickmanage-backends-done,browser reload: the selector readsQA_Renamed.Health status (
F25.health-status). With QA_Renamed the active backend (as the Edit bullet's reload leaves it; the closed selector shows only the active backend's dot), runcontrol-openhands service stop agent-server --run "$OH_VERIFY_RUN_2", then on the open pagecontrol-openhands browser wait 'testid=backend-selector >> role=status[name="Disconnected"]' --timeout 40000. The dot's class containsbg-status-error(computedrgb(255, 104, 78)in the default dark theme, equal to that token's).browser click 'testid=backend-selector'andbrowser snapshot 'testid=backend-selector'showoption "Disconnected QA_Renamed"next tooption "Connected Local". In Manage Backendsbrowser text 'testid=manage-backends-status-QA_Renamed'isDisconnected (check URL or network),testid=manage-backends-status-detail-QA_Renamedrepeats it withCheck that the backend URL is correct ..., andbrowser enabled 'testid=manage-backends-row-QA_Renamed >> role=button >> nth=0'isfalse. An error toast with the same text also appears after the next probe (up to about 40 s; readbrowser toasts --history). Screenshot with--feature F25.health-status --name manage-down.Recovery gate (
F25.recovery-gate). Close the modal,control-openhands browser reload, thencontrol-openhands browser wait 'testid=manage-backends-modal' --timeout 20000.browser testidslistsagent-server-onboarding-screenand the Manage rows but no sidebar;browser count 'testid=close-manage-backends-modal'andbrowser count 'testid=manage-backends-done'are0, andbrowser press Escapeleaves the modal (count1).control-openhands browser click 'testid=manage-backends-row-Local >> role=button >> nth=0'andbrowser wait 'testid=agent-server-onboarding-screen' --state detached --timeout 15000restore the app: selectorLocal, card count1. Screenshot the gate with--feature F25.recovery-gate --name gatebefore choosing.Remove the active backend (
F25.remove-backend). Runcontrol-openhands restart --run "$OH_VERIFY_RUN_2",browser click 'testid=backend-selector',browser wait 'testid=backend-selector >> role=option[name="Connected QA_Renamed"]' --timeout 25000and click that option (selector readsQA_Renamed). Open Manage Backends,control-openhands browser click 'testid=manage-backends-remove-QA_Renamed';browser text 'testid=confirmation-modal'readsRemove backend "QA_Renamed"? If it is active, the app will switch back to Local.control-openhands browser click 'testid=confirmation-modal >> role=button[name="Cancel"]'keeps the row (count 'testid=manage-backends-row-QA_Renamed'1). Click the trash again, thencontrol-openhands browser click 'testid=confirmation-modal >> testid=confirm-button': the row count is0. Click Done andbrowser reload: the selector readsLocal,browser count 'testid=backend-selector >> role=option'(dropdown open) is1, and the card count is1.Add from Manage, Edit Cancel and X (
F25.manage-add,F25.edit-cancel). The second stack is running again after the previous bullet. Runbrowser goto /conversations/<id>,browser wait 'testid=chat-interface', open the selector, clickmanage-backends-menu-item, thencontrol-openhands browser click 'testid=manage-backends-add'andcontrol-openhands browser wait 'testid=add-backend-modal' --timeout 5000(visible);browser count 'testid=manage-backends-modal'is1underneath.control-openhands browser press Escapeleaves both (add-backend-modalandmanage-backends-modalcounts1);browser click 'testid=add-backend-close': the Add count is0and the Manage count stays1. Clickmanage-backends-addagain,add-backend-option-agent-server, filladd-backend-namewithQA_Second,add-backend-hostwith<second-url>andadd-backend-api-keywith--value-file "$OH_VERIFY_RUN_2/private/session-key", thenbrowser click 'testid=add-backend-submit' --expect-url '/conversations(\?|$)': the URL is/conversations,count 'testid=add-backend-modal'is0,count 'testid=manage-backends-modal'is still1,count 'testid=manage-backends-row-QA_Second'is1and the selector readsQA_Second(screenshot--feature F25.manage-add --name after-add). No consent prompt this time: it is stored on the second backend. Thencontrol-openhands browser click 'testid=manage-backends-edit-QA_Second',browser fill 'testid=edit-backend-name' QA_Draftandcontrol-openhands browser click 'testid=edit-backend-cancel':count 'testid=edit-backend-modal'0,count 'testid=manage-backends-modal'1, rowQA_Second1, rowQA_Draft0. Repeat withcontrol-openhands browser click 'testid=edit-backend-close'and with a backdrop click (control-openhands browser mouse-click 20 500): same counts, and reopening the pencil showsbrowser value 'testid=edit-backend-name'QA_Second; leave withedit-backend-cancel. Remove it again:browser click 'testid=manage-backends-remove-QA_Second',browser click 'testid=confirmation-modal >> testid=confirm-button',browser click 'testid=manage-backends-done'andbrowser reload: the selector readsLocal.Collapsed rail (
F25.collapsed-entry). Runcontrol-openhands browser click 'testid=sidebar-collapse-toggle'(attr 'aside[data-collapsed]' data-collapsedistrue),control-openhands browser hover 'testid=collapsed-backend-selector-link',control-openhands browser click 'testid=add-backend-menu-item'andcontrol-openhands browser wait 'testid=add-backend-modal' --timeout 5000(visible). Close it, hover again, clickmanage-backends-menu-itemandbrowser wait 'testid=manage-backends-modal' --timeout 5000. Close with Done and expand withbrowser click 'testid=sidebar-collapse-toggle'.Phone (
F25.phone). Runcontrol-openhands browser viewport phone,browser goto /conversations,control-openhands browser click 'testid=sidebar-mobile-menu-toggle',control-openhands browser click 'testid=sidebar-mobile-drawer >> testid=backend-selector',browser click 'testid=add-backend-menu-item',browser click 'testid=add-backend-option-agent-server'andcontrol-openhands browser bbox 'testid=add-backend-modal':insideViewporttrue,pageHorizontalOverflowfalse. Screenshot--feature F25.phone --name add-modal. Before closing it,control-openhands browser press Escapeleavesbrowser count 'testid=add-backend-modal'andbrowser count 'testid=sidebar-mobile-drawer'at1. Close it withtestid=add-backend-close: the drawer stays open andcontrol-openhands browser eval "!!document.activeElement.closest('[data-testid=sidebar-mobile-drawer] [data-testid=backend-selector]')"istrue. Open Manage Backends from the drawer selector the same way and checkbbox 'testid=manage-backends-modal'the same. Escape inside a stacked modal reaches only that modal:manage-backends-addthen Escape keeps Add, Manage and the drawer (--feature F25.manage-add --name phone-escape-stays), and its X returns to Manage;manage-backends-remove-Localopens the Remove confirmation, and Escape closes only it (Manage, the drawer and theLocalrow stay;--name remove-confirm-escape-local). Escape on Manage itself closes only Manage (drawer count1); a further Escape then lands on the focused drawer selector (see #18233 in Gotchas), so reopen Manage from the selector before the Edit step. Clicktestid=manage-backends-edit-Localand checkbbox 'testid=edit-backend-modal':insideViewporttrue; repeat atbrowser viewport 320x568. Atbrowser viewport 320x400, clearedit-backend-name, filledit-backend-hostwithnot a hostand focusedit-backend-api-keyto show both validation messages. Runbrowser scroll 'testid=edit-backend-form' --by 600: Cancel and Save must come into view while the title andedit-backend-closestay visible. Check the modal and all three controls withbbox, then close with Cancel. Return withbrowser viewport desktop; reopen Edit and confirm its width is still 520px.Providers tab (
F25.providers-tab). On the default run open Add Backend: the tablist has onlytab "OpenHands Cloud ..."andtab "Agent-server ...", andbrowser count 'testid=add-backend-option-providers'is0(browser screenshot --feature F25.providers-tab --name default-no-providers). On the bridge stack (Preconditions)curl -s http://127.0.0.1:18963/mars/health | head -c 15(the static child behind its ingress) prints<!DOCTYPE html>, not JSON: one bridge per stack. Open Add Backend there: the tablist addstab "Providers Connect through DigitalOcean and more."(testid=add-backend-option-providers);control-openhands browser click 'testid=add-backend-option-providers'andbrowser snapshot 'testid=add-backend-providers-panel'showbutton "DigitalOcean Your team's OpenHands agents"andMore providers coming soon.(browser screenshot --feature F25.add-backend-modal --name with-providers-tab). At phone width the modal stays inside the viewport with the three tab titles cut toOpe…,Age…,Pro…(--feature F25.providers-tab --name phone-tabs).DigitalOcean sign-in (
F25.digitalocean-sign-in). On the bridge stack, runcontrol-openhands browser click 'testid=add-backend-provider-digitalocean'andbrowser wait 'testid=managed-agents-sign-in': headingConnect your DigitalOcean team,textbox "Personal access token"(browser attr 'testid=managed-agents-token' typeispassword), linkCreate a token(/url: https://cloud.digitalocean.com/account/api/tokens) andbutton "Connect with token" [disabled]; no OAuth button in a browser (browser count 'testid=managed-agents-oauth'is0). Filltestid=managed-agents-tokenwithdop_v1_qa_invalid_token_0000and clicktestid=managed-agents-token-submit:browser text 'testid=managed-agents-auth-error'readsThat does not look like a DigitalOcean personal access token.(POST /mars/rpc/savePat500). Fill a well-formed dummy,dop_v1_plus 64 zeros, and submit again: after a few seconds the error reads401 Unauthorized(POST /mars/rpc/savePat401, DigitalOcean's answer;browser screenshot --feature F25.digitalocean-sign-in --name rejected-token). Never type a real token here.control-openhands browser click 'testid=add-backend-providers-back'returns to the Providers panel (browser count 'testid=managed-agents-sign-in'is0; the providers panel itself stays mounted behind the sign-in screen, so its count is1either way); close withtestid=add-backend-close. At phone width the sign-in screen fits (bbox 'testid=add-backend-modal'insideViewporttrue). Both errors also raise an error toast with the same text. Expected on a page served without a baked key (F26--host 0.0.0.0, Docker), once the server's key was typed on the API-key screen: the same two answers as above. Known failure (reproduced 2026-10-14, #18434): every token, even the malformed one, ends insession key required(POST /mars/rpc/getAuthStateandsavePat401), because the web bridge client sends only the baked page key, never the typed one; it predates #18349 (BASE withMARS_WEB=1fails the same way). A--frontend-onlypage connected to another stack's backend fails the same way for a different reason (the typed key belongs to the other stack); #18434 leaves that case to a maintainer decision.Managed Agents with an account (
F25.digitalocean-agents,F25.digitalocean-backend-removal). Blocked: needs a DigitalOcean account with Managed Agents. With one, after a real token the panel lists agents (digitalocean-agent-<id>), New Agent opensdigitalocean-new-agent-form(name, size), a session's Connect adds a backend and the sidebar showsmars-session-panel; removing that backend opensmars-backend-removal-modalwithdisconnect-only-buttonandstop-session-button.Cloud backend (
F25.cloud-device-flow,F25.cloud-org-rows,F25.cloud-settings-link,F25.share-publicly,F25.cloud-sandbox-states). Only with a Cloud account (Preconditions); it creates a device grant and one conversation on that account, and shows the account's own conversations in the sidebar (keep those screenshots private). Reopen Add Backend on the Cloud tab,browser click 'testid=add-backend-login-button', thencontrol-openhands browser tab 1(the verify popup:Device Authorization Request, the code, Authorize Device),control-openhands browser click 'role=button[name="Authorize Device"]'(Success!) andcontrol-openhands browser tab 0. Within about 15 s (token polling answers400until approved, then200)browser count 'testid=add-backend-modal'is0, the popup is gone andbrowser snapshot 'testid=backend-selector'readscombobox "OpenHands Cloud – Personal Workspace"(for about a second, until/meanswers, the org's raw name shows in place ofPersonal Workspace); the registry holds{name: "OpenHands Cloud", host: "https://app.all-hands.dev", kind: "cloud"}(browser eval "JSON.parse(localStorage.getItem('openhands-backends')).map(b=>({name:b.name,host:b.host,kind:b.kind}))"). Open the selector:option "Connected OpenHands Cloud – Personal Workspace"(one option per organization) next toConnected Local; Manage Backends shows the row withPersonal Workspaceand theCloudpill.browser attr 'testid=backend-selector-settings-link' hrefishttps://app.all-hands.dev/settings?org=<org id>withtarget_blank; clicking it opens that tab (browser wait-tab 'app.all-hands.dev/settings', thenbrowser close-tab 1,browser tab 0). Start one conversation from Home: filltestid=chat-inputwithReply with exactly: QA_F25_CLOUD. Do not run any tools.andbrowser click 'testid=submit-button' --expect-url '/conversations/': the URL is/conversations/task-<id>while the sandbox starts (toastsCreating conversation…,Sending...), then moves to/conversations/<id>?backend=<cloud id>&org=<org id>and the replyQA_F25_CLOUDappears (about a minute). The user message is confirmed (noSending...) and sits above the reply:browser evalcomparing[data-testid=user-message]and[data-testid=agent-message]withcompareDocumentPositionputs the user bubble first, andbrowser events --kinds websocket-createdshows the first connect replaying fromafter_seq=-1on a short conversation. (wait-texton the reply word also matches the prompt; wait fortestid=agent-messageinstead.) Within a few seconds after the URL moves offtask-<id>, and without a reload, the new conversation appears in the sidebar list (repeat untilbrowser eval "[...document.querySelectorAll('[data-testid=conversation-card]')].some(e=>e.outerHTML.includes(location.pathname.split('/')[2]))"istrue). Itsconversation-name >> ellipsis-buttonmenu hasshare-publicly-button(Public Share, off); do not flip it unless the conversation may be public. With only the Cloud backend registered (removeLocalin Manage Backends; restore it afterwards withbrowser resetandonboard --skip), the option readsConnected Personal Workspaceand the comboboxPersonal Workspace. Delete it withdelete-buttonand'role=dialog >> testid=confirm-button', then remove the Cloud backend in Manage Backends (manage-backends-remove-OpenHands Cloud, confirm): afterbrowser reloadthe selector readsLocal.Device verify page (
F25.device-verify-page). Runcontrol-openhands browser goto /oauth/device/verifyandbrowser snapshot: headingDevice Authorization,Enter the code displayed on your device:, textboxDevice Code:and buttonContinue, inside the normal app shell.control-openhands browser fill 'role=textbox[name="Device Code:"]' QA-0000andbrowser click 'role=button[name="Continue"]'go straight to the result: headingError,Failed to authorize device. Please try again., buttonTry Again;browser network --filter verify-authenticatedshowsPOST /oauth/device/verify-authenticated404. Thencontrol-openhands browser goto '/oauth/device/verify?user_code=QA-0000': headingDevice Authorization Request,DEVICE CODE,QA-0000,Security Notice, buttonsCancelandAuthorize Device(screenshot--feature F25.device-verify-page --name with-code).browser click 'role=button[name="Cancel"]'does nothing in a tab the page did not open (URL unchanged).browser click 'role=button[name="Authorize Device"]'andbrowser wait 'role=heading[name="Error"]'show the same Error card; Try Again reloads to the request. In Light+ and Solarized Light (arrangelocalStorage.setItem('openhands-color-theme', ...)as in the Add Backend bullet),?user_code=QA-NOT-REALkeeps the Security Notice heading and instruction at least 4.5:1 on their amber tint, at desktop and phone width (2026-10-17: 5.03:1 and 13.58:1 in Light+, 5.53:1 and 11.84:1 in Solarized Light;--name notice-light-plus-phone). Known issue #18527: current target warning text, Authorize normal/hover and error icons pass their respective contrast thresholds in all five themes at desktop/phone (minimum warning 5.03:1, body 11.80:1, button 10.78:1 and icon 4.62:1). This is a target-only observation, not paired attribution of the warning fix or retirement of #18527; device-flow error and Solarized awaiting text still reproduce failures in the separate entry above.Shared view (
F25.shared-conversation-view). Runcontrol-openhands browser goto /shared/conversations/<id>andcontrol-openhands browser wait-text 'Conversation not found' --timeout 15000. The page has no sidebar;browser network --filter sharedshowsGET /api/shared-conversationsand/api/shared-events/search404, andcontrol-openhands browser toasts --historystays[](the page shows its own not-found state, no toast). Screenshot--feature F25.shared-conversation-view --name local-not-found.No Public Share locally (
F25.share-publicly). Runbrowser goto /conversations/<id>,control-openhands browser click 'testid=conversation-name >> testid=ellipsis-button'andcontrol-openhands browser count 'testid=share-publicly-button':0on a local backend (browser testids --filter buttonlistsrename-button,show-skills-button,show-agent-tools-button,export-transcript-button,download-trajectory-button,display-cost-buttonanddelete-button;show-hooks-buttonandstop-buttonappear only while the conversation is active (idle, running, waiting for confirmation or finished), so a paused or errored conversation has neither). The toggle,copy-share-link-buttonandopen-share-link-buttonneed a Cloud backend: blocked.Cleanup.
browser press Escape, thencontrol-openhands stop --run "$OH_VERIFY_RUN_2"andunset OH_VERIFY_RUN_2. The conversation stays with this run's state.Errors.
control-openhands browser errors --app-onlyafter the family shows no page errors. Expected app-origin entries:POST /oauth/device/verify-authenticated404 (twice), the shared-view 404s, the warningScripts may close only the windows that were opened by them.from the device-verify Cancel, and a burst of CORSconsole.errors for<second-url>while the second agent server is stopped or restarting (see Gotchas).Same-origin credential readability (
F25.manage-backends,F25.add-agent-server). In an authenticated private run, use read-onlybrowser evalto return only the count of registered entries and the count whoseapiKeyis a nonempty string inJSON.parse(localStorage.getItem('openhands-backends') || '[]'). Expected: backend credentials are not readable by arbitrary same-origin script. Known failure, reproduced 2026-10-12: registered entries have readable plaintext keys (#16492). Retain counts/booleans only, never key values or whole storage JSON.Manually registered same-origin key rotation (
F25.add-agent-server,F25.recovery-gate). Through Add Backend → Agent-server, add an owned entry namedQA_Rotation_Legacywith the run's exact origin and fill its API Key using--value-file <run>/private/session-key; keep it active. Runrestart --rotate-key,doctor, andbrowser reload. Compare only each saved entry'sapiKey === window.__AGENT_CANVAS_SESSION_API_KEY__boolean. Expected: same-origin entries accept the newly injected session key and the active backend recovers. Known failure, reproduced 2026-10-12:default-localmatches the injected key, the manually registered entry does not, and the UI shows Disconnected/Unauthorized (#17371). This version has visible status feedback, so do not repeat the older claim of a completely silent loop. Choose Connected Local to recover, then remove the owned duplicate.Non-loopback default backend name (
F25.selector-dropdown). Serve the unchanged frontend on an owned non-loopback LAN address with--auth-required, no session-key injection and real protected backend routes. Open that origin in a new browser tab with--allow-external; its Add a backend step defaults Host Name toLocal. Authenticate only with the private run key file, continue once and skip the remaining setup, then inspectbackend-selector. Expected: the default name identifies the backend's host on a remote origin. Known failure, reproduced 2026-10-12: the selector reads Connected Local on the non-loopback origin (#16297). This is a LAN-origin check, not a VM deployment claim. Stop only the owned fixture frontend and return to the original tab.
Gotchas
Export the second run as
OH_VERIFY_RUN_2and pass it with--run; never export it asOH_VERIFY_RUN, or the browser commands look for a browser that run does not have.OH_VERIFY_RUN= control-openhands launch --new ...keeps the launch from reusing this run.The second backend asks its own telemetry consent the first time it becomes active, over whatever page you are on;
onboard --skipanswers it. Consent is stored per backend, so a laterrestartof the second run does not ask again.browser fill <sel> --value-file FILEtakes no positional value; it keeps the key out of the shell history and the evidence. Edit forms show the stored key masked, butbrowser snapshotof the Edit form prints it in clear: do not save that snapshot as evidence with a real key.Manage-row test ids use the backend name (
manage-backends-row-QA_Second), so they change after a rename and are not unique when two backends share a name; the Cloud Log back in id uses the backend id instead (manage-backends-login-<id>-login-button).Selector options are named
<status> <name>(Connected Local,Disconnected QA_Renamed): select them withrole=option[name="Connected <name>"].After a navigating option click,
--expect-urlmust allow?backend=...: end regexes with(\?|$).browser wait-tab <regex>matches any open page, including the current one, unless--newleaves out the tab the daemon is on: for a second tab at the same URL (/conversationsfrom New Chat) usewait-tab '/conversations$' --new, or readbrowser tabsand switch withbrowser tab <i>.browser tab new /conversationsopens a plain second tab (no opener, empty sessionStorage), the state a user reaches by opening the app again. Close extra tabs highest index first, or the indexes shift under you.browser tab newswitches the daemon to the tab it opened, so await-tab <regex> --newrun right after it reports the tab you came from (index0with two tabs);browser tab 0first when you want the new tab's index fromwait-tab. Atab newand aclick --modifiers Controlon New Chat reach the same state (selector from the localStorage fallback, sessionStorage itemnull).A tab opened with
click --modifiers Controlstarts with an empty sessionStorage, so it boots from the localStorage fallback (the backend last chosen in any tab) unless its URL carries?backend=. Opening a?backend=link writes that backend to localStorage too: a per-tab check that relies on "last choice" must run before opening pinned links.The Add Backend Agent-server form has no inline "required" messages; it only disables Connect. The messages exist in the Edit form.
Footer clicks from the collapsed popover or the phone drawer open the modals a moment later:
browser waitfor them instead ofcount.With the default host the device flow talks to the real
app.all-hands.dev(POST /oauth/device/authorize, then token polling). Starting and cancelling is harmless; approve a code only in the Cloud backend bullet, with an account you may use.While the second stack's agent server is stopped or restarting, its ingress answers without CORS headers, so the browser logs
Access to fetch at '<second-url>/api/settings' ... blocked by CORS policy(also/server_info,/api/conversations/search,/api/llm/models/verified). That is the dead upstream, not a CORS bug; a healthy second stack sendsaccess-control-allow-originfor this origin.Expected: Escape never clears the backend selector. Known failure (reproduced 2026-10-09, 2026-10-12, 2026-10-13, 2026-10-14 and 2026-10-17, #18233): Escape on the focused backend selector while its menu is closed (a second Escape after the one that closes the menu, and sometimes the Escape that closes Manage Backends opened from it) clears the selection: the closed selector shows the active backend's name as an italic placeholder (
browser value 'testid=backend-selector >> role=combobox'is"") and its status dot is gone, sobrowser wait 'testid=backend-selector >> role=status[name="Disconnected"]'times out although the backend is down; a reload restores it. Reload before a closed-selector status check, as the Edit bullet does. Repro:browser click 'testid=backend-selector',browser press Escapetwice (#18233). On 2026-10-12bug proofverified fix PR #18238 at 77de0ad24 against main f07aebdf5 (twoxfail, twoxpass, desktop).control-openhands bug run F25.selector-dropdownreplays it (desktop, after a reload with the mouse off the selector: a reload under a mouse left on it opens its menu and empties its field, which would look like the bug) and reportsxfailwhile the bug lasts:control-openhands browser viewport desktop control-openhands browser goto / control-openhands browser hover 'testid=root-layout' control-openhands browser reload control-openhands browser wait 'testid=backend-selector >> role=status[name="Connected"]' --timeout 15000 control-openhands assert --field value --equals Local -- browser value 'testid=backend-selector >> role=combobox' control-openhands browser click 'testid=backend-selector' control-openhands browser press Escape control-openhands browser press Escape control-openhands browser screenshot 'testid=backend-selector' --feature F25.selector-dropdown --name escape-closed control-openhands assert --field value --equals Local --bug-shows '' -- browser value 'testid=backend-selector >> role=combobox' # bugLocal and remote backends are probed every 30 s (settings + server_info), Cloud backends every 5 min (#18128), so allow up to 40 s for a local dot to change.
browser network --clear, wait about 70 s, thenbrowser network --filter server_infoshows two probes per local origin 30 s apart. While the active backend is down, any reload lands on the recovery gate: drive the disconnected rows on the page that was already loaded./oauth/device/verifyis a Cloud page that also ships in Canvas: on a local stack its POST target does not exist, so Authorize always ends inError. The "Authentication Required" state is unreachable (useIsAuthedalways resolvestrue).The add bullet's
network --external --filter 'ids='check guards an earlier race: #18390 tracks the same first-activation symptom; on a backend's first activation from/conversations/<id>, about 1 attempt in 5 asked the new backend for the old conversation id. It did not happen in 15 first activations at 4eff80237: each timeQA_Secondwas removed, its consent unset withcontrol-openhands api PATCH /api/settings --run "$OH_VERIFY_RUN_2" --write --data '{"misc_settings_diff":{"app_preferences":{"user_consents_to_analytics":null}}}'(arrange only) and the backend added again from/conversations/<id>. A backend that lacks an id answers[null], which now reads as "not found" (only theThis conversation does not exist…toast), not as incompatible data. No merged change was shown to fix the race itself (#18009 only changed how a[null]answer reads; #18024 only moved the redirect into a shared hook, still called afteraddBackend), so a hit (anids=request to<second-url>) is a bug to file. At 95115e84f6dd it hit on 1 of 2 first activations from/conversations/<id>(oneGET <second-url>/api/conversations?ids=<id>answered200, with noThis conversation does not exist…toast after it). The hit followed a failed Connect in the same modal (an empty key,Invalid API key) before the successful one; the clean retry, which connected once, had none, so a repro should try both sequences. On 2026-10-08 at d2c89252d it did not reproduce in 17 first activations (8 clean, 9 failed-then-clean, some under CPU load and some human-paced): everyids=capture was empty, and no merged change touched the activation logic since the hit, so it stays a watch item rather than a filed defect. Record the Add bullet asfailwhen the request appears, even though the redirect and the selector look right. Known failure (reproduced 2026-10-13, #18390): two independent first activations hit it that day, each the run's first activation ofQA_Secondafter a clean Connect. On 2026-10-13 at 2bdc0e9d6 it hit on 1 of 6 first activations from/conversations/<id>: the first one of the run (GET <second-url>/api/conversations?ids=<id>200, no toast), a clean Connect in a modal opened after earlier failed Connects in other Add Backend openings; the next 5 (2 failed-then-clean, 3 clean, plus one Manage → Add) had none.Add Backend and Manage Backends take and keep keyboard focus, and Edit backend takes it on open (
ModalBackdrop; at phone width open the selector with'testid=sidebar-mobile-drawer >> testid=backend-selector', since the bare test id matches two selectors). Focus returns to the selector input when they close (at phone width the drawer's selector, with the drawer still open), so an Escape pressed after closing lands on the selector and can trigger #18233 below.Toasts are not page or HTTP errors, so
browser errors --app-onlymisses them: readbrowser toasts --historyafter every add or switch, before anything reloads the page (the history starts with each page load).F25.locked-cloudneedsscripts/static-server.mjs --lock-to-cloud <url>, which neitherbin/agent-canvas.mjsnorcontrol-openhands launchcan pass: start it by hand as in F01's Locked Cloud first run bullet, which also signs in (a Cloud account). On that pagebrowser click 'testid=backend-selector':browser text 'testid=manage-backends-menu-item'isReconnect to Cloudandbrowser count 'testid=add-backend-menu-item'is0; the command menu lists only Settings and Application settings under Settings.The Cloud tab title truncates to
OpenHan…at 390 px when the Agent-server tab is selected; the layout still fits. With the Providers tab present all three titles are cut to three letters.A token DigitalOcean rejects surfaces as the bare
401 Unauthorized, with no hint that the token is wrong or lacks scopes.Known issue #18029 (
F25.locked-cloud): A returning user in a locked Cloud deployment can reach the no-backend placeholder and fail to start conversations despite a healthy configured backend. The report proposes a stale document or alternate origin but does not capture which occurred. Recheck against the affected locked deployment with a Cloud session, its exact origin, cache response headers and injected host state; the normal local launcher does not reproduce this deployment condition.Known issue #17390 (
F25.cloud-sandbox-states): Every sent Cloud message can fail withtoken_not_found_in_dbfrom the model proxy. Recheck with the affected Cloud account/session and a minimal no-tools prompt; capture the error type with provider token text and hashes redacted. The report supplies no deployment version or deterministic token-provisioning sequence, and this run has no Cloud account.Known issue #17163 (
F25.cloud-sandbox-states): A Free Cloud account can lose access to previously usable models with HTTP 403 and a team-restriction message despite no team being created. Recheck with the affected account and its model entitlement/org history; local credentials cannot prove Cloud eligibility and this run has no such account.Known issue #16874 (
F25.cloud-sandbox-states): A failed resume of a paused Cloud sandbox was reported to consume a one-shot guard and leave chat disconnected until remount. Current source uses a retrying resume hook, so recheck the original failure and a second pause in one route mount before concluding resolution. Blocked without a real paused Cloud sandbox and a controlled one-request backend/network failure; source changes alone are not a live pass.Known issue #15676 (
F25.cloud-sandbox-states): Refreshing an approximately 24-hour-old Cloud conversation on Vercel can fail to resume/reconnect. Recheck an authenticated affected Cloud deployment with an aged sandbox/session and exact console/network error; the report omits its commit and failure text, and no aged Cloud fixture is available here.Known issue #15822 (
F25.switch-backendF25.health-statusF25.cloud-org-rows): Cloud-proxy traffic was reported to continue after switching from Cloud to Local. Current source probes registered inactive Cloud backends on a five-minute cadence; recheck the reported repeated OPTIONS behavior with a real registered Cloud account/org and capture only credential-redacted request metadata after switching. This run has no authenticated Cloud backend.Known issue OpenHands/automation#565 (
F25.cloud-org-rows,F25.cloud-org-suspended): An org-scoped Cloud automation request with an unauthorizedX-Org-Idcan turn the identity service's 403 into a misleading 502/outage page. Recheck with an authenticated Cloud org-bound key and a disposable unauthorized organization id, comparing automation list and the identity response while preserving credential redaction. Local mode bypasses this identity service and cannot reproduce it.Known issue OpenHands/software-agent-sdk#5789 (
F25.add-agent-server,F25.health-status): a deferred-init Agent Server can report ready after accepting a GUI origin through/api/init, while browser preflights from that origin still fail and Canvas cannot connect. Recheck an owned warm-pool server initialized with the actual non-localhost Canvas origin and compare admission with an origin supplied at server boot. The default loopback-origin stack is already allowed and cannot exercise this branch.Known issue #18517 (
F25.digitalocean-agents): the signed-in DigitalOcean controls (New Agent, refresh, expand and new-session icons, agent-open and session-open rows) draw a fixed blue focus outline instead of the theme focus color (src/components/features/backends/managed-agents/digitalocean-connect-panel.tsx). Live prerequisite: an authorised DigitalOcean team with a Managed Agents agent and at least one session.Known issue OpenHands/software-agent-sdk#6053 (
F25.cloud-sandbox-states): after an actual Cloud sandbox pause, sockets can remain attached to the discarded conversation. Live verification requires an authorized Cloud sandbox with genuine pause/resume and its original conversation; closing a Local browser socket is not the same scenario.