Repository navigation
fix(ui): explain Dashboard disconnect notices when the widget sandbox never responds - #193029
Merged
hannesrudolph merged 5 commits intoNov 6, 2026
Conversation
When a Dashboard widget's outer sandbox frame never reports ready, the card kept only the short "Disconnected" notice even though the Gateway stayed connected. For derived non-loopback sandbox origins, keep that short notice and add a collapsed "More info" disclosure noting the gateway might run behind a proxy or tunnel that doesn't route the sandbox port, with the mcp.apps.sandboxOrigin fix that previously appeared only after repeated authorization failures.
Member
Author
Contributor
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
daniel-lxs
marked this pull request as ready for review
November 4, 2026 22:31
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
…ts and allocate test-line growth
Total Control UI CSS has a fixed raw ceiling; the wrap and paragraph rules put this PR 87 B over it. The rarely shown notice state now uses inline styles, rendering identically with no stylesheet growth.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 7, 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.


Closes #193027
Related: #116680
What Problem This Solves
Fixes: Dashboard cards show only “Disconnected” when the widget sandbox never reports ready on a non-loopback Gateway with no mcp.apps.sandboxOrigin configured, even while the Gateway stays connected.
User Impact
The card keeps its short reconnect notice and adds a collapsed “More info” hint pointing to mcp.apps.sandboxOrigin. If the proxy or tunnel doesn't route the sandbox port, the operator can see that they need a dedicated public origin routed to the sandbox listener. The hint explains a possible cause; it doesn't repair the route automatically.
Why This Change Was Made
The existing sandboxOrigin guidance appears after repeated authorization failures. An unreachable outer sandbox never gets that far. This adds guidance to the readiness-timeout path, without showing it for an explicit sandboxOrigin or a loopback host. The disclosure stays collapsed so the card remains readable.
Evidence
Inspected commit 669a0ff against its base, aeeff2c. The added regression cases cover a connected remote Gateway whose outer sandbox never announces readiness, checking the collapsed hint with no sandboxOrigin and its absence with an explicit sandboxOrigin.
On November 4, 2026, git apply --check --verbose passed for all four changed files against upstream main at 70805b3. The check used files fetched at that exact revision in a temporary directory; it did not change the branch or shared checkout. This establishes patch applicability, not runtime correctness.
The two board widget test files pass (30 tests, including the collapsed-until-opened check). oxfmt and ui:i18n:verify pass. Screenshots came from a mocked gateway (before/after images follow in a comment).
Test-line allocation
config/test-lines-allocations/dashboard-sandbox-origin-guidance-193029.txtallocates 28 lines, the net test growth after the frame tests started sharing one connected-gateway context. It covers the new ready-deadline notice with and without an authoredsandboxOrigin, which no existing test reaches.