Repository navigation
fix(ci): successful upgrade checks omit detailed receipts - #148245
Conversation
Publish bounded, host-redacted receipts after successful published-baseline upgrade runs. Reuse the diagnostic owner and retain the initial post-core result separately from repair and recovery output. Preserve Docker outcomes and existing failure reports.
|
🦞👀 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 14, 2026, 3:47 PM ET / 19:47 UTC (Revision 3). ClawSweeper reviewWhat this changesPublishes redacted receipts for successful Docker upgrade checks while keeping initial update observations separate from recovery and excluding previous-run logs. Merge readiness⛔ Blocked before merge - 1 item remains This remains a useful, focused fix with no blocking findings. The prior stale-log defect is addressed; the earlier migration-proof blocker does not apply to temporary CI artifacts. Priority: P2 Review scores
Verification
How this fits togetherThe upgrade-survivor harness tests a published OpenClaw installation against a candidate package in Docker. Its host-side publisher turns private run observations into bounded, redacted artifacts for release reviewers. flowchart LR
A[Published installation and candidate] --> B[Docker upgrade check]
B --> C[Initial update and recovery observations]
B --> D[Completed run outcome]
C --> E[Host validation and redaction]
D --> E
E --> F[Success receipt or failure report]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +178, Docs +3, Other +120. Total +301 across 7 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep one host-owned publisher for bounded, redacted, invocation-specific receipts while preserving Docker outcomes and explicitly unknown observations. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main's outer cleanup publishes only failed runs, so successful published-upgrade checks omit host receipts. No target code or tests were executed during this read-only review. Is this the best way to solve the issue? Yes. Extending the existing publisher and resetting its per-run inputs addresses both omissions and stale evidence without creating another diagnostic owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b47979ccdd6f. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Publish host-redacted success receipts and clear each invocation’s private input logs before reuse. Preserve initial update observations, failure outcomes, and earlier public receipts. Validated the reused-directory regression, 20 related cases, scoped checks, and fresh P2 review.
|
Merged via squash.
|
What Problem This Solves
Successful published-upgrade checks omitted their detailed receipts from Docker artifacts. Reusing an artifact directory could also attach a previous run's repair or recovery logs to a later successful check.
User Impact
Maintainers can inspect the current invocation's initial update, subsequent recovery and phase timings. Missing observations remain unknown, and earlier public receipts remain available.
Why This Change Was Made
The existing host publisher projects and redacts successful receipts after Docker joins. Its existing preparation step clears only the three named per-run input logs before reuse. Initial post-core observations stay separate from later recovery.
These are temporary CI artifacts. Operator storage schemas and installed update, Doctor, migration and restart behavior do not change.
Evidence
The same-directory regression failed on the original stale-log defect and passed after the producer reset. The 20 selected cases and scoped checks passed; the overlapping wrapper cohort exercised 2 cases across 8 invocations. Independent P2 review completed five context batches with no actionable findings. The unchanged redaction registry implementation was omitted from that review context.
CI on 60150218 passed 79 jobs, with 15 skipped. Package Acceptance on the same head passed 9 jobs, with 15 skipped, through normal source validation and frozen admission. Its single
2026.9.3/baseDocker cell reused the existing2026.9.4candidate artifact and passed in 307 seconds. All 37 phase pairs passed. The uploadeddocker-e2e-published-upgrade-survivorartifact contains the verified 27,317-byte nested host receipt.That receipt captures initial post-core exit 0 and normal first-hop plugin repairs, with no subsequent update recovery; optional repair/recovery logs are null. This is manual/no-restart evidence, not updater-owned restart proof. Update stdout retains the existing 16 KiB complete-line bound, while the structured first-hop outcome remains separate. Synthetic wrapper controls cover concrete masking; this was not live-credential testing.
The preceding 5caa replay remains separate evidence. The earlier run with missing detailed receipts still has an unknown first-hop outcome; the new result does not reclassify it.
Related: #147834.