Repository navigation
fix(ui): keep Gateway downtime visible without losing drafts - #191935
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Contributor
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
vincentkoc
marked this pull request as ready for review
November 3, 2026 16:28
…in the phone header
Preserve both serial browser inventories and approved connection branding. Remove an unsupported SVG attribute and index reduced-motion selectors. Co-authored-by: vincentkoc <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Use terminal failures for login credential and manual connection cases. Assert shell selection during automatic retries and startup. Co-authored-by: vincentkoc <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
This was referenced Nov 7, 2026
This was referenced Nov 7, 2026
This was referenced Nov 7, 2026
This was referenced Nov 7, 2026
This was referenced 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.
Related: #191925
The Control UI now opens its normal shell while the Gateway starts or reconnects. Existing conversations retain their shell and draft; genuine authentication failures still use sign-in. Navigation becomes available with the connection, and manual recovery appears after automatic recovery stops.
Available app documents and static assets remain usable during startup and drain. Dynamic requests, OAuth callbacks, and proxy attribution retain their existing owners. When the app document is unavailable, an asset-free page retries the same URL automatically, including when a previously resolved UI directory loses its index. The approved desktop/mobile layout and designer wordmarks are retained.
Validation on Tempbook after integrating main:
Corrected three Gateway lineage expectations attributable to this PR: automatic non-auth retries keep the shell; credential re-scoping and manual connection fixtures now enter a terminal login state. All 11 existing lineage cases pass (5.57 s wall with
pnpm test ui/src/app/app-host.gateway-lineage.test.ts --maxWorkers=1), as do targeted oxlint/format and UI-app test types (8.45 s). Credential/owner boundaries and existing authentication and warm-boot coverage are unchanged. This follow-up changes only the test file; no new build or broad suite was run.Retained both serial browser-test entries in the sole merge conflict. The three inventory cases pass (9.82 s). The 31 connection/warm-boot UI cases pass (4.51 s), and all seven startup HTTP cases pass (36.93 s), including OAuth ownership and missing-index/root recovery.
Removed an unsupported decorative SVG attribute and expanded the reduced-motion selectors without changing specificity or appearance. Both original type/lint failures are resolved; the 13 connection cases pass again (3.19 s). UI/core/tooling types and focused lint/stylelint/format checks pass. The test allocation remains 1328 lines, with no scalar increase or new tests; test-line and source-line caps pass.
Earlier proof at
e31662b19c4is retained for unchanged paths: 100 HTTP/routing, 10 browser, and three isolated real-Gateway cases, including actual SIGUSR2/socket reconnection with shell, URL, and draft retention. Those results and the full independent source review are historical evidence, not current-head CI. The two HTTP findings from that review were reproduced and fixed. This integration needed no new behavior or design decision and no repeated full review or E2E suite.The merge preserves main's ingress/runtime changes,
InlineAlertstandardization, and sidebar behavior, plus all four collaborator branding commits. The production UI build passes. Authorized asset-budget overruns: startup JS gzip +206 B, largest JS gzip +3,316 B, total CSS gzip +936 B/raw +2,648 B, chat boot JS gzip +4,173 B, and new-session boot JS gzip +4,495 B. Hosted CI remains pending; no full UI/E2E suite, full generated-locale parity, binary upgrade, or host reboot was run. Earlier CI's unchanged lazychat.sessionSharing.shareexpectation and startup-only logs are not claimed fixed. Local times usepnpm test … --maxWorkers=1; hosted CI seconds are not yet available.The connection view centers its title and line under the OpenClaw mascot, whose slow bob, claws and eye scan are the busy indicator; the phone header, right above it, shows only the text wordmark, while the sidebar keeps the full lockup. The captures use the source UI with a held mock Gateway connection at desktop/mobile widths and reduced motion, so the mascot rests on its ground. Main has no held-connection view under the same mock, so they are after-only.
Source contributions: vincentkoc and vyctorbrzezowski. Original contribution commits and human coauthor trailers are preserved.
Earlier evidence: implementation discussion, earlier verification, original-implementation restart run. Those historical results are not current-candidate proof.