Repository navigation
fix(update): run copied config plugin Doctor contracts - #150978
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. |
|
Codex review: blocked before merge. Reviewed September 17, 2026, 12:44 PM ET / 16:44 UTC (Revision 4). ClawSweeper reviewWhat this changesAllow complete custom plugins copied into a private update rehearsal to run their Doctor configuration-repair contracts while retaining installation deferral elsewhere. Merge readiness⛔ Blocked before merge - 1 item remains This remains a useful, focused repair absent from current main. No actionable defects remain; the supplied published-driver evidence resolves the prior compatibility and proof concerns. Priority: P2 Review scores
Verification
How this fits togetherUpdate rehearsals exercise a candidate OpenClaw installation against private copies of operator state and plugins. Doctor’s availability check determines which plugin repair contracts can run and which must wait for installation to finish. flowchart TD
A[Published updater] --> B[Private state and plugin copies]
B --> C[Doctor availability check]
C --> D{Complete config plugin inside rehearsal?}
D -->|Yes| E[Run existing Doctor contract]
D -->|No| F[Retain installation deferral]
E --> G[Candidate compatibility result]
F --> G
Before merge
Agent review detailsSecurityNone. PR surfaceSource +13, Tests +46. Total +59 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep one Doctor availability owner that recognizes complete private rehearsal copies while preserving ordinary update deferral and retained migration obligations. Do we have a high-confidence way to reproduce the issue? Yes: current main’s rehearsal convergence path requests installation deferral, which excludes complete config-selected copies from Doctor execution. Source and the supplied failing acceptance scenario establish the mechanism; no tests were executed in this read-only review. Is this the best way to solve the issue? Yes: the patch narrows the existing availability decision using established rehearsal markers and payload checks, and the published-driver scenario demonstrates the intended recovery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a1cc9b38c1c8. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Published-driver compatibility proof is now green on the exact combined candidate containing this head plus #150840: Package Acceptance 35243361810, job 105283976877. The pinned @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Compatibility disposition: this patch changes no serialized schema, database table, config format, migration record shape, or persistent data model. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
ClawSweeper follow-up for the two remaining proof checkboxes: Raw acceptance artifact: docker-e2e-published-upgrade-survivor artifact (SHA-256 The downloaded immutable artifact's
Decisive raw lane output: This is the requested migration/upgrade compatibility proof. The patch itself has no persistent data-model surface: it changes only transient Doctor eligibility for a complete config plugin copied under a recognized private rehearsal root. No schema, serialized record, config format, migration record, or database table changes. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
Prepare cold outbound channel metadata asynchronously through the existing state worker. Preserve the shared plugin cache and selection owner, captured workspace/state context, and currentness checks before loading or queue admission. Cancellation and preparation failures retain one queue-owned terminal audit and message hook. Keep synchronous bootstrap for callers outside this cut. Extract unchanged retry policy and the Matrix test adapter into internal siblings; preserve canonical catalog custody and complementary regression coverage. No new configuration, stored format, or migration. Validation: exact-head CI run 35343214882 passed; focused metadata/worker controls, relevant types, line-cap checks, and fresh P2 review passed. Historical updater proof remains bound to source 7dd / package f66; no new installed-update or live-provider proof is claimed. Related: #144592. Doctor #149381 was superseded by canonical #150978. Co-authored-by: Vincent Koc <[email protected]>
…#149304) Prepare cold outbound channel metadata asynchronously through the existing state worker. Preserve the shared plugin cache and selection owner, captured workspace/state context, and currentness checks before loading or queue admission. Cancellation and preparation failures retain one queue-owned terminal audit and message hook. Keep synchronous bootstrap for callers outside this cut. Extract unchanged retry policy and the Matrix test adapter into internal siblings; preserve canonical catalog custody and complementary regression coverage. No new configuration, stored format, or migration. Validation: exact-head CI run 35343214882 passed; focused metadata/worker controls, relevant types, line-cap checks, and fresh P2 review passed. Historical updater proof remains bound to source 7dd / package f66; no new installed-update or live-provider proof is claimed. Related: openclaw#144592. Doctor openclaw#149381 was superseded by canonical openclaw#150978. Co-authored-by: Vincent Koc <[email protected]>
What Problem This Solves
Published-driver update rehearsal copied explicit custom-plugin payloads into private canary state, but the newer missing-plugin deferral owner classified every configured plugin as awaiting package convergence. Full Release Validation then skipped the copied plugin Doctor contract even though its private payload was complete.
User Impact
Custom plugins selected through
plugins.load.pathsexecute their Doctor config-repair contracts inside the private update canary again. Missing, stale, and package-managed plugins remain deferred until package convergence.Why This Change Was Made
Treat only config-selected plugin payloads contained by a recognized private update-rehearsal root as available without package convergence. Ordinary config paths remain deferred because their source can be stale during an update. This restores the exact behavior proven when the sibling-copy repair landed without weakening missing-plugin migration safeguards.
Evidence
pnpm check:changed: passed all changed-file, type, lint, dead-code, database, and import-cycle gates.The exact published
[email protected]upgrade-survivor scenario will be rerun against this head combined with #150840 before either repair is landed.