Repository navigation
fix: restore blocking release validation and remove publication waivers - #157864
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 25, 2026, 5:08 PM ET / 21:08 UTC (Revision 8). ClawSweeper reviewWhat this changesThe branch makes selected release checks blocking, removes waiver inputs from validation and publication, and makes stable release orchestration request soak-enabled validation and stop on failure. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 5 items remain Strict release validation is still needed on current main. This head fixes the previously reported waiver-free saved-state loading problem, but it still removes recovery for published waiver-era evidence without a recorded release-owner decision accepting that change. Priority: P1 Review scores
Verification
How this fits togetherFull Release Validation turns a release candidate and selected check results into a sealed manifest. Publication and stable closeout consume that manifest to authorize packages and record the shipped release. flowchart LR
A[Release candidate] --> B[Selected validation checks]
B --> C{All selected checks pass?}
C -->|No| D[Qualification stops]
C -->|Yes| E[Sealed manifest]
E --> F[Publication gate]
F --> G[Published release]
G --> H[Closeout receipt]
Decision needed
Why: The patch intentionally removes an existing recovery contract established by a merged closeout repair; the contributor's account of direction does not provide direct acceptance of this exact retirement. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests -770, Docs -61, Config -146, Other -654. Total -1631 across 58 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep new publication strict, and retain a closeout-only path that verifies original sealed evidence and receipt bytes unless the release owner explicitly retires historical recovery with an operator procedure. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main accepts waiver-backed stable evidence, while this head rejects the original sealed manifest and recorded receipt during closeout recovery. This read-only review did not dispatch a release. Is this the best way to solve the issue? No. Blocking failed selected checks for new publication is the right boundary, but historical closeout replay needs a narrow compatibility path or explicit release-owner acceptance of its retirement. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a8758fdaeabc. LabelsLabel changes: No label 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 (7 earlier review cycles)
|
7d4fa13 to
2b10345
Compare
|
@clawsweeper re-review Addressed the concrete P3: beta coverage now names Linux, Windows, and macOS cross-OS checks. Updated the two remaining stale CI fixtures: selected failed Telegram evidence must be rerun, and selected failed child-evidence metadata blocks qualification. The before-fix focused run reproduced all three failed expectations. The maintainer explicitly requested and reconfirmed that old waiver-bearing plans must not remain supported. The intended recovery is fresh strict qualification, not a compatibility/upgrade path that accepts retired waiver evidence. This can require rerunning otherwise green children from old waived plans; no evidence is deleted. Current strict-plan exact-target success reuse remains supported. Please treat this as the recorded policy decision, not an unresolved implementation request for legacy compatibility. The paired selector removal, openclaw/releases#35, was merged independently at 2026-09-25T04:46:24Z (6dc6db8beb01c15a856a90c1ab9f8df01d1d3f4e). Verified merged source removes both direct latest modes and retains the legitimate stable-to-beta floor and extended-stable promotion. The rollout dependency is therefore resolved. Both full focused files passed (96 tests); focused lint, root-test typechecks, formatting, and fresh P2 review passed. The patch was rebased onto Please reassess the current head and readiness on this evidence. This is a review-only request; do not start repair or merge automation. |
|
🦞👀 Re-review progress:
|
|
Correction to the earlier companion-rollout note: openclaw/releases#35 removed more than requested. The maintainer reverted that removal through openclaw/releases#37, merged at76e51f9a5fee0d2cbbb836dea41a52cf8aced56b. The existing beta-to-latest promotion and stable selector recovery entry points remain supported after the exact final release passes stable/full validation, soak, and blocking performance. The operator verifies qualification before dispatch; the selector workflow itself checks package/tag identity and does not authenticate FRV. #157864 removes waiver-backed/beta-profile fast qualification. It must preserve legitimate fully qualified beta-to-stable promotion. Source publication gates continue to accept exact stable/full evidence; no old waiver-bearing plans are restored. Please assess that scope rather than treating removal of all promotion entry points as a dependency. |
|
@clawsweeper re-review. Head 70e016314f0 corrects promotion guidance following the maintainer clarification above: preserve fully qualified beta-to-stable promotion, remove only fast-track qualification and waivers. |
|
🦞👀 I queued a lightweight read-only assist pass. It will post a separate answer comment and will not edit the durable ClawSweeper review comment or trigger close, merge, repair, label, or branch changes. Request: re-review. Head 70e016314f0 corrects promotion guidance following the maintainer clarification above: preserve fully qualified beta-to-stable promotion, remove only fast-track qualification and waivers. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
ClawSweeper assist: Head Evidence:
Suggested next action: Request Source: #157864 (comment) |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
70e0163 to
4d9363c
Compare
|
@clawsweeper re-review Rebased head All 251 focused publication/closeout/candidate tests and workflow validation passed. Fresh independent review's single finding assumed final tags default to beta; the actual stable-tag default at release-candidate-checklist.mts:331–332 and 145 passing candidate tests disprove it. The body records that disposition and the prior current-main CI assertion failure; final-head CI is pending. |
|
🦞👀 Re-review progress:
|
606fcc9 to
0f2c770
Compare
0f2c770 to
c28907a
Compare
…rs (openclaw#157864) * fix: restore blocking release validation and remove publication waivers * fix(release): align recovery proof with strict validation * docs(release): preserve qualified beta promotion * fix(release): require strict stable orchestration and retire waived replay * fix: read waiver-free saved release state after retry removal * fix: discard retired capability metadata from strict release state
What Problem This Solves
Release validation and publication could accept failed selected checks or beta-profile evidence through lane/soak waivers. The newly added stable-release orchestrator also selected beta validation without soak, composed waivers, and automatically continued failed validation.
Why This Change Was Made
Restore the strict blocking policy from #156811 across validation, publication, token bootstrap, closeout, workflows, and operator guidance. Remove waiver issuance, forwarding, persisted authority, and old waived-plan compatibility. This eliminates the broken Variables API waiver read without adding credentials.
The stable-release orchestrator now requests stable validation with soak, rejects retained beta requests, and stops at the first failed validation for explicit operator diagnosis/recovery. Existing publication approvals and approval receipts remain in place. Normal beta-to-stable promotion remains supported after exact stable/full qualification, soak, blocking performance, and successful selected lanes; the operator-approved promotion modes restored by openclaw/releases#37 remain supported.
Historical waiver-bearing receipt replay is intentionally unsupported, as explicitly directed after confirming the existing v2026.9.6 closeout completed. A new validation cannot replace an already-published immutable binding. Existing complete manifest/checksum pairs are left untouched; partial historical recovery does not gain an exception.
Waiver-free saved orchestrator state remains readable: the loader discards the obsolete
validate.continuesretry counter andcapabilities.closeoutResolvesWaiverstooling flag, while the canonical writer omits both. This does not restore automatic retries, beta fast-track qualification, or any waiver-bearing state.User Impact
Every selected lane must pass. Historical reviewed Telegram omissions preserved by #156811 remain explicitly unrun and cannot excuse selected failures. Exact-target successful-child reuse remains available for current strict plans. Older waived plans may lose otherwise-green child reuse and require new qualification; evidence is not deleted. Already-published waiver receipts cannot be repaired by inventing a new validation binding.
Evidence
Original policy regression proof admitted failed selected tests and waived beta evidence; repaired boundaries reject both.
New orchestrator regression failed before the fix because it automatically invoked
frv continue; it now stops, preserves evidence, and resumes only after operator recovery. Retained beta requests and retired waiver state are rejected.Existing closeout completion is independently visible in run36175758641, which reports v2026.9.6 already complete. The release-attached manifest and checksum were downloaded and verified to match. This documents completed state; it does not claim release-owner approval.
Full policy verification before the saved-state follow-up: 147 distinct tests passed across orchestrator, post-publication orchestration, publication gates, stable closeout, and hosted-tail CI planning. Historical replay tests preserve original receipt bytes; current strict receipt replay and completed-closeout skip remain covered.
Rebased onto
ebdf8ab475b92d73fedee505bee45496b545037a, including upstream fix(plugins): report retained-work settlement once #157836's hosted-tail job-budget repair. The formerly failing hosted-tail test passes locally without further threshold changes.Workflow validation, targeted production lint, formatting, and diff checks passed. Scripts and root-test typechecks passed. Fresh independent P2 review found no actionable issues.
Rebased unchanged onto
7c4866c73b31after main fixed the unrelated team-reports test import that blocked hosted typechecking. All four PR commits are patch-identical across that rebase. The hosted test typecheck now passes. No release dispatch, publication, credential mutation, or merge was performed.Hosted CI passed on the preceding
a7ebb9effd42head, including all 14 previous-version installer cases that failed on an earlier run. The latest metadata-only follow-up is awaiting its own hosted checks.Addressed both ClawSweeper saved-state findings using the complete old writer shape. The capability regression failed three real CLI cases before repair; all 23 orchestrator cases pass afterward (16.57s suite / 17.93s wrapper). Status remains read-only, resumed writes remove obsolete bookkeeping, failed validation still stops, and actual waiver/unknown fields remain rejected. Fresh changed-file gates and independent P2 review pass; the final expected-command fixture correction also passes targeted lint.
New head checks/review are pending. The prior Gold review also objected to retiring historical waived-receipt replay; that effect remains intentional under the requested policy. This PR does not claim direct release-owner approval or an unconditional merge-ready verdict.