Repository navigation
fix(release): unblock historical upgrade transcript and plugin checks - #132816
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 6:02 PM ET / 22:02 UTC. ClawSweeper reviewWhat this changesThe PR moves meeting-transcript export after repeated migration-survival checks and has the upgrade planner stage ACPX plus recognize ACPX/Feishu consent outcomes for applicable historical scenarios. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessKeep open for normal maintainer merge handling. The reviewed changes repair two release-harness ordering/inventory defects without an introduced correctness finding, but exact-head CI is still in progress and the newer fetched-main object could not be hydrated locally. Priority: P2 Review scores
Verification
How this fits togetherHistorical-upgrade scenarios install an older OpenClaw version, update it to a candidate, then check migrated state, plugin recovery, and Gateway health. The Docker planner supplies candidate plugin packages required by those scenario recipes before the update runs. flowchart LR
A[Historical baseline] --> B[Upgrade scenario recipe]
B --> C[Docker release planner]
C --> D[Candidate plugin registry]
D --> E[Updater and doctor]
E --> F[State and consent checks]
F --> G[Transcript export and Gateway checks]
Decision needed
Why: The source repair is coherent, but the final current-main merge context could not be inspected locally and the exact-head check suite remains in progress. Before merge
Agent review detailsSecurityNone. PR surfaceTests +116, Other +12. Total +128 across 8 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the lifecycle split and recipe-declared package requirement, then merge only after the exact current head has completed its release-harness validation. Do we have a high-confidence way to reproduce the issue? Yes, from source: the base assertion materializes the legacy transcript path after asserting it absent, while consent recovery invokes survival checks again. The supplied PR evidence also reports the corresponding packaged historical-upgrade failures, but this read-only review did not rerun them. Is this the best way to solve the issue? Yes. Separating the side-effecting export from the observational migration assertion fixes the lifecycle owner, and declaring ACPX on its scenario recipe avoids guessing package needs from channel-only configuration. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 288352be04f2. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
50a14d6 to
349974f
Compare
|
Mechanically refreshed onto current main to include the merged shutdown-profile fixture repair in #132820. The historical-upgrade harness patch remains unchanged; the patch identity and changed file blobs are checked against the previous head. The published focused, original-order migration, finite-consent and packaged upgrade proofs remain historical evidence for that patch. The final ACP proof used the explicitly documented seven-package composition, not the earlier six-package artifact seal. Fresh exact-head CI is required before landing. |
|
Merged via squash.
|
…openclaw#132816) * test(upgrade): defer transcript export until survival checks finish * test(upgrade): admit reviewed scenario consent recovery * test(release): stage ACP companion for historical upgrades
What Problem This Solves
Resolves a problem where historical upgrade verification rejected successful migration and expected fixture consent recovery. In the frozen full release run, seven meeting-transcript cases rejected their own exported artifact, and thirteen Feishu/ACP cases stopped before Gateway startup because their explicitly configured fixture plugins were absent from the harness's reviewed recovery set.
Why This Change Was Made
Migration checks now stay observational through every repeated survival check. The unchanged explicit transcript export assertions run once, after consent recovery finishes, so exporting the expected user artifact cannot invalidate a later migration assertion.
The ACP recipe now also declares its candidate package requirement. The planner collects that requirement during the same baseline-filtered recipe traversal it uses for channels, so unsupported baselines and unrelated scenarios do not stage ACP. This fixes the older-package selection exposed after consent admission was repaired; the exact version assertion remains intact.
The finite reviewed fixture set now includes
acpxandfeishu, which the scenario recipes already configure. The harness still requires the exact consent error codes/messages, a completed core swap, the expected baseline and installed versions, no integrity drift, and no unrelated plugin failures. It still rejects unknown plugins; it does not trust arbitrary configured entries.The repeated meeting survival calls became visible in #132470 and were carried forward in #132529. The incomplete finite consent list originated in #132529. Blamed commits are
56ffe5bc2efbc73eeb5f90f8d4d10ad0ce7488c2and21890efc87fd3c3678f01c602ed4d2db57d5a133, both authored by Peter Steinberger; the former credits Dallin Romney. The channel-only companion planner was introduced in #120107 (a0deb8edae1a72acc8d70d2b98298fc1de3376c0, authored by Vincent Koc), after ACP had already been externalized by010f7a58a1aaa0efff541a6844c7b3d684a2bacc. These are harness lifecycle/fixture omissions, not product migration or consent-policy defects.User Impact
No runtime, SQLite schema, persistence policy, configuration, timeout, or retry behavior changes. Release verification keeps the same migration, archive, export, recovery, and Gateway assertions without failing because of its own fixture ordering or incomplete fixture inventory.
Production LOC: +0/-0. Test infrastructure and tests: +171/-43 across eight files.
Evidence
error/okconsent cases fail before and pass after; negatives preserve rejection of unreviewed plugins, non-consent codes, unrelated failures, integrity drift, wrong versions, and incomplete updates.e5dc9df95928012aca0b5b519a7690d4bcacd4ca: real packaged 2026.4.15 meeting and 2026.4.23 Feishu scenarios passed against the sealed candidate. ACP reached completed repair, then exposed the missing companion artifact through the unchanged exact-version assertion.50a14d6c2dad7ce10f82a8cec037f882522a238d: the ordinary 2026.4.23 ACP upgrade passed in 193.876 seconds, including explicit repair, exact package-version and artifact-bound consent checks, four complete ClawHub audit cycles, and Gateway health/status. It uses the unchanged sealedd9fe780239a2cb7158aad437112156605e8d375ccore candidate with the final harness source and an explicitly composed new registry: the original six tarballs remain byte-identical, and ACP is normally built and packed from the exact frozen candidate source. The canonical validator checks all seven packages; this is a new manifest identity, not the original artifact seal or a single-producer attestation. The next full release run will use the fixed planner to build the complete registry normally. This is not a claim that the full historical matrix or full release verification is green.The final proof verifies all 35,205 tracked source paths, bytes, executable/symlink modes, and the Git tree before installation and afterward. The fixed planner requests ACP only for its supported recipe. Both proof leases were stopped and verified completed. The composed registry manifest is
003a8318377e78547525c97697ce25d6d71a18dc73294f37417f0d504e36d4dc; the newly built ACP tarball isa19133a6b0cdfe350126a538cbe725a38fb12b2fcf333651b6662c5a4b55cc80.The linked Actions pages identify the Testbox leases. The recorded wrapper command exits and source guards are the proof results; lease cleanup can leave the hydration workflow cancelled.