Repository navigation
fix(ui): keep automatic reconnection status stable - #179642
Merged
Merged
Conversation
vyctorbrzezowski
marked this pull request as ready for review
October 21, 2026 15:35
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
vyctorbrzezowski
enabled auto-merge (squash)
October 21, 2026 16:49
vyctorbrzezowski
disabled auto-merge
October 21, 2026 17:08
Member
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
This was referenced Oct 21, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 22, 2026
* fix(ui): keep automatic reconnection status stable * fix(ui): use sidebar spinner for connection recovery * test(ui): preserve offline retry in identity menu coverage * fix(ui): match connection spinner color to its label
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 Problem This Solves
Fixes: the Control UI connection footer shows a redundant Retry button during automatic reconnection, with a spinner appearing and disappearing between attempts and a status icon sitting above its label.
User Impact
Automatic recovery uses the sidebar's standard spinner in the same color as its label. It remains aligned and stable between attempts. Manual Retry remains available for disconnected states and uses a neutral button. Required page refreshes keep their separate action and static icon.
Why This Change Was Made
The Gateway already distinguishes automatic reconnection from recovery that has stopped. The shared status component now uses that distinction instead of exposing attempt/backoff timing as a second button spinner. It reuses the existing sidebar spinner and reduced-motion behavior, locally inheriting the label color through currentColor. The icon scales with the text in the sidebar, mobile header, and settings.
Evidence
Current-head CI attribution
UI shard 3/3 failed two newly added pending-chat retention cases while waiting for their initial transcript, before pending creation begins. They entered main in #175291 and are absent from this PR's original base. The entire chat source tree and the context/Gateway test fixtures are byte-identical between the tested main parent and CI merge. The test mounts the chat page directly with its Gateway status left null; it does not execute the shell or connection-footer path. None of this PR's changed tests ran in that shard.
This failure is unrelated to the diff by module scope. Its CI/Linux or wider-order mechanism remains unresolved: the exact baseline file passed 2/2 locally, and the immediate CI predecessor followed by that file passed 4/4 in the recorded order. Those passing replays do not prove a fix. No test was weakened, no production repair was invented, and CI was not rerun for green. Native admission retains the failed CI and verifies the applicable exception, current head, authority, security, and required review gates.
Risk and coverage
Browser flows use the real Control UI and connection owner against a synthetic WebSocket Gateway. Terminal handshake rejection correctly retires the shell, so offline Retry was additionally checked at the public sidebar-component boundary: neutral appearance and keyboard activation invoke its callback. That fixture is not a full live-Gateway manual reconnect. No transport, admission, or reload policy changed.
The paired captures below compare the color adjustment under identical normal-motion conditions; screenshots freeze one frame. Reduced motion intentionally stops the existing platform spinner and is not mixed into these pairs.