Skip to content

fix(control-ui): load matching plugin assets from UI origin - #172352

Merged
vincentkoc merged 6 commits into
mainfrom
fix/workboard-canonical-ui-assets-20261015
Oct 14, 2026
Merged

vincentkoc merged 6 commits into
mainfrom
fix/workboard-canonical-ui-assets-20261015

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Closes #172308

What Problem This Solves

Workboard cannot load its native plugin UI when the Control UI uses a different origin from the Gateway, including authenticated plain-HTTP deployments.

User Impact

A matching packaged Control UI can load Workboard from its own origin while connecting to a remote Gateway. Custom plugins, source overrides, and mismatched plugin distributions retain the existing delivery rules.

Why This Change Was Made

The Gateway identifies eligible assets from the running package's canonical bundled plugin tree. The UI serves only its matching built inventory, using the existing plugin revision and package identity. Builds verify complete asset generations before copying them and wait for the runtime asset producer; cache inputs include copied files and newly declared plugin UIs. Losing eligibility retires the previous plugin instance.

Evidence

  • Real Chromium Workboard test passed on an insecure HTTP UI origin with a separate mock Gateway: rendered Operations, loaded entry/CSS/lazy assets from the UI origin, and made no Gateway asset requests.
  • Focused provenance, asset-generation, build ordering/cache, runtime lifecycle, manifest, and existing authentication tests passed.
  • Required-plugin production UI build, UI/scripts typechecks, and scoped lint/format passed.
  • CI identified missing wrapper/private-server registrations, a test descriptor type and closed mock, and placement of the packaged Workboard proof in a lane without packaged artifacts. The corresponding handwritten prebuilt ownership inventory is updated too. These are corrected without changing product behavior or browser assertions.
  • Focused correction proof passed: runtime 19/19, UI test types, mock-export ratchet, full ownership suite 13/13, ownership/config routing, selection 23/23, tooling types, lint and format. The Workboard proof uses the existing prebuilt-runtime lane, selected with the existing ci:full label.
  • On head a405072, the actual packaged Workboard case passed in the prebuilt serial browser lane (1/1); its complete shard passed 18 files / 23 tests. SDK boundary, Android, ratchets and test type checks also passed.
  • Main integration preserves both the concurrent chat test and Workboard prebuilt registrations. The resolved candidate passed the complete config ownership suite (13/13), selection suite (23/23), serial-owner guard and formatting.
  • That run found the already-fixed upstream Online selector and one existing chat scroll-timing assertion. This head integrates main including the landed selector fix. The chat assertion remains unchanged; one focused local diagnostic passed but did not establish the earlier cause. Fresh exact-head full CI is pending; no failing gate is waived.
  • An optional private-QA declaration-budget check also fails on the unchanged source base; no budget was changed.

@vincentkoc vincentkoc self-assigned this Oct 14, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes scripts Repository scripts size: XL labels Oct 14, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review October 14, 2026 17:14
@clawsweeper

clawsweeper Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

@vincentkoc
vincentkoc enabled auto-merge (squash) October 14, 2026 17:16
@vincentkoc
vincentkoc disabled auto-merge October 14, 2026 17:30
@vincentkoc vincentkoc added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 14, 2026
@vincentkoc
vincentkoc merged commit 7aa077a into main Oct 14, 2026
172 of 173 checks passed
@vincentkoc
vincentkoc deleted the fix/workboard-canonical-ui-assets-20261015 branch October 14, 2026 19:32
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

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

* fix(control-ui): load matching plugin assets from UI origin

* fix(control-ui): register packaged UI proof inputs

* test(control-ui): qualify packaged Workboard proof lane

* test(control-ui): cover Workboard prebuilt ownership
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. cli CLI command changes docs Improvements or additions to documentation gateway Gateway runtime scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable matching packaged Workboard assets from the Control UI origin

1 participant