Repository navigation
build(ui): keep Solid exempt from the dependency cooldown - #169541
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Codex review: needs maintainer review before merge. What this changesThis 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.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Regression provenancePossible 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 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherWorkspace 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]
Technical reviewBest 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
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource -2, Tests +2, Docs 0, Config -10, Other -1. Total -11 across 6 files. Added test files: 0. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (3 earlier review cycles)Reviewed October 12, 2026, 12:16 AM ET / 04:16 UTC (Revision 4). |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…69541) * build(ui): exempt Solid from dependency cooldown * fix(ui): preserve YouTube playback across unchanged refreshes
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-jsand@solidjs/*, as approved by Peter on 2026-10-11. Upgrade@solidjs/vite-pluginfrom3.0.0-next.47to 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
--maxWorkers=1pnpm tsgo:uipnpm ui:build, base and headFinal 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=1Testbox was attempted once through
node scripts/crabbox-wrapper.mjs run --keep --idle-timeout 90m --ttl 6h. Leasetbx_01m4pypenha3vpfr5sdmn1e8x7was 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 mainf054d03022e0981f5b0a98d832556e7ddb8f39bfand PR head2966036b53bc31e8ca47bb3fae82d56909513967. All seven cases below reproduce with the same symptom on that exact main parent using the unchangednext.47plugin. 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.model-setup-recovery.e2e.test.ts, shard 1/91234 msprobe label; baseline 28.18 schat-pasted-text-show-in-text-field.e2e.test.ts, shard 2/9chat-composer-capability-menu.e2e.test.ts, shard 3/9These 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.