Repository navigation
chore(ui): guard bundled plugin Solid views - #182472
Merged
Merged
Conversation
Contributor
|
🦞👀 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. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 25, 2026
* ci(ui): guard bundled plugin Solid views * ci(ui): ratchet plugin baselines after Solid repairs
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
Bundled plugin Solid views were outside the Control UI's controller and imperative-rendering guards, so the same regressions could land under
extensions/without failing CI.User Impact
No runtime behavior changes in this PR. Developers get the same guarded Solid contracts for Workboard, Memory Core, Nostr, WhatsApp, ClawRouter, and X. The companion plugin fixes preserve their appearance while correcting stale handlers, row lifetime, and Workboard state/focus behavior.
Why This Change Was Made
Reuse the existing native AST scan for all six plugin view surfaces, including browser TypeScript helpers. Plugin debt has separate per-file baselines; neither another plugin nor the host can supply an allowance for a new call. The inventory uses the same plugin roots. Real
browser/test/support modules are excluded from the production census.The existing lint command remains the CI owner. Changed-file selection now retains that guard for plugin view/helper and plugin-baseline changes, including staged and shallow-checkout runs. No new parser, CI job, SDK seam, or runtime dependency.
Evidence
pnpm tsgo:uisrc/gateway/assistant-human-mentions.tsas the exact clean base; no new unused files or dependenciesLanded companion fixes: #182293 (Workboard), #182290 (Memory Core), #182289 (Nostr), and #182364 (WhatsApp). The WhatsApp follow-up preserves fact rows across refreshes. ClawRouter and X were audited and needed no source changes.
Plugin census
Counts are production calls, excluding test support. Each cell is before → after.
Retired host
requestUpdatecontracts fall from 13 Workboard files to zero; view-local presentation refresh callbacks remain. Render effects, JSXclassList, handwritten component factories, and production Solidflushare zero throughout. Workboard retains two deliberate untracked reads (initial clock and imperative draft snapshot) and one lazy SDK view loader. Its remaining cleanup owns synchronously acquired observers or SDK content; its effects bind timers, measurements, or external views. Memory's one effect and onegetOwner/runWithOwnerpair bridge host-owned SDK components. Nostr's listener handles AbortSignal cancellation. These retain explicit lifetimes; they are not duplicated state owners.The checklist also covered async readiness/error presentation, admission and optimistic actions, semantic row keys, clone/snapshot use, and lazy loading. Workboard's two structured clones initialize independent drafts; no Solid snapshot copies were added. Plugin imports remain inside documented SDK and plugin-local boundaries. ClawRouter retains read-only telemetry repaints on refresh: its optional, nonunique row identifiers do not supply a reliable semantic key, and those rows have no local state. X already uses semantic entity keys.
Plugin bundles
Measured by the native plugin builder on the same Mac at each companion PR’s base and head; totals include CSS. All pass 4 MiB/asset, 8 MiB/plugin, and 128-asset limits.
Workboard's 189 B gzip increase preserves the new explicit ref/subscription lifetimes; WhatsApp adds 30 B gzip for semantic fact keys. Both remain inside their plugin asset limits. Combined plugin output falls by 1,985 raw bytes and 243 gzip bytes. Host startup modules and requests are unchanged by these plugin-local and tooling changes. Inspected synthetic before/after captures are embedded in the companion visual PRs and delivered in the originating chat.
Tooling production LOC: 3,133 → 3,166. Its two focused test files: 1,032 → 1,093. The production increase shares one AST engine and adds surface-specific baseline routing; it does not add a parallel checker. No host startup code changed, so no host rebuild was needed under the campaign's bounded local-proof policy.