Skip to content

fix: align reconnect browser tests with recovery status - #179803

Merged
shakkernerd merged 2 commits into
mainfrom
test-reconnect-status-contract
Oct 21, 2026
Merged

shakkernerd merged 2 commits into
mainfrom
test-reconnect-status-contract

Conversation

@shakkernerd

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes browser checks that still expected a manual Retry action while the Control UI was already recovering automatically. Those stale waits began failing after the connection status deliberately became a continuously visible, non-interactive recovery indicator. A related spinner check also sampled its transform at the same phase after a complete animation cycle, so valid motion could fail at larger text scale.

User Impact

There is no product behavior change. Contributors get browser coverage that matches the current connection contract: automatic reconnection remains non-interactive, manual Retry remains owned by the established offline-state component case, and queued-send, session membership, navigation, owner filtering, and recovery assertions remain enforced.

Why This Change Was Made

The affected scenarios now wait on the visible reconnect status instead of a removed button or menu command, then let the existing automatic recovery path complete. The session lifecycle scenario still exercises an actual application Gateway client replacement through the repository's existing replacement helper, rather than using the retired reconnect-time UI action.

The spinner assertion observes the real iteration boundary and samples the following animation frame. That distinguishes animation phases without incorrectly requiring a full cycle by itself to produce a different transform. Its paused-animation control, running state, time advancement, color, alignment, text-scale, theme, mobile, and reduced-motion checks remain intact.

Evidence

  • Reused the exact scheduled browser failures at d5621d9 as the negative baseline; the relevant production owners and failing consumers were unchanged on the branch base.
  • Focused remote lint and formatting passed on the final tree in 11.507 seconds.
  • The selected UI E2E type graph passed in 18.022 seconds.
  • All 12 affected browser parameter cases passed by applicable exact-input execution. The corrected spinner rows passed at both 100% and 140% text scale, and the client-replacement scenario passed with its membership-retirement assertion intact.
  • The unchanged public-sidebar control passed 1/1, proving Retry is absent while reconnecting and invokes its callback only when the owner publishes the offline state.
  • No timeout, retry, worker, skip, assertion, production, configuration, schema, dependency, or workflow setting changed. Hosted CI and independent review continue on the published head.

@clawsweeper

clawsweeper Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@shakkernerd shakkernerd self-assigned this Oct 21, 2026
@shakkernerd
shakkernerd merged commit 86f66e5 into main Oct 21, 2026
77 of 79 checks passed
@shakkernerd
shakkernerd deleted the test-reconnect-status-contract branch October 21, 2026 19:18
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Fixed: Reconnect browser coverage now matches automatic recovery while preserving offline Retry, queued-send, session, navigation, and animation guarantees.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 22, 2026
)

Aligns Control UI reconnect browser coverage with automatic recovery while preserving offline Retry, queued-send, session, navigation, and animation guarantees.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant