Repository navigation
fix(release): scope optional survivor assertions - #126000
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 18, 2026, 5:34 PM ET / 21:34 UTC. ClawSweeper reviewWhat this changesThe PR scopes the Matrix plugin assertion to configurations with an explicit configured-plugin-install coverage record, preserving the WhatsApp assertion for the base fixture. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessNo blocking patch defect found. This is a focused release-harness repair; keep it open for maintainer handling until the supplied exact-head selected-ref validation completes green. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (partial) — step 2 Assertions:
How this fits togetherThe upgrade-survivor release harness seeds an older configuration, validates it before and after an upgrade, and reports package-acceptance results. Scenario coverage determines which optional plugin and channel expectations apply. flowchart LR
A[Published upgrade fixture] --> B[Scenario coverage record]
A --> C[Configuration assertions]
B --> C
C --> D[Optional plugin decision]
D --> E[Base WhatsApp assertion]
D --> F[Configured Matrix assertion]
E --> G[Release validation]
F --> G
Before merge
Agent review detailsSecurityNone. PR surfaceOther 0. Total 0 across 1 file. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the optional Matrix expectation bound to an explicit coverage record while preserving the canonical base WhatsApp fixture assertion. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: absent coverage resolves to null while the prior intent check accepted it, and the base recipe does not add the Matrix scenario steps. Is this the best way to solve the issue? Yes: placing the coverage-presence condition on the optional Matrix assertion matches the sibling optional assertions and avoids changing global intent semantics. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5cabd2b72e20. LabelsLabel 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)
|
|
Merged via squash.
|
Summary
Root cause
The prepublish
upgrade-survivorpath seeds the base fixture directly and does not write a published-scenario coverage file.hasCoverage(...)intentionally returns true for baseline assertions, but the optional Matrix branch used it without the siblinghasCoverage(coverage)guard. The base fixture therefore failed before update withmatrix plugin allow entry missing, even though Matrix belongs only to theconfigured-plugin-installspublished scenario.Evidence
Pre-fix exact-source failures:
97a4d324f5c8f32b9c106d6a6e9ed33c180a5fcbThe same assertion module already requires
hasCoverage(coverage)for the later configured-plugin-install details and other optional published scenarios. This change applies that owner rule to the allowlist branch.No local tests or builds were run, per release-validation policy. Exact-head GitHub CI is the proof path.
Scope
Agent transcript omitted.
Exact-head targeted upgrade-survivor proof for
1a0521d4bae9521db9e08b6de7d4485144ed87fc: https://github.com/openclaw/openclaw/actions/runs/32187977956. The first focused run used main's trusted harness SHA39b39ca6eec684f0675cd93500646b578f6e7021, so its/app/scripts/e2e/lib/upgrade-survivor/assertions.mjswas the old harness and repeated the pre-fix failure; the corrected run uses SHA-pinned base-repo workflow refrelease-ci/1a0521d4bae9-1787088530, whose workflow and candidate both resolve to the PR head.