Skip to content

build(ui): upgrade Solid to 2.0.0-rc.14 - #169247

Merged
steipete merged 13 commits into
mainfrom
solid2/w-upgrade-solid
Oct 12, 2026
Merged

steipete merged 13 commits into
mainfrom
solid2/w-upgrade-solid

Conversation

@steipete

@steipete steipete commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Moves the Solid 2 migration from rc.13 to the rc.14 toolchain validated by the original spike, preserving existing rendering and lifecycle behavior under its stricter ownership rules.

User Impact

The Control UI and Canvas, X, and Workboard use exact rc.14 pins. No intended visual or interaction change, route change, or selector change.

Why This Change Was Made

Peter approved a one-time exception to the seven-day dependency cooldown. Every exception is pinned to rc.14, including the native compiler packages, with removal after 2026-10-15T02:13:16Z. Vite stays at next.47: its build works with rc.14. A narrow override aligns its transitive Babel compiler to rc.14. The generated X/Workboard asset fingerprints were rebuilt through the owning builder.

rc.14 now rejects creating reactive primitives implicitly in an effect callback. Channels restores its component owner while binding projections. After merging current main, the canonical retained-content owner now captures the creator for Lit commits, nested Solid roots, and reconnection; Markdown media creation restores its component owner too. The avatar directive explicitly permits its intentional publication under that owner. Readonly tuple annotations follow rc.14's improved inference. The snapshot test now returns fresh JSON-shaped responses rather than mutating objects already wrapped by a store; assertions are unchanged. The Solid lessons document these upgrade contracts and the relevant changes from the official changelog.

Release-note context: approved rc.14 cooldown exception; no dependency-age relaxation for other versions. No new runtime dependency or UI abstraction.

Evidence

Landing status: merged as f9d2ebefe12f764b2393bba76920d803e374b856, verified on origin/main. Final exact-head CI 38189001298 passed for d69f671f29e2fb171ba34eec65570f459a0c2ac9, including openclaw/ci-gate. Native recovery retired the stale auto intent and landed through the completed-evidence path; auto-merge was not re-armed and no final CI exception was needed.

The final integration also fixes two rc.14 regressions: board documents restore the creator owner before a synchronous prepared-session bind, and widget error fallbacks publish only the transition into failure. The latter prevents a render/error/update CPU loop. Dashboard plus board-document tests pass 13/13 (5.84 s); the collapse case passes on rc.13, hung on rc.14 before the fix, and passes afterward. These contracts are recorded in the Solid lessons. Canonical projection restoration from main is included without a parallel implementation. The plugin fallback also restores its component owner while committing opaque Lit templates: the chat lifecycle case failed on rc.14 before this fix, then all 16 cases passed. The 27 plugin/bridge cases pass as well. Main’s parked-content lifecycle and the upgrade’s owner capture are both retained; the 43 combined bridge/dashboard/document tests pass.

Local proof used one worker per test invocation. Testbox was attempted once but never admitted; lease tbx_01m4p0czh2v9jrvckyj3njh2sc is stopped/completed. No remote proof is claimed. No whole-repository suite or local container was run.

Check Result
pnpm dependency policy/install and exact-pin guard Passed
Solid compiler/codemod corpus, Solid lint corpus, plugin build script 266 tests passed; 12.43 s
Real plugin builder, including Solid updates/disposal 18 tests passed; 18.43 s wall time
Solid smoke, Vite config, bridge, settings primitives, chat render lifecycle 38 tests passed; 5.72 s wall time
Chat-files, browser, and terminal hosted tabs 42 tests passed; 11.25 s
Canonical content, bridge, avatar directive, settings avatar, command-palette mentions 70 tests passed after merging main; 8.60 s wall time. New nested-lifecycle regression fails before the ownership fix and passes afterward.
Video cleanup/retention and media siblings 30 tests passed; 17.65 s wall time; the original cleanup error reproduced before the fix
Markdown/media/chat render lifecycle after merging main 42 tests passed; 6.84 s wall time
Channels, snapshot polling, English catalog after corrections 50 tests passed; 42.38 s wall time
Snapshot polling regression attribution All 13 pass on isolated rc.13; rc.14 fails one before fixture correction, all 13 pass afterward
Chat run-lifecycle E2E 16 tests passed in source and production-bundle projects
Mobile sidebar/menu E2E 6 tests passed in source and production-bundle projects
Transcript-library E2E 3 tests passed in source and bundled projects after deferring the second list request before asserting its loading state
Sidebar roster E2E 3 tests passed in source and bundled projects after parking the pointer outside the keyboard-only drawer section; all assertions retained
Channel wizard forced-colors E2E Passed in source and production-bundle projects; previously failed in CI
pnpm tsgo:ui Passed
Current MCP test-type partition Four errors reproduce identically on rc.13 base; inherited
Chat unit failure attribution Same 12 failures in nine selected files on rc.13 and rc.14; 161 passing siblings on each
Tool disclosure browser siblings 8/8 pass on both rc.13 and rc.14
pnpm ui:build Passed; next.47 retained
Generated bundled-plugin asset drift check Passed, including Canvas
Strict performance, base 81a4679dec8b7 and current candidate on same Mac Same inherited failure: chat boot JS requests 36 > 35. No budget changes in this PR. Startup gzip 413,151 → 410,591 B (−2,560 B), 8 requests on both sides. CSS unchanged at 50,124 B.
Board document/dashboard rc.14 ownership and error-loop fixes 13/13 passed; 5.84 s; pre-fix failure reproduced
Formatting / git diff --check Passed
Independent autoreview Final integrated candidate independently reviewed; no actionable P0–P2 findings

The first CI attempt caught the stale asset fingerprints; the next caught readonly tuple and ownership incompatibilities. Each was reproduced and fixed at its owner. The existing fixture repairs add no cases or timers. One new nested-renderer lifecycle test covers rc.14 ownership, prop updates, reconnection, and disposal without sleeps; its runtime is milliseconds within the 8.60 s focused command. A later CI failure exposed a missing one-shot deferral before the transcript library’s second loading assertion. The existing deferred-response helper now holds that request until the assertion completes. The sidebar CI remainder matched the previously documented sidebar hover/Escape fixture interference (be7cc7f). Both rc.13 and rc.14 targeted runs passed before the correction; the fixture now explicitly parks the pointer outside the drawer, without retries or relaxed assertions. This is a bounded fixture repair, not a claim that a passing replay proves the intermittent failure eliminated. Existing browser assertions exercise rendered behavior; this dependency/lifecycle change does not alter visual design.

LOC in changed files against 81a4679dec8b7: 5,649 → 5,761 excluding the generated lockfile; 25,171 → 25,284 including it. Growth is primarily the regression test, pinned cooldown entries, upgrade lessons, and owner capture; existing adapters remain the owners.

CI attribution and recovery

Earlier attempts were investigated rather than rerun blindly. All 16 original chat E2E failures reproduced under rc.13 and were accepted by the coordinator. After newer main integrations, the 36 E2E failures, 20 UI unit cases, MCP cleanup error, and four MCP test-type errors were also attributed through focused rc.13 replays. Those results are historical; the final current-head run is green.

The rc.14-specific failures were fixed at their owners: captured ownership for nested Lit/Solid and plugin fallback commits; readonly input types; write-free teardown; synchronous prepared-board binding; and transition-only widget error publication. The existing plugin fallback lifecycle case failed before the fix and all 16 lifecycle cases pass afterward. Main's parked video lifecycle was preserved while avoiding signal writes from cleanup; all 45 focused video/media cases pass.

Two later conflicts came from independently landed changes to generated Workboard fingerprints and video presentation. The plugin builder regenerated the fingerprint, and fresh review/targeted checks covered the combined video lifecycle. Main also fixed the inherited failures; final CI needs no inherited-failure waiver. No lock, retained journal, or outcome ref was removed by hand.

Use the Peter-approved one-time release-age exception for rc.14 and its native compiler packages. Keep the Vite plugin at next.47 while aligning its Babel compiler, and accept readonly effect tuples at the hosted-tab notifier.
@clawsweeper

clawsweeper Bot commented Oct 11, 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.

@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Oct 11, 2026
@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependency graph changes

This maintainer PR changes the dependency graph.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: d69f671f29e2fb171ba34eec65570f459a0c2ac9
  • Maintainer: @steipete
  • Repository role: admin

These dependency graph changes were made:

  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • extensions/canvas/package.json
  • extensions/workboard/package.json
  • extensions/x/package.json
  • ui/package.json

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 11, 2026
@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Upgrades Solid packages to rc.14 and adapts existing rendering owners, teardown, types, fixtures, and generated plugin fingerprints.

Example: A retained chat region introduces a counter labeled First, increments it to 1, then updates its label to Second.

  • Before: The unchanged adapter under rc.14 can reject the nested root because the effect callback has no owner.
  • After: The adapter restores its creator owner, preserving the same button and Second: 1 through updates and parking.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source-consistent with successful exact-head CI; confidence rests mainly on automated boundary coverage.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; supplied evidence is predominantly boundary tests and browser E2E results, while all four inspected screenshots belong to related merged repairs rather than demonstrating rc.14.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: The ongoing Solid migration needs a coherent runtime/compiler upgrade without breaking existing rendering and retained state.
Reason: The maintainer-authored direction approves the upgrade and cooldown exception, and the compatibility changes serve that scope.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: the maintainer-approved upgrade remains distinct from main’s rc.13 toolchain, and review found no actionable introduced defect.

Priority: P2
Reviewed head: d69f671f29e2fb171ba34eec65570f459a0c2ac9

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: No supplied direct runtime capture demonstrates this rc.14 upgrade’s nested rendering and video parking behavior; browser E2E results provide supporting automated coverage.
Agent review details

How this fits together

The Control UI and bundled plugin renderers turn Gateway projections and legacy templates into browser DOM; shared adapters own nested rendering, presentation changes, and disposal.

flowchart LR
  A[Gateway state] --> B[Existing controllers and projections]
  B --> C[Solid components]
  C --> D[Retained Lit content boundary]
  D --> E[Nested Solid roots]
  C --> F[Browser DOM]
  E --> F
Loading

Technical review

Best possible solution:

Land the approved dependency upgrade with the existing rendering owners and retained lifecycle contracts intact.

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

This is dependency maintenance rather than a current-main bug report; upstream source supports the stated rc.14 ownership incompatibility, and the author records failing-before and passing-after boundary cases.

Is this the best way to solve the issue?

The patch adapts existing owners instead of adding parallel renderers, preserves parked-content behavior, and keeps dependency exceptions narrowly versioned.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Solid dependency ownership and exact pins keeps the original intent (a9c6920: Enable Solid alongside Lit using explicitly pinned runtime and compiler packages; later Canvas, X, and Workboard ports placed dependencies with their consumers.)
  • Retained Lit/Solid content ownership changes intended behavior with a stated reason (84fb319: Preserve transcript controls and nested roots through parking, then retire them with their retained range; this PR explains restoring the creator owner for rc.14 while retaining that lifecycle.)
  • Board, Channels, and plugin template rendering changes intended behavior with a stated reason (939f740: Preserve existing page and plugin behavior during the Solid migration; Channels was ported in f49b7cd, and explicit owner restoration addresses the upgraded runtime contract.)
  • Avatar adapter publication keeps the original intent (57d4e77: Keep Lit image structure while sharing Solid-backed resource handling; allowing intentional publication preserves that adapter under the restored owner.)
  • Video presentation and resource cleanup keeps the original intent (4cbe7e6: Release media resources while parked and reconnect through existing caches; this PR preserves that behavior and moves signal publication out of teardown.)
  • Types and existing behavioral fixtures keeps the original intent (7dd5b52: Snapshot polling tests model changing Gateway results; fresh JSON-shaped replies preserve those assertions, readonly annotations follow dependency inference, and pointer parking follows the existing keyboard-navigation fixture repair.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Source +40, Tests +42, Docs +17, Config +13, Other +1. Total +113 across 22 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 11 62 22 +40
Tests 4 44 2 +42
Docs 1 17 0 +17
Config 5 26 13 +13
Generated 0 0 0 0
Other 1 79 78 +1
Total 22 228 115 +113

Labels

Label changes:

No label changes.

Label justifications:

  • P2: A coordinated renderer dependency upgrade with focused compatibility repairs warrants normal review priority.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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.

History

Review history (14 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-11T20:34:56.939Z sha 5c195f7 :: needs changes before merge. :: none
  • reviewed 2026-10-11T20:54:23.094Z sha 5c195f7 :: needs changes before merge. :: none
  • reviewed 2026-10-11T21:40:27.426Z sha 5c195f7 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-11T23:21:17.267Z sha 0ac569b :: needs changes before merge. :: [P2] Supply an owner for legacy chat mounts created during effects
  • reviewed 2026-10-11T23:36:28.326Z sha 181af1d :: needs maintainer review before merge. :: none
  • reviewed 2026-10-12T00:11:27.283Z sha 181af1d :: needs changes before merge. :: none
  • reviewed 2026-10-12T00:35:15.741Z sha e9ed447 :: needs changes before merge. :: none
  • reviewed 2026-10-12T00:59:04.099Z sha d69f671 :: needs maintainer review before merge. :: none

Reviewed October 11, 2026, 9:16 PM ET / October 12, 2026, 01:16 UTC (Revision 15).

Restore the component owner while Channels binds reactive projections and LitContent commits Solid-backed directives. Allow the avatar adapter to publish intentionally under that owner. Accept readonly effect tuples in the catalog test and model fresh Gateway snapshots in the polling fixture.
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The current head 0f9d17d81d46a9fba242775a21ea5587f5ab6478 fixes the reported typecheck plus the rc.14 ownership errors in Channels and Solid-backed Lit directives. The exact failing UI test-type partition, 112 focused runtime tests, and the previously failing wizard E2E pass locally. X/Workboard generated asset drift is also fixed. The PR body records the final proof and the same-machine startup reduction of 2,967 gzip bytes; the pre-existing strict budget failures remain explicit.

@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete enabled auto-merge (squash) October 11, 2026 18:44
Park the pointer outside the narrow drawer after resizing so a stale chip-click position cannot activate the Pages tooltip and consume the menu Escape. Preserve all menu dismissal, focus-return, and drawer visibility assertions.
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Final head 3623a5b6d5b8575d535212d5473e2f6239a60ff7 also parks the pointer outside the drawer before the sidebar roster's keyboard-only section. This follows the documented hover/Escape interference in be7cc7f829c01; every menu, focus, and visibility assertion is retained. The three-case file passes in both source and bundled projects. All rc.14 runtime fixes and build/type proof are unchanged.

@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 11, 2026
Defer the next transcript list response before navigating back from capture settings. Preserve the loading-state assertion and release the request at its existing settlement point.
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Head ff690c8cbe2755b82b16e1f727a33da93e8c170d fixes the final reported fixture failure: the second transcript-library loading assertion now explicitly defers its list response before navigation and releases it afterward. All three transcript-library E2E cases pass in source and bundled projects; assertions are unchanged. The preceding sidebar and all rc.14 ownership/type fixes remain verified. The PR body has current evidence and LOC.

@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 11, 2026
Merge current main while moving the rc.14 owner restoration into the canonical retained-content boundary. Cover nested Solid/Lit mounting, updates, reconnection, and disposal; retain the explicit owner at markdown media creation.
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Current head 5874cce3489386870f4a9fcd187debceec23b514 resolves the conflict with current main's canonical retained-content renderer. The rc.14 owner capture now lives at that owner (including reconnection/nested Solid roots), with a failing-before/passing-after lifecycle regression. All 70 canonical boundary/avatar/mention tests, 42 markdown/media/lifecycle tests, UI typechecks, build, asset drift check, chat E2E, sidebar E2E, and transcript E2E pass. Against updated base 4e3818bab0feb, startup JS shrinks by 2,527 gzip bytes; the only local strict-budget failure is the same inherited chat boot request count (36 > 35).

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Oct 11, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 11, 2026
obviyus added a commit that referenced this pull request Oct 11, 2026
## What Problem This Solves

Fixes `check-test-types-core-2` failures inherited by PRs after the MCP App tests switched from Lit to Solid.

## User Impact

No user-visible change. This restores typechecking for the existing MCP App lifecycle and context-update regressions without weakening their assertions.

## Why This Change Was Made

The fixture migration in #169387 left a raw Solid memo accessor as a component return value and awaited Lit's `updateComplete` on a plain Solid-rendered context-strip element.

Render the memo through a JSX fragment in a `.test.tsx` fixture, and wait for the context strip's observable item/empty state with the existing `waitForSolid` helper. All teardown, retained-node, and context assertions remain intact.

Checked existing work first: #169247 does not change these tests and its `check-test-types-core-2` job is red; #169304 changes different parts of the MCP App tests and does not repair these errors.

## Evidence

Baseline: current `origin/main` at `5889e62f4902b8f3fa4b6eb2cecbbd26f5b8ceb0`, installed with `pnpm install --frozen-lockfile`.

Before, `pnpm run tsgo:test:ui` exited 2:

```text
ui/src/components/mcp-app-unmount.test.ts(40,5): error TS2345: Argument of type '() => SourceAccessor<Node[]>' is not assignable to parameter of type '() => Element'.
ui/src/components/mcp-app-view.test.ts(801,19): error TS2339: Property 'updateComplete' does not exist on type 'Element'.
ui/src/components/mcp-app-view.test.ts(804,19): error TS2339: Property 'updateComplete' does not exist on type 'Element'.
ui/src/components/mcp-app-view.test.ts(815,19): error TS2339: Property 'updateComplete' does not exist on type 'Element'.
[tsgo:ui-components] failed (exit 2)
```

After:

- `pnpm run tsgo:test:ui`: all eight graphs passed, including `ui-components`.
- `node scripts/run-vitest.mjs ui/src/components/mcp-app-unmount.test.tsx ui/src/components/mcp-app-view.test.ts --maxWorkers=1`: 31 tests passed across the regular and isolated UI projects. Test time: 71 ms for unmount and approximately 5.9 s for view (4.6 s is the existing embedded Apps page scenario).
- Changed-file `oxfmt --write` and `oxlint`: passed.
- `node --import ./scripts/tsx.mjs scripts/check-line-cap-ratchet.mts --base origin/main`: passed, no new violations or over-cap growth.

The existing embedded Apps page scenario emits Lit/reactivity and jsdom CSS warnings; it passes without suppressions or retry changes.
- Independent autoreview: scoped clean through P2; no actionable findings.

Co-authored-by: Ayaan Zaidi <[email protected]>
@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 12, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 12, 2026
@steipete
steipete merged commit f9d2ebe into main Oct 12, 2026
137 checks passed
@steipete
steipete deleted the solid2/w-upgrade-solid branch October 12, 2026 01:40
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
## What Problem This Solves

Fixes `check-test-types-core-2` failures inherited by PRs after the MCP App tests switched from Lit to Solid.

## User Impact

No user-visible change. This restores typechecking for the existing MCP App lifecycle and context-update regressions without weakening their assertions.

## Why This Change Was Made

The fixture migration in openclaw#169387 left a raw Solid memo accessor as a component return value and awaited Lit's `updateComplete` on a plain Solid-rendered context-strip element.

Render the memo through a JSX fragment in a `.test.tsx` fixture, and wait for the context strip's observable item/empty state with the existing `waitForSolid` helper. All teardown, retained-node, and context assertions remain intact.

Checked existing work first: openclaw#169247 does not change these tests and its `check-test-types-core-2` job is red; openclaw#169304 changes different parts of the MCP App tests and does not repair these errors.

## Evidence

Baseline: current `origin/main` at `11f576b23cf70615ca4504eb12fdba93591b9c8f`, installed with `pnpm install --frozen-lockfile`.

Before, `pnpm run tsgo:test:ui` exited 2:

```text
ui/src/components/mcp-app-unmount.test.ts(40,5): error TS2345: Argument of type '() => SourceAccessor<Node[]>' is not assignable to parameter of type '() => Element'.
ui/src/components/mcp-app-view.test.ts(801,19): error TS2339: Property 'updateComplete' does not exist on type 'Element'.
ui/src/components/mcp-app-view.test.ts(804,19): error TS2339: Property 'updateComplete' does not exist on type 'Element'.
ui/src/components/mcp-app-view.test.ts(815,19): error TS2339: Property 'updateComplete' does not exist on type 'Element'.
[tsgo:ui-components] failed (exit 2)
```

After:

- `pnpm run tsgo:test:ui`: all eight graphs passed, including `ui-components`.
- `node scripts/run-vitest.mjs ui/src/components/mcp-app-unmount.test.tsx ui/src/components/mcp-app-view.test.ts --maxWorkers=1`: 31 tests passed across the regular and isolated UI projects. Test time: 71 ms for unmount and approximately 5.9 s for view (4.6 s is the existing embedded Apps page scenario).
- Changed-file `oxfmt --write` and `oxlint`: passed.
- `node --import ./scripts/tsx.mjs scripts/check-line-cap-ratchet.mts --base origin/main`: passed, no new violations or over-cap growth.

The existing embedded Apps page scenario emits Lit/reactivity and jsdom CSS warnings; it passes without suppressions or retry changes.
- Independent autoreview: scoped clean through P2; no actionable findings.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
* build(ui): upgrade Solid to 2.0.0-rc.14

Use the Peter-approved one-time release-age exception for rc.14 and its native compiler packages. Keep the Vite plugin at next.47 while aligning its Babel compiler, and accept readonly effect tuples at the hosted-tab notifier.

* build(ui): regenerate Solid plugin asset manifests

* fix(ui): preserve Solid ownership across effect adapters

Restore the component owner while Channels binds reactive projections and LitContent commits Solid-backed directives. Allow the avatar adapter to publish intentionally under that owner. Accept readonly effect tuples in the catalog test and model fresh Gateway snapshots in the polling fixture.

* test(ui): keep hover out of sidebar keyboard navigation

Park the pointer outside the narrow drawer after resizing so a stale chip-click position cannot activate the Pages tooltip and consume the menu Escape. Preserve all menu dismissal, focus-return, and drawer visibility assertions.

* test(ui): hold transcript reload until loading is observed

Defer the next transcript list response before navigating back from capture settings. Preserve the loading-state assertion and release the request at its existing settlement point.

* fix(ui): avoid publishing video state during teardown

Release poster resources without writing to a retiring Solid owner. Live visibility and image-error handlers still clear the poster. The rendered-parent retention regression and media siblings pass.

* fix(ui): own nested Solid plugin fallback rendering
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 channel: x dependencies-changed PR changes dependency-related files extensions: canvas P2 Normal backlog priority with limited blast radius. plugin: workboard rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S 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