Repository navigation
fix(plugins): preserve live ClawHub package metadata - #148118
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. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
725020b to
880267d
Compare
|
Thanks for the fix and the main sync. Please hold this head stable now so exact-head CI and maintainer review can complete; the native landing workflow handles unrelated main drift without another branch merge. |
|
Reviewed This also repairs the main-induced CI failure blocking #147988. I am handling native landing once the required checks pass. Please keep this head stable unless a new actionable finding requires a change, so the current CI can complete. Update for |
Current dependency after the split@vincentkoc, I have adopted your canonical split. #144737 now depends on the narrow #148194 at I compared its sole changed assertion with the retained source from failed UI test merge I am leaving both branches and their existing checks untouched. After your live-verified #148194 merge, I will reconcile only the necessary prerequisite into #144737 and obtain green resulting-head checks before native landing. This is not a request to waive checks or transfer your active branch custody. Our CI34827560601 has now finished with a separate desktop viewer/framebuffer failure, which I am tracking independently. It does not broaden #148194's scope or make #148118 a dependency again. #147903 still follows actual UI landing and landed-base reconciliation. Earlier evidence, retained as historyAdditional dependent-PR evidence for the existing landing owner, @vincentkoc: #144737 at The actual CI merge I am following your existing native landing of this canonical contributor PR. I observed its head advance from Update for The added isolated/live/override cases exercise recorded CLI arguments, not live package installation. The PR body still described the earlier test-only assertion fix when inspected; the current-behavior/evidence update requested above remains with the landing owner. I have not rerun your tests or touched the branch. #144737 retains existing CI34827560601 and awaits this canonical merge; #147903's new runtime proof still follows actual UI landing. No additional observer or CI dispatch was started. |
ae601ef to
c2ffb9d
Compare
|
I split the original one-line assertion repair into #148194 and preserved @onlyysaurabh as the commit author. That narrow PR fixes the current-main Keeping this PR open for its separate live-vs-fixture package behavior and metadata work, which now has distinct proof and CI requirements. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Refresh the PR projection and checks against main with the wizard recovery test routing fix.
|
Merged via squash.
|
* test(docker): check the configurable ClawHub sweep spec * fix(e2e): preserve live ClawHub package default * fix(plugins): preserve live ClawHub package metadata * docs(testing): document live ClawHub plugin opt-in * chore: refresh ClawHub PR CI Refresh the PR projection and checks against main with the wizard recovery test routing fix. --------- Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
Related: #148074
What Problem This Solves
Resolves two live ClawHub validation defects left after the Docker fixture was isolated:
@openclaw/kitchen-sinkplugin.sizemetadata, but the top-level adapter dropped it. Installation succeeded, then lifecycle validation rejected the incomplete install record.#148129 separately landed the stale Docker helper assertion repair. That assertion is preserved on
mainand is not part of this PR's remaining diff.Why This Change Was Made
The ClawHub sweep now selects its default package after choosing live or fixture mode, while explicit package and runtime-ID overrides still win. Executable coverage verifies fixture default, live default, and explicit override routing.
The live artifact adapter now carries the registry-owned
sizefact into the existing metadata normalizer. Missing or malformed sizes remain optional; no downstream recomputation or fallback was added.The weaker static fixture-literal assertion is removed because the executable routing matrix now protects the actual behavior.
User Impact
Full release validation now exercises the published ClawHub plugin in live mode. ClawHub npm-pack installs also retain the advertised artifact size in their canonical install metadata.
Evidence
Retained live proof head:
9ce5c455e0e37ec8962575bbfe02ed7e43fc0f7e.run_0644d3db144acheck-changed: passed for all five remaining files.kind=npm-pack,size=985548.Using ClawHub package @openclaw/plugin-e2e-fixture (code-plugin).thenOK.Using ClawHub package @openclaw/kitchen-sink (code-plugin).thenOK.clawpackSizewas absent.mainmerge check was mergeable with no touched-file conflict.Diff classification: production
+2, E2E tooling+4, tests+65, docs+1.CHANGELOG.mdis release-owned; no release-note file was changed.Maintainer regression proof
Repeated against the production delta at
b901d0625f3a279ff9c12b357c8a2a988eadd20bin a scratch copy. Only the two production hunks were reversed and restored; the regression assertions were retained. For the lifecycle boundary, the existing synthetic resolver/archive fixture supplied the installer result tobuildClawHubPluginInstallRecordFields, the existing SQLite E2E writer, and the unmodifiedassertions.mjs clawhub-installedentry point. This is synthetic boundary proof, not a new live-network or published-driver upgrade run.Commands, run from the scratch copy:
Before restoring the production hunks:
After restoring the production hunks:
ClawSweeper review
The review of
b901d0625f3a279ff9c12b357c8a2a988eadd20bfound no actionable findings. No items required applying or skipping.Documentation and CI handoff
Commit
987100cb3937807a242bf486524d2f48f24d9322adds one line documentingOPENCLAW_PLUGINS_E2E_LIVE_CLAWHUB=1beside the existing plugin E2E environment flags. The production patch and contributor commit ancestry are unchanged.node scripts/check-changed.mjs -- docs/help/testing/docker.mdand independent P0–P2 review passed.The authorized single rerun of CI
34852596312onb901d0625f3a279ff9c12b357c8a2a988eadd20bfailed again in checks-node-compact-large-24, attempt 2:This file is unchanged by the PR. Main now contains the wizard database-fork routing repair at
6fd4d0d52a9f161f3eaaf6b2ca473101315069b3. Refreshed PR headfe7326f32d443c73089bcf6d69e260e55de403a9preserves the production patch and documentation addition; its GitHub merge ref includes that main fix. Exact-head CI is running. No assertion, timeout, or retry policy was changed in this PR.Thanks @onlyysaurabh for the original contribution and @vincentkoc for the live-mode and metadata repairs.