Repository navigation
refactor(tests): remove unused chat rendering adapters - #173102
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
marked this pull request as ready for review
October 15, 2026 11:58
vincentkoc
enabled auto-merge (squash)
October 15, 2026 12:03
Member
Author
|
Merged via squash auto-merge.
|
This was referenced Oct 15, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 16, 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
Chat test support still contains unused Lit adapters after the tests migrated to direct Solid rendering.
User Impact
No user-visible change. Production components, test cases, and assertions are unchanged.
Why This Change Was Made
Remove the orphan attachment and composer-question helper files and the unused message-content adapter. Keep the activity-group and message-group helpers and their public re-export, which still have test consumers.
This finishes leftover test support from #171625, #171586, and #171892. Repository-wide reference checks found no consumers of the four removed helpers. The diff removes 36 lines net from test support only.
Evidence
ab83bac78fd4444602b6ea35da23f761d78ee26c, based ond38e32f10740aebbc897d41479d0140119ce8039.chat-attachments.test.tsx,chat-attachment-inputs.test.tsx,chat-question-card-loading.test.ts,chat-message-group.solid.test.tsx, andchat-message-embed-policy.test.ts.node scripts/run-vitest.mjs --config ui/vitest.config.ts <keeper files> --maxWorkers=1, on Linux with Node 24.19.0 and a checkout-owned frozen install.git diff --checkpassed. Changed-file classification identifies only UI test support.node scripts/run-oxlint.mjs --tsconfig ui/tsconfig.json ui/src/pages/chat/components/chat-message-group.test-support.ts, including its SDK declaration prerequisite.d90ba712b2ad78d449ca1a1c451257e367eb4554. GitHub reports MERGED, and the squash was verified on main.