Repository navigation
fix(release): report blockers before diagnostics finish - #127014
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
1bf1a0e to
56fd5db
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 21, 2026, 11:23 AM ET / 15:23 UTC. ClawSweeper reviewWhat this changesThe PR separates Full Release Validation’s early blocking decision from terminal diagnostic collection through an immutable child-run execution plan and bound Decision/Drain artifacts. Merge readinessKeep open for release-owner review. The prior transient artifact-read finding is addressed on the current head, and no new discrete patch defect was established; this protected release-workflow change still needs its exact-head hosted validation and an explicit decision on the documented post-merge proof path. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherFull Release Validation dispatches CI and release-check child workflows for a candidate release. The new plan records their exact identities, then Release Decision reports blockers early while Diagnostic Drain continues collecting terminal results for final verification. flowchart LR
A[Release candidate] --> B[Full Release Validation]
B --> C[Dispatch exact child runs]
C --> D[Immutable execution plan]
D --> E[Release Decision]
D --> F[Diagnostic Drain]
E --> G[Early blocker result]
F --> H[Terminal diagnostics]
G --> I[Final verification]
H --> I
Decision needed
Why: This changes release qualification and cancellation behavior; source review cannot decide when release policy may accept post-merge confirmation. Before merge
Agent review detailsSecurityNone. PR surfaceTests +1342, Docs +119, Config -247, Other +2598. Total +3812 across 19 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the immutable plan as the sole release-state record, complete exact-head CI, and have the release owner confirm the controlled non-publishing hosted proof before relying on this path for publication. Do we have a high-confidence way to reproduce the issue? Unclear: the PR cites hosted runs, but they could not be independently opened during this review and the local pre-patch workflow objects were unavailable. Is this the best way to solve the issue? Unclear: the plan/Decision/Drain split has a coherent owner boundary, but exact hosted lifecycle proof and release-owner acceptance determine whether it is the best releasable path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 3ae7ba319461. 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 (9 earlier review cycles; latest 8 shown)
|
a42ddb8 to
917f55d
Compare
ded2148 to
4a10ece
Compare
5a8c652 to
a38d4ad
Compare
b008332 to
5d5073f
Compare
|
@clawsweeper re-review Exact head |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review Exact head |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review Exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review Exact head |
|
🦞👀 Re-review progress:
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
) * fix(release): separate decisions from diagnostic drain * test(release): align decision drain fixtures * fix(release): pin artifact downloads to valid v8 SHA * fix(release): default empty evidence paths in plans * fix(release): bind complete evidence reuse selection * fix(release): harden retry artifact integrity * fix(release): canonicalize reused validation evidence * fix(release): bind manifest children to execution plan * test(release): fix validation fixture types * fix(release): retry transient decision artifact reads
Builds on the retry-group contract merged by #127012.
What Problem This Solves
Fixes an issue where release operators waited for every Full Release Validation child to finish before learning that publication was already blocked, while long-running dispatcher jobs also owned diagnostic collection and cancellation policy.
Why This Change Was Made
Child jobs now dispatch one exact run tuple and finish. A stable execution-plan artifact seals the original parent attempt, exact child IDs/attempts/titles, required coverage, gates, reuse identity, workflow ref, and Tooling SHA.
Release Decision revalidates reused evidence and reports decisive blockers early. Diagnostic Drain continues selected children to terminal. Collector retries restore the immutable plan and adopt the same children; they never redispatch tests. The final verifier validates the plan plus exact Decision and Drain artifacts instead of independently reclassifying results.
One canonical policy module owns coverage, candidate-preparation semantics, advisory failures, terminal policy, state classification, artifact binding, bounded summaries, and exact-child cancellation selection.
This intentionally excludes writer trust, ReleasePlan schema, scanner, and group-planner changes.
User Impact
Release owners get an early, policy-correct blocking answer without losing independent diagnostics.
fail_fast=falsemakes zero child cancellation calls.fail_fast=truecan cancel only the exact active child that owns a blocking failure. API failures remain distinct from provenance mismatches, and SIGINT/SIGTERM writes an immediate handoff with active child identities.Historical evidence remains valid when a parent log uniquely records the child run URL without newer
(attempt N)text. Changelog-only reuse keeps the Code/evidence SHA separate from the requested Release SHA and revalidates policy plus changed paths before passing.Evidence
Exact head:
4ba036d1dc3f67d7ccacabdfc3706e3e4b48c86e(signed)pnpm tsgo:scripts- passed: https://github.com/openclaw/openclaw/actions/runs/32496472345pnpm tsgo:test:root- passed: https://github.com/openclaw/openclaw/actions/runs/32496024051pnpm deadcode:exports- production, full-tree, and script scans passed with 0 entries: https://github.com/openclaw/openclaw/actions/runs/32496023680oxlintactionlint .github/workflows/full-release-validation.ymlpnpm check:script-erasability- 515 implementation files checkedpnpm format:checkgit diff --checkpnpm docs:listconfirmed the two edited release referencesThe exact-head repair centralizes GitHub transport classification. HTTP 429/5xx,
timeouts, resets,
EAI_AGAIN, and unexpected EOF make the Decision artifactunavailable for one poll; HTTP 401/403, credential errors, invocation errors,
artifact parsing, size, schema, and provenance remain hard failures.
Hosted run https://github.com/openclaw/openclaw/actions/runs/32455617458 dispatched exact child https://github.com/openclaw/openclaw/actions/runs/32455657717 and exposed an invalid
actions/download-artifactv8 SHA before Decision/Drain could start. Hosted run https://github.com/openclaw/openclaw/actions/runs/32455915621 then exposed an empty no-reusechanged_pathsoutput passed tojq --argjson. Exact head fixes both hosted blockers: all six downloads use the canonical v8 commit, and absent evidence paths normalize to[].The isolated non-publishing rerun https://github.com/openclaw/openclaw/actions/runs/32456077308 uses the same Validation SHA as the second run with only the Tooling SHA changed. It dispatched its exact CI child, sealed the immutable plan successfully, and started Release Decision plus Diagnostic Drain concurrently.
The local sparse GWT could not run reliable full-tree type/dead-code proof because
tracked UI/Android inputs were omitted. The exact dirty diff was therefore
mirrored into a disposable materialized full checkout and delegated to the
Blacksmith runs above.
The scoped guide names
pnpm check:script-declarations, but this checkout has no such package script.Against the merged retry-group base, the branch is non-test
+2671/-778(net+1893) and test+1167/-645(net+522). The exact-head repair commit is non-test+177/-76(net+101) and test+141/-109(net+32). The positive non-test delta is the explicit release ownership boundary: immutable plan production/validation, abortable collectors, shared terminal policy and transport classification, historical evidence compatibility, and the workflow/docs/skill integration replacing duplicated synchronous foreground monitors.Owner Decision
On August 21, 2026, the release owner accepted the remaining optional hosted exact-tooling proof gap because no policy-clean pre-merge route exists. This is not a waiver of runtime verification: after merge, a controlled non-publishing npm/Telegram blocker run must use
[email protected],fail_fast=false,reuse=false, anddispatch_release_evidence=false, then rerun the entire parent once. The proof must show the same sealed plan, source attempt, and child ID, with no attempt-2 child and no publication.Base And Follow-Up
750f2f37629d75599a4be7152879caa8dda16baa.