Repository navigation
fix: keep bundled plugins with their updated core release - #205952
Conversation
- Retire foreign compiled-bundle install records before channel planning, independent of package version. - Keep packaged bundles image-owned while preserving explicit links and source checkout ownership. - Remove the late competing prune path and cover fresh reload ownership at the channel boundary.
|
🦞👀 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. |
|
Codex review: blocked before merge. What this changesRetire obsolete bundled-plugin install records before update planning and keep packaged bundles owned by their core release. Example: A Git update replaces one 2026.11.10 release directory with another while brave retains its previous bundled path.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep open: this maintainer-authored PR addresses a concrete update ownership problem that remains on current main; the pinned diff has no definite introduced defects. Reviewed head: Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherPlugin channel synchronization consumes installed records and discovered bundles, then passes reconciled ownership into package maintenance, Doctor convergence, persistence, and runtime reload. flowchart TD
A[Core release selected] --> B[Discover bundled plugins]
B --> C[Reconcile install records]
C --> D[Plan package maintenance]
D --> E[Doctor convergence]
E --> F[Publish records]
F --> G[Reload changed plugins]
Technical reviewBest possible solution: Keep retirement at channel planning under the existing physical ownership policy and complete the pending upgrade qualification. Do we have a high-confidence way to reproduce the issue? Current main requires differing nonempty versions before detecting stale compiled-bundle records and performs pruning after cohort planning; the added regressions exercise the same-version ownership path, with base failures reported but no product reproduction inspected. Is this the best way to solve the issue? The change is focused: it reuses existing ownership checks, retires stale claims before their consumers run, and removes the superseded late prune operation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 762aa006f948. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -19, Tests +21, Docs +7. Total +9 across 8 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 Reviewed November 26, 2026, 7:57 AM ET / 12:57 UTC. |
|
Linux Git product proof is PARKED, not passed. The final corrected sibling-/work layout passed disjoint-path assertions, public installation-root selection, authenticated baseline/native service checks, the published 2026.11.10 → first Git release → resident predecessor hops, recorded predecessor plugin completion, and legitimate brave/codex installs. Before the candidate update, the diagnostic-plugin fixture was refused: unsupported git: plugin spec (a local git: locator). Candidate C and the changed retirement path were never reached. No locator repair or further D retry is being attempted. CI and the exact-head local review remain green; this product gate is unproven. Failure archive SHA256 cbe642c72ae66557aef5194211f726377acaa5648876662f3b490e9cb7af7c21; native stop/uninstall exited 0, AWS exact lease release is underway. |
- Use one pass for record retirement and development-channel synchronization. - Preserve source-owned links and filter the final updated install map once.
|
Landed as 05c15ac. A Git-release update now retires bundled-plugin install records that still point into an earlier release's directory, inside the existing dev-channel loop, before activation. So the plugins reload from the release that serves, and do not fail with 'Plugin brave changed after the installation batch' (fleet run 4de610c8). Production 848 → 829 lines (−19). Proof: the owner tests (146 in 13 files) fail on main and pass here; CI is green; the review is clean. The full Linux candidate run did not finish because of harness setup failures, so Peanutto's next nightly is the live check. |
…05952) ## What Problem This Solves A same-version Git update can leave bundled plugins pinned to an older release directory. The new core starts, but post-update plugin activation rejects the stale installation claim and can abort the reload batch. Related: openclaw#204866, openclaw#205655. ## User Impact Packaged bundled plugins follow the selected core without a second path-install owner. User settings and explicit local/source-checkout selections stay intact; this does not uninstall plugins or delete their code. Existing registered Git-plugin peer-link repair stays in its current owner. No schema, stored-record shape, launcher format, or public plugin API changes. ## Why This Change Was Made The existing stale-record owner ran after channel synchronization and required a different package version. Retire proven foreign compiled-bundle records before planning, using the existing physical ownership policy instead of version and path-string guesses. Dev synchronization also stops creating redundant records for packaged bundles. The late competing prune operation and its obsolete wrapper are removed. Production code on this PR's three runtime files, measured with `tokei` against `158fa1971e14`: **848 → 829 lines (−19)**. Net test lines: **+21**. Record retirement and development-channel synchronization use one loop. ## Evidence - Base regression: **9 intended assertion failures / 8 passes** on `158fa1971e14`, covering same-version foreign bundles and dev image ownership. - Repaired source: **146 tests / 13 focused files** pass in **295.98 s**; core/plugin/Doctor type lanes, scoped lint and format checks pass. - Full build **327 s**; canonical package and tarball integrity check **147 s**, passed on the same source: https://crabbox.openclaw.ai/portal/runs/run_dc18498ac0ce67bf255a724603a87da8 . Normal transport carrier `52ac74c7ea423bf3ba7dc40fa7ede4f87d3a923e`; qualified tree `ab0be1d46d2b4479f5d61dab4caf3732957a006e` is identical to committed head `ed2da82d62dccacc41f779b61341714a98677c32`. The build stamp names the carrier, not the eventual PR SHA. - Linux product proof is incomplete: published `2026.11.10` → first Git release → resident predecessor and predecessor plugin completion passed, but the harness's diagnostic plugin locator was refused before candidate activation. No candidate retirement/reload pass or zero-stale-record result is claimed. Raw failure and partial proof: openclaw#205952 (comment) . Native profile was stopped/uninstalled, exact AWS lease released with `--wait`. The final proposed retry was cancelled before allocation under the direction to stop adding proof machinery. - Final head `075c60763f62537163644c935f22c166329cb419` only folds the two adjacent record loops into one, preserving updated source-owned records before the final retirement filter. Owner red/green tests and the clean review above qualify the behavior before this loop consolidation; CI runs on the final head. Main's accepted live follow-up is the next Peanutto nightly. Co-authored-by: Ayaan Zaidi <[email protected]>
## What Problem This Solves A same-version Git update can leave bundled plugins pinned to an older release directory. The new core starts, but post-update plugin activation rejects the stale installation claim and can abort the reload batch. Related: #204866, #205655. ## User Impact Packaged bundled plugins follow the selected core without a second path-install owner. User settings and explicit local/source-checkout selections stay intact; this does not uninstall plugins or delete their code. Existing registered Git-plugin peer-link repair stays in its current owner. No schema, stored-record shape, launcher format, or public plugin API changes. ## Why This Change Was Made The existing stale-record owner ran after channel synchronization and required a different package version. Retire proven foreign compiled-bundle records before planning, using the existing physical ownership policy instead of version and path-string guesses. Dev synchronization also stops creating redundant records for packaged bundles. The late competing prune operation and its obsolete wrapper are removed. Production code on this PR's three runtime files, measured with `tokei` against `81bc5ec79fe4`: **848 → 829 lines (−19)**. Net test lines: **+21**. Record retirement and development-channel synchronization use one loop. ## Evidence - Base regression: **9 intended assertion failures / 8 passes** on `81bc5ec79fe4`, covering same-version foreign bundles and dev image ownership. - Repaired source: **146 tests / 13 focused files** pass in **295.98 s**; core/plugin/Doctor type lanes, scoped lint and format checks pass. - Full build **327 s**; canonical package and tarball integrity check **147 s**, passed on the same source: https://crabbox.openclaw.ai/portal/runs/run_dc18498ac0ce67bf255a724603a87da8 . Normal transport carrier `52ac74c7ea423bf3ba7dc40fa7ede4f87d3a923e`; qualified tree `ab0be1d46d2b4479f5d61dab4caf3732957a006e` is identical to committed head `ed2da82d62dccacc41f779b61341714a98677c32`. The build stamp names the carrier, not the eventual PR SHA. - Linux product proof is incomplete: published `2026.11.10` → first Git release → resident predecessor and predecessor plugin completion passed, but the harness's diagnostic plugin locator was refused before candidate activation. No candidate retirement/reload pass or zero-stale-record result is claimed. Raw failure and partial proof: #205952 (comment) . Native profile was stopped/uninstalled, exact AWS lease released with `--wait`. The final proposed retry was cancelled before allocation under the direction to stop adding proof machinery. - Final head `075c60763f62537163644c935f22c166329cb419` only folds the two adjacent record loops into one, preserving updated source-owned records before the final retirement filter. Owner red/green tests and the clean review above qualify the behavior before this loop consolidation; CI runs on the final head. Main's accepted live follow-up is the next Peanutto nightly. Co-authored-by: Ayaan Zaidi <[email protected]> (cherry picked from commit 05c15ac)
## What Problem This Solves A same-version Git update can leave bundled plugins pinned to an older release directory. The new core starts, but post-update plugin activation rejects the stale installation claim and can abort the reload batch. Related: #204866, #205655. ## User Impact Packaged bundled plugins follow the selected core without a second path-install owner. User settings and explicit local/source-checkout selections stay intact; this does not uninstall plugins or delete their code. Existing registered Git-plugin peer-link repair stays in its current owner. No schema, stored-record shape, launcher format, or public plugin API changes. ## Why This Change Was Made The existing stale-record owner ran after channel synchronization and required a different package version. Retire proven foreign compiled-bundle records before planning, using the existing physical ownership policy instead of version and path-string guesses. Dev synchronization also stops creating redundant records for packaged bundles. The late competing prune operation and its obsolete wrapper are removed. Production code on this PR's three runtime files, measured with `tokei` against `81bc5ec79fe4`: **848 → 829 lines (−19)**. Net test lines: **+21**. Record retirement and development-channel synchronization use one loop. ## Evidence - Base regression: **9 intended assertion failures / 8 passes** on `81bc5ec79fe4`, covering same-version foreign bundles and dev image ownership. - Repaired source: **146 tests / 13 focused files** pass in **295.98 s**; core/plugin/Doctor type lanes, scoped lint and format checks pass. - Full build **327 s**; canonical package and tarball integrity check **147 s**, passed on the same source: https://crabbox.openclaw.ai/portal/runs/run_dc18498ac0ce67bf255a724603a87da8 . Normal transport carrier `52ac74c7ea423bf3ba7dc40fa7ede4f87d3a923e`; qualified tree `ab0be1d46d2b4479f5d61dab4caf3732957a006e` is identical to committed head `ed2da82d62dccacc41f779b61341714a98677c32`. The build stamp names the carrier, not the eventual PR SHA. - Linux product proof is incomplete: published `2026.11.10` → first Git release → resident predecessor and predecessor plugin completion passed, but the harness's diagnostic plugin locator was refused before candidate activation. No candidate retirement/reload pass or zero-stale-record result is claimed. Raw failure and partial proof: #205952 (comment) . Native profile was stopped/uninstalled, exact AWS lease released with `--wait`. The final proposed retry was cancelled before allocation under the direction to stop adding proof machinery. - Final head `075c60763f62537163644c935f22c166329cb419` only folds the two adjacent record loops into one, preserving updated source-owned records before the final retirement filter. Owner red/green tests and the clean review above qualify the behavior before this loop consolidation; CI runs on the final head. Main's accepted live follow-up is the next Peanutto nightly. Co-authored-by: Ayaan Zaidi <[email protected]> (cherry picked from commit 05c15ac) Release adaptation: Retain bundled selection at the existing channel update and Doctor convergence owners; adapt documentation and assert the complete stable install-record set instead of importing the absent main reload batch. Existing discovered-owner and Doctor convergence assertions remain. Companion audit: PR #205952 is selected; keep bundled update/Doctor consumer changes together and preserve explicit links and npm installations. Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
A same-version Git update can leave bundled plugins pinned to an older release directory. The new core starts, but post-update plugin activation rejects the stale installation claim and can abort the reload batch.
Related: #204866, #205655.
User Impact
Packaged bundled plugins follow the selected core without a second path-install owner. User settings and explicit local/source-checkout selections stay intact; this does not uninstall plugins or delete their code. Existing registered Git-plugin peer-link repair stays in its current owner.
No schema, stored-record shape, launcher format, or public plugin API changes.
Why This Change Was Made
The existing stale-record owner ran after channel synchronization and required a different package version. Retire proven foreign compiled-bundle records before planning, using the existing physical ownership policy instead of version and path-string guesses. Dev synchronization also stops creating redundant records for packaged bundles. The late competing prune operation and its obsolete wrapper are removed.
Production code on this PR's three runtime files, measured with
tokeiagainst81bc5ec79fe4: 848 → 829 lines (−19). Net test lines: +21. Record retirement and development-channel synchronization use one loop.Evidence
81bc5ec79fe4, covering same-version foreign bundles and dev image ownership.52ac74c7ea423bf3ba7dc40fa7ede4f87d3a923e; qualified treeab0be1d46d2b4479f5d61dab4caf3732957a006eis identical to committed headed2da82d62dccacc41f779b61341714a98677c32. The build stamp names the carrier, not the eventual PR SHA.2026.11.10→ first Git release → resident predecessor and predecessor plugin completion passed, but the harness's diagnostic plugin locator was refused before candidate activation. No candidate retirement/reload pass or zero-stale-record result is claimed. Raw failure and partial proof: fix: keep bundled plugins with their updated core release #205952 (comment) . Native profile was stopped/uninstalled, exact AWS lease released with--wait. The final proposed retry was cancelled before allocation under the direction to stop adding proof machinery.075c60763f62537163644c935f22c166329cb419only folds the two adjacent record loops into one, preserving updated source-owned records before the final retirement filter. Owner red/green tests and the clean review above qualify the behavior before this loop consolidation; CI runs on the final head. Main's accepted live follow-up is the next Peanutto nightly.