Repository navigation
fix(test): restore Side chat hydration and retry checks - #205376
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review endedClawSweeper stopped reviewing this revision because the pull request closed. |
vincentkoc
marked this pull request as ready for review
November 25, 2026 13:42
vincentkoc
enabled auto-merge (squash)
November 25, 2026 13:44
Member
Author
|
Merged via squash auto-merge.
|
vincentkoc
added a commit
that referenced
this pull request
Nov 25, 2026
* commit '92569e37ab84a8cb1e4a12c3dcbb45acb97977c9': fix: distinguish Desktop sources without wrapping their names or IDs (#203747) fix(ui): Greek sigma searches miss matches outside Sessions and Files (#189518) fix: keep agent skill names on one line beside their switches (#203734) test(cron): admit scheduled occurrences in cron fixtures and fix Node 24 toHex in Vitest (#205383) fix: keep the Agents menu usable after copying an ID (#203739) fix(whatsapp): preserve code table spaces across message chunks (#205327) refactor(cron): admit legacy scheduled requesters through operator admission (#205346) fix: keep silent Codex turns healthy with running commands (#196062) test(update): verify the recorded preparation failure (#205363) fix(test): prove sibling imports on the active update path fix(chat): complete mentions without leaving part of the name behind (#205326) fix(test): restore Side chat hydration and retry checks (#205376) refactor: plugin-run turns get owner status from commands.ownerAllowFrom, like text messages (#205373) chore(ui): refresh control ui locales (#205378) fix: keep Telegram rich <details> and list blocks in one message when replies stream in chunks (#205318) refactor(gateway): one refusal owner with a required next step (#205337) fix(discord): keep long table labels bold across messages (#205328) feat: invitation, sharing and participant controls in the Control UI (#204920) fix(test): distinguish stamped Skill Library upgrade policies fix(markdown): preserve trailing inline-code spaces in plain-text tables (#205317)
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 26, 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.
What Problem This Solves
The Side chat Gateway tests fail before reaching the behavior they are meant to verify. Their partial client fixtures omit required connection metadata, so operator admission throws before hydration or typed retry handling. This breaks seven cases covering successful hydration, cancellation, disconnects, and retry details.
User Impact
This restores the Side chat regression checks on main. Runtime behavior, authorization, and user configuration are unchanged.
Why This Change Was Made
Reuse the existing Gateway client fixture builder in the two affected tests, with an empty scope list. This supplies the required connection contract without granting extra authority or weakening the existing assertions. The explicit invalid-request and missing-connection cases remain intact.
Evidence
Reproduced on frozen main
d86ffd3b6520b534792e229f57813159742fcc85: both files ran; 7 failed and 14 passed in 140.12 seconds.A temporary diagnostic on the original source exposed
TypeError: undefined is not an object (evaluating 'client.connect.role')atoperator-run-authority.ts:303, reached fromsession-companion-rpc.ts:286. The diagnostic source was restored.Original main failure: scheduled CI run 45604380188. The required connection read was introduced with the authless local socket admission change.
Fixed tree
efb80b672ee399e69118501445d759ca9934c37a(commita0847c97fea81c1a898003e0b0aaf2d9a8a43bcf): all 21 tests in both affected files passed in 87.63 seconds, including the seven baseline failures. Targeted oxlint reported zero warnings/errors and oxfmt passed.Gateway-root test typecheck and clean-source verification passed on the same commit in a separate Linux run. The earlier run lost its transport after tests/lint/format; it is not counted as a completed typecheck.
Fresh independent local review of the exact commit found no issues (confidence 0.96). Production source and test assertions are unchanged.
Broad PR CI is pending.