Skip to content

fix(ci): remove unused chat activity test adapter - #174173

Closed
steipete wants to merge 1 commit into
mainfrom
solid2/hf-chat-group-deadcode-388879
Closed

steipete wants to merge 1 commit into
mainfrom
solid2/hf-chat-group-deadcode-388879

Conversation

@steipete

@steipete steipete commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes the unused-export CI failure for renderActivityGroup in scheduled main run 38887900861.

User Impact

No user-visible change. This removes a stale test adapter that blocks the shared dependency check.

Why This Change Was Made

Activity-group tests already use their own native Solid fixture. Remove the unused Lit test adapter and its sole private component; retain the message-group adapter used by connection-lifecycle tests. No new ignores or dependencies.

Evidence

Check Result
pnpm tsgo:ui Passed
node scripts/run-vitest.mjs ui/src/pages/chat/chat-pane-connection-lifecycle.test.ts --maxWorkers=1 17/17 passed
Targeted lint, formatting, git diff --check Passed
Independent review No actionable findings
pnpm deadcode:exports Production and scripts: zero entries. Full tree confirms renderActivityGroup removed, but reports inherited ui/src/e2e/config-composer-fixtures.test-support.ts: proofCapture; covered by #174181.

LOC: test-support file 45 → 31 lines (+1/−15); production change 0 lines. No visual, runtime, startup, or lazy-loading changes, so no screenshots or UI build are needed. Full CI requested with ci:full because the path is under chat.

The same scheduled job also reports src/media/media-facts.ts: readRuntimePromptImageOrder, outside this UI/Android fix's scope.

Exact-head CI run 38894766364 completed: 55 checks passed, including all three UI unit shards, eight UI E2E shards, both real-Gateway shards, and security. The two failed non-aggregate jobs are inherited: assertion-safety requires shrinking the unrelated src/media/media-facts.ts baseline (14 < 16), and five model-providers-layout.e2e.test.ts width cases omit the existing Utility Fallback Model from their exact row expectation. CI baseline 5b1d81e30585a21bd9b9facfa7f9e9c3b225a07c and tested merge 2d7f243d722da0f783402c64fe33f4cca67d4830 have identical relevant source, test, and baseline objects. The tested merge differs only by this adapter deletion. Native inherited-failure admission will retain these failures rather than mark them green.

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T11:37:22.224323Z 84690c3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 16, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Removes the unused Lit activity-group test adapter while retaining the message-group adapter.

Example: Activity-group tests render the native Solid component.

  • Before: The unused exported renderActivityGroup adapter remains in test support and triggers the unused-export check.
  • After: The obsolete adapter is removed; native activity fixtures and connection-lifecycle rendering remain intact.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, narrowly scoped test-support deletion with verified consumer preservation and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: Maintainer-directed test-support deletion has no shipped behavior change; source references and reported retained-consumer tests support the removal.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: An obsolete test export fails the shared dependency check.
Reason: The maintainer-directed cleanup removes an unused migration remnant without weakening checks or changing production behavior.

Merge readiness

✅ Ready for maintainer review

This PR removes a genuinely unused test adapter without changing production rendering or retained test consumers; no actionable patch defect was found.

Priority: P3
Reviewed head: 84690c3db45162f93a17097409b2923fe89d271e

Before merge

None.

Findings

None.

Agent review details

How this fits together

Control UI test support bridges Lit fixtures to Solid chat components; activity tests now mount Solid directly, while connection-lifecycle tests still consume the retained message-group bridge.

flowchart TD
  A[Activity tests] --> B[Native Solid fixture]
  B --> C[ActivityGroup component]
  D[Connection lifecycle tests] --> E[Retained message adapter]
  E --> F[MessageGroup component]
Loading

Technical review

Best possible solution:

Land the focused adapter removal through the native inherited-CI-failure admission path.

Do we have a high-confidence way to reproduce the issue?

Source inspection confirms the unused export on fetched main and the absence of consumers; the scheduled job records the unused-export check failure, but no local check was run.

Is this the best way to solve the issue?

Deleting the orphan adapter is the smallest complete repair and preserves the independently used message-group bridge.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against d3c8f283d418.

Provenance checked

  • Chat activity test adapter changes intended behavior with a stated reason (4e3818b: The Solid transcript migration retained Lit adapters for existing callers; subsequent native fixture migration removed the activity adapter's consumers.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit c5b1c31 adds ui/src/pages/chat/components/chat-message-group.ts:1 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c5b1c315d052; files: ui/src/pages/chat/components/chat-message-group.ts)

PR surface

Tests -14. Total -14 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 15 -14
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 15 -14

Labels

Label changes:

  • add P3: Focused test-support cleanup repairs an unused-export check without changing user behavior.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: Focused test-support cleanup repairs an unused-export check without changing user behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 16, 2026, 8:08 AM ET / 12:08 UTC.

@steipete

Copy link
Copy Markdown
Contributor Author

Superseded by #174068, merged as def9a18. That change deletes ui/src/pages/chat/components/chat-message-group.test-support.ts entirely and migrates its remaining connection-lifecycle test caller to the native Solid harness, so renderActivityGroup and its wrapper are already gone from main.

This PR's native landing stopped before dispatch on the resulting modify/delete conflict; no merge request or auto-merge intent was created. Closing this narrower cleanup as redundant rather than restoring the retired module. Its focused connection-lifecycle proof passed 17/17, and all UI unit and real-Gateway shards passed in run 38894766364. The separate unused fixture export and Models expectation repairs continue in #174181 and #174188.

@steipete steipete closed this Oct 16, 2026
steipete added a commit that referenced this pull request Oct 16, 2026
The Talk media-owner refactor in 19a4ee3 (#174105) kept dropping
DOMException causes so the UI formatter would not append native details
to translated guidance. Moving that throw inside catch required a new
preserve-caught-error suppression and broke the fixed inventory on main.

Add UserFacingError to the existing UI formatter owner: its message is
complete presentation text, still redacted, while its cause is retained
for diagnostics. Talk supplies the native cause. Ordinary Error formatting,
localized messages, cancellation, and device selection remain unchanged.
Remove the suppression without changing any allowlist or ratchet baseline.

The camera boundary regression fails before the fix because cause is
undefined (6.43s). All 41 focused tests pass (20.55s), with the existing
assertions retained; corrected input test passes again (3.37s). UI build,
production and test types, type-aware/boundary lint, formatting, full
architecture checks, assertion safety, and isolated P2 review pass.

The two unrelated full-tree deadcode findings are covered by #174173 and
#174181. The earlier media-facts assertion allowance was already corrected
by d8a406e; this commit changes no baseline.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
…#174200)

The Talk media-owner refactor in a4fdc0c (openclaw#174105) kept dropping
DOMException causes so the UI formatter would not append native details
to translated guidance. Moving that throw inside catch required a new
preserve-caught-error suppression and broke the fixed inventory on main.

Add UserFacingError to the existing UI formatter owner: its message is
complete presentation text, still redacted, while its cause is retained
for diagnostics. Talk supplies the native cause. Ordinary Error formatting,
localized messages, cancellation, and device selection remain unchanged.
Remove the suppression without changing any allowlist or ratchet baseline.

The camera boundary regression fails before the fix because cause is
undefined (6.43s). All 41 focused tests pass (20.55s), with the existing
assertions retained; corrected input test passes again (3.37s). UI build,
production and test types, type-aware/boundary lint, formatting, full
architecture checks, assertion safety, and isolated P2 review pass.

The two unrelated full-tree deadcode findings are covered by openclaw#174173 and
openclaw#174181. The earlier media-facts assertion allowance was already corrected
by ac578b3; this commit changes no baseline.
@RomneyDa
RomneyDa deleted the solid2/hf-chat-group-deadcode-388879 branch October 22, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant