Skip to content

build(ui): keep Solid exempt from the dependency cooldown - #169541

Merged
steipete merged 3 commits into
mainfrom
solid2/w-solid-cooldown
Oct 12, 2026
Merged

steipete merged 3 commits into
mainfrom
solid2/w-solid-cooldown

Conversation

@steipete

@steipete steipete commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Solid's approved release-age exemption should persist across upgrades rather than expire with the temporary rc.14 allowlist. Full UI CI also exposed a YouTube player reset during unchanged transcript refreshes.

User Impact

First-party Solid packages remain eligible for approved upgrades without repeated cooldown exceptions; third-party Solid ecosystem packages retain the seven-day gate. Playing YouTube embeds survive unchanged-source refreshes while policy, source, and session changes still revoke playback.

Why This Change Was Made

Replace only the version-pinned Solid exclusions with solid-js and @solidjs/*, as approved by Peter on 2026-10-11. Upgrade @solidjs/vite-plugin from 3.0.0-next.47 to the newest published prerelease, 3.0.0-next.49; it declares rc.14 runtime/compiler compatibility, so the obsolete next.47-only Babel override is removed. Runtime/compiler pins stay at rc.14. Update the Solid skill's pins and dependency guidance.

The player reset came from an effect subscribed directly to the bridge's shared property revision: a fresh video object reset playback even when its URL was unchanged. Memoize the watched URL before the reset effect, and extend the existing persisted/streaming boundary test with host and iframe retention assertions. Both regression variants fail before this repair and pass afterward. No lazy boundary, host tag, class, route, or appearance changes.

Related: #169247.

Evidence

Check Result
Frozen install, lockfile supply-chain policy, dependency pin guard, scoped formatting and diff checks Pass
Solid smoke, Vite configuration, icon, settings controls, embed policy, plugin builder and builder script 38 tests in 7 files pass; 101.97 s with --maxWorkers=1
YouTube regression Both persisted/streaming variants fail before repair; all 6 file cases pass after, 9.45 s (288 ms test execution)
X plugin / repaired YouTube browser flows Pass; 107.64 s / 85.75 s, one file at a time
pnpm tsgo:ui Pass
pnpm ui:build, base and head Pass
Strict performance, base and head Same inherited chat boot request failure: 38 > 35
Independent Codex autoreview, P0–P2 No actionable findings
Full CI 38200503136 50 jobs passed; 3 UI jobs failed plus aggregate gate. Every failed case reproduced on the exact CI main parent; qualification below.

Final same-Mac startup comparison against base 48d96b4e3b6f2bd79583e0fac438ab91a3cd57c7: 410,632 → 410,655 B gzip, 8 → 8 JS requests, 2 → 2 CSS requests, startup CSS unchanged at 50,124 B. Base used Node v24.21.0 and head v26.11.1, so the 23 B difference is not attributed to code. An earlier dependency-only comparison on Node v26.11.1 for both sides was 410,634 → 410,627 B. Both remain below the approved 450,000 B / 2 CSS-request transition budget. No budget changed.

pnpm test ui/src/solid-smoke/solid-smoke.test.tsx ui/src/app/vite-solid.node.test.ts ui/src/components/solid/icon.test.tsx ui/src/components/solid/settings-ui.test.tsx ui/src/pages/chat/components/chat-message-embed-policy.test.ts src/cli/plugins-control-ui-build.test.ts test/scripts/build-plugin-control-ui.test.ts --maxWorkers=1

Testbox was attempted once through node scripts/crabbox-wrapper.mjs run --keep --idle-timeout 90m --ttl 6h. Lease tbx_01m4pypenha3vpfr5sdmn1e8x7 was stopped after about ten minutes of local preparation and queued/hydrating admission (run); no remote test result is claimed. Bounded local proof uses the migration's approved fallback.

No appearance change; playback behavior has direct boundary and real Chromium proof. The regression adds assertions to two existing cases without a new harness or timers; CI cost delta was not separately measured. Diff: +20/−31 across 6 files, net −11.

Exact inherited-failure qualification

The final CI checked out f0e5dd529823a2256c99dbfe0c5256f4b64645aa, a merge of main f054d03022e0981f5b0a98d832556e7ddb8f39bf and PR head 2966036b53bc31e8ca47bb3fae82d56909513967. All seven cases below reproduce with the same symptom on that exact main parent using the unchanged next.47 plugin. Relevant production and test source objects match the tested merge. The latest scheduled main run is pending; its prior completed run failed a different test and is not used to qualify these cases.

CI file / job Exact failing cases on CI and its main parent
model-setup-recovery.e2e.test.ts, shard 1/9 verifies the current model connection and retries saved replacement credentials — waits for the old 1234 ms probe label; baseline 28.18 s
chat-pasted-text-show-in-text-field.e2e.test.ts, shard 2/9 restores pasted text directly from the 1280px composer; restores pasted text directly from the 390px composer; opens, copies, and restores exact pasted text under the Gateway CSP; restores a recorded paste draft as a chip and sends unchanged name and bytes; restores a legacy paste without origin draft as a chip and sends unchanged name and bytes — same missing attachment/paste controls; baseline 81.60 s
chat-composer-capability-menu.e2e.test.ts, shard 3/9 validates and adds MCP servers for session and everywhere scopes — same missing Add MCP server dialog; baseline 37.07 s

These failures remain recorded as failures. Landing uses the explicitly authorized native inherited-failure/admin route; review and security gates remain enforced. The prior YouTube CI failure was investigated and repaired, not classified as inherited.

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

clawsweeper Bot commented Oct 12, 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 12, 2026
@github-actions

github-actions Bot commented Oct 12, 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: 2966036b53bc31e8ca47bb3fae82d56909513967
  • Maintainer: @steipete
  • Repository role: admin

These dependency graph changes were made:

  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • ui/package.json

Carefully review these changes before merging.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​solidjs/​vite-plugin@​3.0.0-next.47 ⏵ 3.0.0-next.4998 +1100100 +197 +1100

View full report

@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: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 12, 2026
@clawsweeper

clawsweeper Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR permanently exempts first-party Solid packages from the dependency cooldown, upgrades the Vite plugin, and preserves YouTube playback during unchanged transcript refreshes.

Example: Play https://youtu.be/AbCdEfGhI_1, then refresh the same transcript.

  • Before: The recreated video object stops playback despite an unchanged URL.
  • After: The existing player remains mounted; source, session, and strict-policy changes still stop playback.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, owner-approved changes with focused regression coverage and no actionable defect; the changed refresh behavior is supported by harness results rather than supplied live evidence.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor-proof gate; supplied results exercise the production rendering boundary and Chromium lifecycle, while the inspected screenshots cover a different page migration.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: An unchanged transcript refresh stops a playing YouTube embed, while the approved Solid dependency exception remains version-specific.
Reason: The feature-history owner explicitly chooses the dependency policy, and the accompanying repair restores the original source-identity playback contract.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: current main still needs the approved Solid cooldown exception and playback repair, and no actionable introduced defect was found.

Priority: P2
Reviewed head: 2966036b53bc31e8ca47bb3fae82d56909513967

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied Chromium test exercises player transport and lifecycle but does not refresh an unchanged transcript while playback is active.
Agent review details

How this fits together

Workspace policy controls dependency eligibility for the Solid UI build, while the chat renderer passes normalized video URLs and current playback policy to the YouTube card.

flowchart LR
  A[Dependency pins] --> B[pnpm release age policy]
  B --> C[Solid UI build]
  C --> D[Chat transcript renderer]
  D --> E[Memoized video URL]
  E --> F[YouTube player iframe]
Loading

Technical review

Best possible solution:

Land the approved first-party exemption and URL-equality playback repair through the documented native inherited-CI route.

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

The shared bridge revision retriggers the old reset effect when an unchanged video object is recreated; source and the reported failing-before/passing-after boundary cases establish the trigger, but this read-only review ran no target code.

Is this the best way to solve the issue?

Memoizing the normalized URL repairs the existing playback owner without duplicating state or weakening policy and session invalidation, and the published plugin manifest supports removing the old override.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Solid release-age exclusions and skill guidance changes intended behavior with a stated reason (f9d2ebe: build(ui): upgrade Solid to 2.0.0-rc.14 #169247 introduced an approved, temporary rc.14 exception to the seven-day policy.)
  • Vite plugin pin and Babel override changes intended behavior with a stated reason (f9d2ebe: The next.47 plugin needed a narrow override to align its transitive Babel compiler with rc.14; next.49 now declares that compatibility directly.)
  • YouTube playback reset keeps the original intent (4fddb19: refactor(ui): migrate chat leaf elements to Solid #168762 intended to preserve playback lifecycle during the Solid migration; the earlier Lit implementation reset only when the normalized source identity changed.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Pinned change and current-main necessity: The introduced diff replaces version-specific Solid exclusions, removes the obsolete compiler override, upgrades next.47 to next.49, and adds URL equality filtering. Fetched main retains the temporary exclusions and the direct reset effect. (pnpm-workspace.yaml:16, 2966036b53bc)
  • Recorded owner direction: The maintainer-authored body explicitly approves the permanent first-party Solid exemption and preserves the seven-day gate for third-party ecosystem packages; the dependency guard independently identifies the author as a repository admin. (pnpm-workspace.yaml:16, 2966036b53bc)
  • Playback boundary and revocation: The production caller keys cards by session and normalized watch URL, passes current strict policy, and uses the existing URL parser. The extended persisted/streaming cases assert iframe retention while retaining policy, source, and session revocation assertions. (ui/src/pages/chat/components/widget-card.ts:559, 2966036b53bc)
  • Exact dependency contract: The changed component directly imports Solid primitives, so their semantics determine correctness. The published rc.14 revision documents equality-filtered memos and separately tracked compute/effect phases, supporting the URL memo repair. (packages/signals/src/signals.ts:276, 8d23a5a13b23)
  • Published plugin compatibility: The official next.49 package manifest declares rc.14 compiler, Babel plugin, runtime, and renderer compatibility; its published integrity matches the lockfile, and no installation lifecycle hook is declared. (package.json)
  • CI qualification and inspection limit: GitHub confirms three failed UI shards and the aggregate gate in https://github.com/openclaw/openclaw/actions/runs/38200503136. The maintainer body records identical failures on the exact CI main parent and the authorized inherited-failure route. Annotation reads were blocked at cafe.github.com, so those failure traces were not independently inspected. (2966036b53bc)

PR surface

Source -2, Tests +2, Docs 0, Config -10, Other -1. Total -11 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 5 7 -2
Tests 1 3 1 +2
Docs 1 1 1 0
Config 2 4 14 -10
Generated 0 0 0 0
Other 1 7 8 -1
Total 6 20 31 -11

Labels

Label changes:

No label changes.

Label justifications:

  • P2: The playback reset is a concrete, limited-impact Control UI regression.
  • merge-risk: 🚨 security-boundary: The permanent first-party exemption removes release-age protection for future Solid versions; the maintainer explicitly accepts this tradeoff while retaining exact pins and third-party cooldowns.
  • 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 (3 earlier review cycles)
  • reviewed 2026-10-12T02:31:00.464Z sha a1de43b :: needs maintainer review before merge. :: none
  • reviewed 2026-10-12T03:02:46.303Z sha a1de43b :: needs changes before merge. :: none
  • reviewed 2026-10-12T03:48:20.475Z sha 2966036 :: needs maintainer review before merge. :: none

Reviewed October 12, 2026, 12:16 AM ET / 04:16 UTC (Revision 4).

@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. 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 P2 Normal backlog priority with limited blast radius. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 12, 2026
@steipete
steipete merged commit c07ba51 into main Oct 12, 2026
128 of 133 checks passed
@steipete
steipete deleted the solid2/w-solid-cooldown branch October 12, 2026 04:28
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

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

* build(ui): exempt Solid from dependency cooldown

* fix(ui): preserve YouTube playback across unchanged refreshes
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. dependencies-changed PR changes dependency-related files merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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