Repository navigation
fix(scripts): include ui:build in build-all full and ciArtifacts profiles - #86010
Conversation
|
Codex review: needs maintainer review before merge. Reviewed May 24, 2026, 8:38 PM ET / 00:38 UTC. Summary PR surface: Tests +34, Docs +1, Other +12. Total +47 across 3 files. Reproducibility: yes. Source inspection shows Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge Security Review detailsBest possible solution: Land the narrow build-all profile fix after required CI and maintainer review, preserving the uncached UI build and keeping backend-only profiles minimal. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows Is this the best way to solve the issue? Yes. The PR uses the existing Codex review notes: model gpt-5.5, reasoning high; reviewed against fa3ff4d503bf. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +34, Docs +1, Other +12. Total +47 across 3 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper PR egg ✨ Hatched: 🌱 uncommon Velvet Branchling Hatch commandComment Hatchability rules:
Rarity: 🌱 uncommon. What is this egg doing here?
|
|
Addressed the cache-contract finding in I went with option 2 from the maintainer options block — leave
Test contract updated to assert Local re-runs against @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
964c6aa to
654f75e
Compare
654f75e to
535d5ed
Compare
…iles Closes openclaw#85206. scripts/build-all.mjs only ran ui:build via a separate `pnpm ui:build` command. Because `pnpm build` invokes tsdown which removes `dist/`, a backend rebuild silently deletes any previously generated dist/control-ui assets, leaving the gateway to serve the "Control UI assets not found" message at startup. Documentation and startup auto-repair masked the bug at the worst possible time (LaunchAgent readiness / remote recovery) instead of guaranteeing the build artifact contract. This change adds ui:build as a build-all step after copy-export-html-templates and before write-build-info, and includes it in the full and ciArtifacts profiles. Minimal backend dev profiles (gatewayWatch, cliStartup) keep their existing fast-loop step lists and do not run ui:build. Regression coverage: - ciArtifacts step list assertion updated to match the new ordering. - Three new resolveBuildAllSteps assertions: ui:build is in full and ciArtifacts and runs after tsdown/runtime-postbuild-stamp and before write-build-info; ui:build is excluded from gatewayWatch/cliStartup; ui:build cache outputs declare dist/control-ui.
…es stale build IDs ClawSweeper review on openclaw#86010 flagged that the original ui:build cache only hashed ui/, scripts/ui.js, and scripts/lib/copy-assets.ts, but ui/vite.config.ts also reads package.json plus git HEAD and the OPENCLAW_CONTROL_UI_BUILD_ID/OPENCLAW_VERSION env vars to embed a build ID into the app and service worker. A file-input cache signature cannot exactly invalidate those metadata sources, so a warm build-all hit could restore a previously generated dist/control-ui after tsdown clears dist and ship stale service-worker/app cache metadata. Leaving the step uncached keeps the contract simple: every pnpm build re-runs Vite, which is fast for the Control UI bundle and matches the existing behavior of every other un-cached build-all step. Backend-only profiles (gatewayWatch, cliStartup) are still unchanged. Tests: - Updated the ui:build cache assertion to require step.cache to be undefined and explain the metadata-input reason. - Existing presence/order/exclusion assertions for ui:build are unchanged and still cover the full and ciArtifacts profile contract.
535d5ed to
f771ec4
Compare
|
Thanks @steipete for the merge! 🙏 We're running OpenClaw in production for several enterprise scenarios (ToG public-safety dashboards, multi-channel agent orchestration on customer-side appliances), so the build/install reliability fixes shipped in this PR matter directly to our deployment story. Happy to keep contributing — already have follow-ups in flight (#85969 docs, #86384 doctor cron resilience, #86424 git updater stable channel) and a list of bugs we've hit during enterprise rollouts that look like good queueable-fix candidates. Will keep the patches minimal, narrowly scoped, and proof-backed. |
…iles (#86010) * fix(scripts): include ui:build in build-all full and ciArtifacts profiles Closes #85206. scripts/build-all.mjs only ran ui:build via a separate `pnpm ui:build` command. Because `pnpm build` invokes tsdown which removes `dist/`, a backend rebuild silently deletes any previously generated dist/control-ui assets, leaving the gateway to serve the "Control UI assets not found" message at startup. Documentation and startup auto-repair masked the bug at the worst possible time (LaunchAgent readiness / remote recovery) instead of guaranteeing the build artifact contract. This change adds ui:build as a build-all step after copy-export-html-templates and before write-build-info, and includes it in the full and ciArtifacts profiles. Minimal backend dev profiles (gatewayWatch, cliStartup) keep their existing fast-loop step lists and do not run ui:build. Regression coverage: - ciArtifacts step list assertion updated to match the new ordering. - Three new resolveBuildAllSteps assertions: ui:build is in full and ciArtifacts and runs after tsdown/runtime-postbuild-stamp and before write-build-info; ui:build is excluded from gatewayWatch/cliStartup; ui:build cache outputs declare dist/control-ui. * fix(scripts): leave ui:build uncached so dist/control-ui never restores stale build IDs ClawSweeper review on #86010 flagged that the original ui:build cache only hashed ui/, scripts/ui.js, and scripts/lib/copy-assets.ts, but ui/vite.config.ts also reads package.json plus git HEAD and the OPENCLAW_CONTROL_UI_BUILD_ID/OPENCLAW_VERSION env vars to embed a build ID into the app and service worker. A file-input cache signature cannot exactly invalidate those metadata sources, so a warm build-all hit could restore a previously generated dist/control-ui after tsdown clears dist and ship stale service-worker/app cache metadata. Leaving the step uncached keeps the contract simple: every pnpm build re-runs Vite, which is fast for the Control UI bundle and matches the existing behavior of every other un-cached build-all step. Backend-only profiles (gatewayWatch, cliStartup) are still unchanged. Tests: - Updated the ui:build cache assertion to require step.cache to be undefined and explain the metadata-input reason. - Existing presence/order/exclusion assertions for ui:build are unchanged and still cover the full and ciArtifacts profile contract. * fix(scripts): keep ui build fallback pnpm-free --------- Co-authored-by: 1052326311 <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit 6704d0a)
…iles (openclaw#86010) * fix(scripts): include ui:build in build-all full and ciArtifacts profiles Closes openclaw#85206. scripts/build-all.mjs only ran ui:build via a separate `pnpm ui:build` command. Because `pnpm build` invokes tsdown which removes `dist/`, a backend rebuild silently deletes any previously generated dist/control-ui assets, leaving the gateway to serve the "Control UI assets not found" message at startup. Documentation and startup auto-repair masked the bug at the worst possible time (LaunchAgent readiness / remote recovery) instead of guaranteeing the build artifact contract. This change adds ui:build as a build-all step after copy-export-html-templates and before write-build-info, and includes it in the full and ciArtifacts profiles. Minimal backend dev profiles (gatewayWatch, cliStartup) keep their existing fast-loop step lists and do not run ui:build. Regression coverage: - ciArtifacts step list assertion updated to match the new ordering. - Three new resolveBuildAllSteps assertions: ui:build is in full and ciArtifacts and runs after tsdown/runtime-postbuild-stamp and before write-build-info; ui:build is excluded from gatewayWatch/cliStartup; ui:build cache outputs declare dist/control-ui. * fix(scripts): leave ui:build uncached so dist/control-ui never restores stale build IDs ClawSweeper review on openclaw#86010 flagged that the original ui:build cache only hashed ui/, scripts/ui.js, and scripts/lib/copy-assets.ts, but ui/vite.config.ts also reads package.json plus git HEAD and the OPENCLAW_CONTROL_UI_BUILD_ID/OPENCLAW_VERSION env vars to embed a build ID into the app and service worker. A file-input cache signature cannot exactly invalidate those metadata sources, so a warm build-all hit could restore a previously generated dist/control-ui after tsdown clears dist and ship stale service-worker/app cache metadata. Leaving the step uncached keeps the contract simple: every pnpm build re-runs Vite, which is fast for the Control UI bundle and matches the existing behavior of every other un-cached build-all step. Backend-only profiles (gatewayWatch, cliStartup) are still unchanged. Tests: - Updated the ui:build cache assertion to require step.cache to be undefined and explain the metadata-input reason. - Existing presence/order/exclusion assertions for ui:build are unchanged and still cover the full and ciArtifacts profile contract. * fix(scripts): keep ui build fallback pnpm-free --------- Co-authored-by: 1052326311 <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
…iles (openclaw#86010) * fix(scripts): include ui:build in build-all full and ciArtifacts profiles Closes openclaw#85206. scripts/build-all.mjs only ran ui:build via a separate `pnpm ui:build` command. Because `pnpm build` invokes tsdown which removes `dist/`, a backend rebuild silently deletes any previously generated dist/control-ui assets, leaving the gateway to serve the "Control UI assets not found" message at startup. Documentation and startup auto-repair masked the bug at the worst possible time (LaunchAgent readiness / remote recovery) instead of guaranteeing the build artifact contract. This change adds ui:build as a build-all step after copy-export-html-templates and before write-build-info, and includes it in the full and ciArtifacts profiles. Minimal backend dev profiles (gatewayWatch, cliStartup) keep their existing fast-loop step lists and do not run ui:build. Regression coverage: - ciArtifacts step list assertion updated to match the new ordering. - Three new resolveBuildAllSteps assertions: ui:build is in full and ciArtifacts and runs after tsdown/runtime-postbuild-stamp and before write-build-info; ui:build is excluded from gatewayWatch/cliStartup; ui:build cache outputs declare dist/control-ui. * fix(scripts): leave ui:build uncached so dist/control-ui never restores stale build IDs ClawSweeper review on openclaw#86010 flagged that the original ui:build cache only hashed ui/, scripts/ui.js, and scripts/lib/copy-assets.ts, but ui/vite.config.ts also reads package.json plus git HEAD and the OPENCLAW_CONTROL_UI_BUILD_ID/OPENCLAW_VERSION env vars to embed a build ID into the app and service worker. A file-input cache signature cannot exactly invalidate those metadata sources, so a warm build-all hit could restore a previously generated dist/control-ui after tsdown clears dist and ship stale service-worker/app cache metadata. Leaving the step uncached keeps the contract simple: every pnpm build re-runs Vite, which is fast for the Control UI bundle and matches the existing behavior of every other un-cached build-all step. Backend-only profiles (gatewayWatch, cliStartup) are still unchanged. Tests: - Updated the ui:build cache assertion to require step.cache to be undefined and explain the metadata-input reason. - Existing presence/order/exclusion assertions for ui:build are unchanged and still cover the full and ciArtifacts profile contract. * fix(scripts): keep ui build fallback pnpm-free --------- Co-authored-by: 1052326311 <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
…iles (openclaw#86010) * fix(scripts): include ui:build in build-all full and ciArtifacts profiles Closes openclaw#85206. scripts/build-all.mjs only ran ui:build via a separate `pnpm ui:build` command. Because `pnpm build` invokes tsdown which removes `dist/`, a backend rebuild silently deletes any previously generated dist/control-ui assets, leaving the gateway to serve the "Control UI assets not found" message at startup. Documentation and startup auto-repair masked the bug at the worst possible time (LaunchAgent readiness / remote recovery) instead of guaranteeing the build artifact contract. This change adds ui:build as a build-all step after copy-export-html-templates and before write-build-info, and includes it in the full and ciArtifacts profiles. Minimal backend dev profiles (gatewayWatch, cliStartup) keep their existing fast-loop step lists and do not run ui:build. Regression coverage: - ciArtifacts step list assertion updated to match the new ordering. - Three new resolveBuildAllSteps assertions: ui:build is in full and ciArtifacts and runs after tsdown/runtime-postbuild-stamp and before write-build-info; ui:build is excluded from gatewayWatch/cliStartup; ui:build cache outputs declare dist/control-ui. * fix(scripts): leave ui:build uncached so dist/control-ui never restores stale build IDs ClawSweeper review on openclaw#86010 flagged that the original ui:build cache only hashed ui/, scripts/ui.js, and scripts/lib/copy-assets.ts, but ui/vite.config.ts also reads package.json plus git HEAD and the OPENCLAW_CONTROL_UI_BUILD_ID/OPENCLAW_VERSION env vars to embed a build ID into the app and service worker. A file-input cache signature cannot exactly invalidate those metadata sources, so a warm build-all hit could restore a previously generated dist/control-ui after tsdown clears dist and ship stale service-worker/app cache metadata. Leaving the step uncached keeps the contract simple: every pnpm build re-runs Vite, which is fast for the Control UI bundle and matches the existing behavior of every other un-cached build-all step. Backend-only profiles (gatewayWatch, cliStartup) are still unchanged. Tests: - Updated the ui:build cache assertion to require step.cache to be undefined and explain the metadata-input reason. - Existing presence/order/exclusion assertions for ui:build are unchanged and still cover the full and ciArtifacts profile contract. * fix(scripts): keep ui build fallback pnpm-free --------- Co-authored-by: 1052326311 <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
…iles (openclaw#86010) * fix(scripts): include ui:build in build-all full and ciArtifacts profiles Closes openclaw#85206. scripts/build-all.mjs only ran ui:build via a separate `pnpm ui:build` command. Because `pnpm build` invokes tsdown which removes `dist/`, a backend rebuild silently deletes any previously generated dist/control-ui assets, leaving the gateway to serve the "Control UI assets not found" message at startup. Documentation and startup auto-repair masked the bug at the worst possible time (LaunchAgent readiness / remote recovery) instead of guaranteeing the build artifact contract. This change adds ui:build as a build-all step after copy-export-html-templates and before write-build-info, and includes it in the full and ciArtifacts profiles. Minimal backend dev profiles (gatewayWatch, cliStartup) keep their existing fast-loop step lists and do not run ui:build. Regression coverage: - ciArtifacts step list assertion updated to match the new ordering. - Three new resolveBuildAllSteps assertions: ui:build is in full and ciArtifacts and runs after tsdown/runtime-postbuild-stamp and before write-build-info; ui:build is excluded from gatewayWatch/cliStartup; ui:build cache outputs declare dist/control-ui. * fix(scripts): leave ui:build uncached so dist/control-ui never restores stale build IDs ClawSweeper review on openclaw#86010 flagged that the original ui:build cache only hashed ui/, scripts/ui.js, and scripts/lib/copy-assets.ts, but ui/vite.config.ts also reads package.json plus git HEAD and the OPENCLAW_CONTROL_UI_BUILD_ID/OPENCLAW_VERSION env vars to embed a build ID into the app and service worker. A file-input cache signature cannot exactly invalidate those metadata sources, so a warm build-all hit could restore a previously generated dist/control-ui after tsdown clears dist and ship stale service-worker/app cache metadata. Leaving the step uncached keeps the contract simple: every pnpm build re-runs Vite, which is fast for the Control UI bundle and matches the existing behavior of every other un-cached build-all step. Backend-only profiles (gatewayWatch, cliStartup) are still unchanged. Tests: - Updated the ui:build cache assertion to require step.cache to be undefined and explain the metadata-input reason. - Existing presence/order/exclusion assertions for ui:build are unchanged and still cover the full and ciArtifacts profile contract. * fix(scripts): keep ui build fallback pnpm-free --------- Co-authored-by: 1052326311 <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit 6704d0a)
Summary
Adds
ui:buildto thefullandciArtifactsprofiles ofscripts/build-all.mjssopnpm buildproduces a completedist/tree — bothdist/index.jsanddist/control-ui/index.html— in one command, instead of requiring users to remember a secondpnpm ui:buildafter every backend build.Closes #85206.
Why this is needed
scripts/tsdown-build.mjsremovesdistanddist-runtimebefore invoking tsdown (scripts/tsdown-build.mjs:58), and Vite is the only path that writesdist/control-ui(ui/vite.config.ts:9). On currentmain,pnpm buildruns thefullprofile but the profile has noui:buildstep, so a backend rebuild can delete previously-generated Control UI assets and leave the gateway serving the documented missing-assets message (src/gateway/control-ui.ts:61).The docs workaround
pnpm build && pnpm ui:buildis correct about ordering but is not a reliable contract for source/live runtimes, automation, or hotfix workflows. Startup auto-repair can mask the failure, but it does so at the worst possible time — gateway startup / LaunchAgent readiness / remote-access recovery — and users still observe a 503 before repair completes. Issue #85206 documents the five concrete failure modes and the source-level evidence that this is a build-pipeline gap rather than a docs gap.What changed
scripts/build-all.mjs: newui:buildstep inserted aftercopy-export-html-templatesand beforewrite-build-info, declared aspnpm ui:buildwith adist/control-uicache output andui/,scripts/ui.js,scripts/lib/copy-assets.tsas cache inputs. Added toBUILD_ALL_PROFILES.full(automatic viaBUILD_ALL_STEPS) and explicitly added toBUILD_ALL_PROFILES.ciArtifacts. Not added togatewayWatchorcliStartupso backend-only dev loops stay fast — this matches the issue'sScope boundaryrequirement.PNPM_STEP_NODE_FALLBACKS: added["ui:build", ["scripts/ui.js", "build"]]so theOPENCLAW_BUILD_ALL_NO_PNPM=1path keeps working for the new step.test/scripts/build-all.test.ts: updated theciArtifactsordered-list assertion, and added three new regression tests —ui:buildis present infullandciArtifactsaftertsdown/runtime-postbuild-stampand beforewrite-build-info;ui:buildis excluded fromgatewayWatch/cliStartup; theui:buildstep declaresdist/control-uias its cache output.CHANGELOG.mdUnreleased / Changes entry referencing Source/runtime builds can leavedist/control-uimissing because the UI build is only documented, not enforced #85206.Why this is the narrowest fix
ui:buildis already a first-classpnpmscript (package.json:1793) andscripts/ui.jsis already invoked bygateway startup auto-repair,update, and the docs workaround. The change just makesbuild-allhonor the same contract.gatewayWatch,cliStartup) are unchanged, sopnpm gateway:watchand CLI bench loops stay as fast as today.dist/control-uicache output, so warm rebuilds short-circuit on the existingbuild-all-cachemachinery instead of rebuilding the UI on every backend change.Change Type
Scope
Linked Issue
dist/control-uimissing because the UI build is only documented, not enforced #85206Real behavior proof
Behavior or issue addressed: On current
main, runningpnpm buildfrom a source/runtime checkout that does not run a secondpnpm ui:buildafterward can leavedist/control-ui/index.htmlmissing. Becausescripts/tsdown-build.mjsremovesdistbefore rebuilding the backend, even a previously validdist/control-ui/is wiped by a backend-only rebuild, and the gateway then servesControl UI assets not found. Build them with pnpm ui:build.... Issue #85206 reproduces this from source and lists five concrete failure modes where the docs-only workaround is insufficient.Real environment tested: Local macOS 15.7.4 (Darwin 25.4.0 arm64), Node v22.22.0, Corepack-managed pnpm, against this branch's HEAD on an
openclaw/openclawsource checkout. The reproduction exercised the realpnpm ui:buildscript, the realscripts/build-all.mjsprofile resolver, and the real on-diskdist/control-ui/artifact, withdist/control-ui/removed beforehand to simulate the post-tsdownstate described in the issue.Exact steps or command run after this patch: Five real terminal sessions were run end-to-end against the patched working tree. (1) Source-level proof that the patched build profiles include
ui:buildand exclude it from minimal dev profiles, vianode -e "import('./scripts/build-all.mjs').then(m => ...)". (2) Destructive artifact proof:rm -rf dist/control-ui && test -f dist/control-ui/index.html(must fail before fix), thenpnpm ui:build, thentest -f dist/control-ui/index.html(must succeed). (3) Drift test on the patched test file: temporarily delete theui:buildstep fromscripts/build-all.mjsand runnode scripts/run-vitest.mjs run test/scripts/build-all.test.tsto confirm the new regression tests fail closed; restore and re-run to confirm green. (4) Full targeted test run:node scripts/run-vitest.mjs run test/scripts/build-all.test.ts. (5) Format and lint guards:pnpm exec oxfmt --check scripts/build-all.mjs test/scripts/build-all.test.ts CHANGELOG.mdandpnpm exec oxlint scripts/build-all.mjs test/scripts/build-all.test.ts.Evidence after fix: Redacted real terminal output from the local working tree captured at branch HEAD before push.
Source-level proof — the patched profiles include
ui:buildin the right place and exclude it from minimal backend dev profiles:Destructive artifact proof —
dist/control-ui/index.htmlis missing beforeui:buildand is present after it on a real macOS source checkout:Drift proof — removing the
ui:buildstep fromscripts/build-all.mjsmakes my new regression tests fail closed (plus the updatedciArtifactsordered-list assertion), and restoring it makes all 19 tests pass again:Format and lint on touched files:
Observed result after fix: After this patch,
pnpm buildfrom a source/runtime checkout producesdist/control-ui/index.htmlas part of the normalfullprofile, without requiring a second remembered command. The CI artifact profile (pnpm build:ci-artifacts) likewise emits Control UI assets so artifact uploads no longer need to chainpnpm build && pnpm ui:build. Minimal backend dev profiles (gatewayWatch,cliStartup) keep their existing fast step lists. Startup auto-repair stays available as a defense-in-depth fallback but is no longer the only thing standing betweenpnpm buildand a serviceable dashboard route. The drift test captured above proves the regression coverage fails closed if any future refactor dropsui:buildfrom thefullorciArtifactsprofile.What was not tested: This patch does not change
gatewayWatch/cliStartupstep lists, so the existing backend-only dev-loop coverage intest/scripts/build-all.test.tsis unchanged. Windows-hostOPENCLAW_BUILD_ALL_NO_PNPM=1runs were not exercised end-to-end on macOS, but the newPNPM_STEP_NODE_FALLBACKSentry forui:buildmirrors the existing pattern used byplugins:assets:build/plugins:assets:copyand is exercised by the existing fallback-resolution tests.Root Cause
scripts/build-all.mjsdid not includeui:buildin its step list at all;BUILD_ALL_PROFILES.fullandBUILD_ALL_PROFILES.ciArtifactstherefore omitted it.scripts/tsdown-build.mjscleansdistbefore rebuilding the backend, so any priordist/control-uiproduced by a separately-rememberedpnpm ui:buildis destroyed by a laterpnpm buildrun.dist/control-uimissing because the UI build is only documented, not enforced #85206 documents the five concrete failure modes where this expectation breaks down.Regression Test Plan
test/scripts/build-all.test.tsalready gated theciArtifactsstep list and now also gatesui:build's presence, position, and cache contract)test/scripts/build-all.test.ts(existingciArtifactslist assertion updated, three newui:buildassertions, one updatedgatewayWatch/cliStartupexclusion assertion)User-visible / Behavior Changes
pnpm buildandpnpm build:ci-artifactsnow producedist/control-ui/index.htmlas part of the normal flow on a clean checkout. Documented workflows that already runpnpm build && pnpm ui:buildkeep working — the second command becomes a no-op against the freshly-built cached output.pnpm gateway:watch, CLI startup benchmarks, or any other backend-only profile.pnpm ui:build, which is already a first-class package script and is the same path used today by gateway startup auto-repair andopenclaw update.Scope boundary
scripts/build-all.mjs,test/scripts/build-all.test.ts, andCHANGELOG.mdare touched.scripts/ui.js,ui/vite.config.ts,scripts/tsdown-build.mjs, or the gateway startup auto-repair path. Startup auto-repair remains as the documented defense-in-depth fallback for non-pnpm buildinstall paths.Prior art
ui:buildtobuild-alllast year and was closed as "redundant" because main relied on gateway startup auto-repair + docs.dist/control-uimissing because the UI build is only documented, not enforced #85206 explicitly requests:clawsweeper:queueable-fix+clawsweeper:fix-shape-clearon the current source, with the issue body documenting why the auto-repair + docs combination is not sufficient (destructivedistcleanup, startup-time repair window, observable readiness failures, repeated regressions across docs: fix build order in install guide (pnpm build before pnpm ui:build) #45063 / v2026.3.22 global install: Control UI fails with 'Control UI assets not found' after reinstall and gateway restart #52932 / [Bug]: Control UI assets not found after upgrading to 2026.3.22 via install.sh #52977 / [v2026.3.22] Control UI assets missing from npm package — dashboard returns 'Control UI assets not found' #53050 / packaging: runtime dist build does not emit control-ui/ when only pnpm build is run #65594 / [Bug]: Windows linked source install can skip Control UI auto-build through junction-launched scripts/ui.js #73059).