Repository navigation
fix(release): restore PR checks after large validation pauses - #157239
Conversation
Co-authored-by: steipete <[email protected]>
|
🦞👀 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, 8:50 PM ET / September 26, 2026, 00:50 UTC (Revision 11). ClawSweeper reviewWhat this changesThe branch updates Full Release Validation’s historical PR-check recovery to search large pause windows, recheck each run before rerunning it, and report skipped attempts. Merge readiness⛔ Blocked before merge - 3 items remain Current main still has the historical recovery gap, and this branch remains useful. I found no discrete patch defect. The release owner still needs to decide whether the scoped proof is enough without an observed GitHub rerun. Priority: P1 Review scores
Verification
How this fits togetherFull Release Validation reads a saved pause record and GitHub Actions runs to recover checks left behind by an older release-priority gate. Its restore command selects eligible attempts, sends rerun requests, and reports attempts it skips. flowchart LR
A[Saved pause record] --> B[Restore command]
B --> C[Bounded Actions search]
C --> D[Attempt and PR lane checks]
D --> E{Still eligible?}
E -->|Yes| F[GitHub rerun request]
E -->|No| G[Skipped run guidance]
Decision needed
Why: The code and command boundary are exercised, but GitHub acceptance and the frozen workflow’s behavior after rerun remain unobserved; accepting that operational limit belongs to the release owner. Before merge
Agent review detailsSecurityNone. PR surfaceTests +638, Other +229. Total +867 across 7 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep legacy records readable and use cautious, one-at-a-time recovery that makes skipped or still-blocked checks visible to the operator. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main uses a single run inventory and sends reruns without refreshing attempt or lane state. The supplied live preview establishes a large historical window, but this review did not execute a failing or repaired GitHub rerun. Is this the best way to solve the issue? Yes. Repairing the existing restore command is narrower than reviving the retired automatic pause gate; the remaining question concerns proof of GitHub’s final response. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1edc66965f0a. 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 (10 earlier review cycles; latest 8 shown)
|
Co-authored-by: steipete <[email protected]>
|
Fixed in The expanded regression failed before the correction and now passes. The complete 86-test controller cohort passes in 2.09 seconds wall; all seven-file scoped checks pass. The PR body now records the correction, legacy-record compatibility, and the limits of the earlier live dry run. No bulk restoration has been claimed or performed. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: steipete <[email protected]>
|
The requested final-head live preview is now recorded in the PR body for The first preview uncovered a real extra classification bug: draft CI with all 33 jobs skipped was being treated as release deferral. That predicate is now corrected, with a failing-before regression, the full 86-test cohort passing in 2.02 seconds, scoped checks passing, and a clean independent P0–P2 delta review. No bulk restoration was executed. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: steipete <[email protected]>
|
Corrected in The actual restore/client entrypoint reproduced the stale dispatch before editing. Controlled command-I/O proof now captures exactly one command for the unchanged attempt and zero for later same-lane work or an advanced attempt, including changes during awaited revalidation and between batch mutations. All 103 focused tests, canonical changed checks and independent P0–P2 review pass. The PR body explicitly distinguishes secretless command capture from a live GitHub POST, retains the earlier live discovery proof as historical evidence, and documents GitHub’s non-atomic response-to-POST interval. No real rerun or priority mutation was executed for this repair. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Use main commit 3928d51 as the sole fixture owner and remove the superseded copied helper. Preserve restore behavior and failure-only cleanup diagnostics; no production authentication or cleanup policy changes. Co-authored-by: steipete <[email protected]>
Show run IDs and recovery guidance when dispatch revalidation declines a rerun. Keep cancellation labeling distinct and preserve JSON, selection, mutation counts and retry behavior. Cover the actual CLI with portable secretless transport fixtures. Co-authored-by: steipete <[email protected]>
Reuse only the reserved-runner and evidence-sealing fields from steipete’s 47d3cfb repair in #157238. Keep Android’s normal hosted label through the existing workflow expression evaluator in its sibling test. No dependency updates, native steps, budgets or gates are changed. Co-authored-by: steipete <[email protected]>
Compose the historical PR-check recovery with current main, including the already-landed config snapshot kernel inventory fix. Preserve retired automatic priority behavior and current policy documentation. All 364 selected tests and independent P0-P2 review pass. Co-authored-by: steipete <[email protected]>
|
Merged via squash.
|
What Problem This Solves
Fixes recovery of PR checks left behind by large historical release-priority pauses.
User Impact
Operators can discover the complete recorded pause window and avoid rerunning attempts already changed or superseded. Existing recovery records remain readable. Current release validation does not pause PR CI; this repair does not restore that retired automatic behavior.
Why This Change Was Made
The existing restore owner splits capped Actions searches into complete bounded windows, keeps independent PR/repository lanes separate, and revalidates each attempt and its latest lane after awaited job inspection, immediately before rerun I/O. Intentionally skipped draft CI and already-restored attempts are excluded. Normal output identifies skipped runs and gives recovery guidance; ambiguous POST results are not retried.
GitHub provides no atomic compare-and-rerun operation. The final read narrows, but cannot eliminate, the race before the POST. No new configuration, publication authority, or required-check bypass is introduced.
Requested by Peter Steinberger during release-verification repair.
Worked on by
Work sessions
Evidence
Merged:
2a7b059f4ef38adf1a221320f6c48e61b4e0c728at 2026-09-26 01:15:28 UTC, through native completed-evidence preparation and explicit retained-outcome replacement recovery. Exact attempted head, main containment, human co-author credit, completion comment and native cleanup were verified; the retained outcome is complete.Merged source: 8518bd0, verified tree 5f8353b3b1e511307af754dec70350aac7bfe9e9. It incorporates pinned main 9665d17. All workflows, release-policy documentation and the Android sibling test match that main revision. The retained repair is seven files; the deprecated automatic priority gate remains removed.
The last failed CI was merge 71fd21065fb5e58fdd11d1fd02f768b85a10a0e7, combining A90 with main 2c946b. Its sole underlying failure was an incomplete extracted wrapper archive: the config snapshot imported its existing kernel, but the inventory omitted that file. The already-landed upstream fix is now included through main; no duplicate fix or unchanged-job rerun is used.
Fresh composed-candidate proof: 364 tests passed across eight complete files in 142.37 s wall. This includes both import/wrapper closure owners (18), release-priority and pagination (30), FRV/publication (184), Android workflow (11), and managed-child cleanup (121). All six real-CLI output cases remain. Targeted lint/format, scripts and root-test types, script erasability, conflict and suppression checks pass. Fresh independent P0–P2 review of the complete seven-file composition is scoped-clean. Both line-growth and suppression ratchets pass after the merge-base is reconciled; no baseline was changed. Commit hooks preserved the exact reviewed tree. Completed hosted evidence is recorded below.
Proof limits: controlled transport exercises actual CLI/client decisions and mutation arguments, not this candidate’s end-to-end live GitHub rerun. No native Android, Windows/macOS, full-build or release-qualified result is claimed. The historical nested-cleanup failure has bounded failure-only diagnostics; its cause is not claimed fixed by a passing replay.
The prior auto-merge was natively cancelled, with its outcome retained. Completed ordinary CI and native explicit replacement recovery subsequently passed; no pending-gate rearming or admin bypass was used.
Completed hosted proof and review disposition
Exact-head ordinary CI 36205908116 / attempt 1 completed successfully: 110 successful jobs, 21 intentional skips, zero failures or pending jobs. Its executed merge was 18e695bed46fafd77145a41c9b01dc75a845fde6, with parents
fb1c32ba…and this exact PR head; event-base metadata is not substituted for that executed source. Both required CI-gate contexts passed. The fresh exact-head ClawSweeper review found no code or security defect and assessed the bounded production-path proof as sufficient.The remaining operational limit is accepted within the existing repair-and-land scope: this changes discovery and revalidation, not GitHub’s existing rerun API. There is also separately observed live service evidence: historical CI run 36058956753 retained the same PR head
7829c570…and advanced from attempt 1 (preflight skipped; gate deferred for release36055733728) to attempt 2 (triggering actorroboclaw-bot; preflight and CI gate successful). The pinned workflow condition had no attempt-number bypass of the priority gate. This is evidence of GitHub accepting and executing a previously deferred workflow, not a claim that this candidate issued that rerun. No new rerun was dispatched to obtain it.The actual candidate’s live mutation and final response-to-POST race remain explicitly bounded; controlled command proof and live inventory/service observations are not relabeled as an end-to-end candidate restore. No bulk restoration or release publication was performed by landing this repair.
Earlier scoped evidence and preserved safeguards
Capped discovery and stale-dispatch regressions failed before correction. Controlled traces permit one unchanged eligible rerun, reject changed/superseded attempts before mutation, and preserve independent manual/fork peers. Old numeric-ID records remain readable.
The non-JSON defect reproduced through the real CLI: three visibility failures while JSON, zero-skips and dry-run controls passed. Portable secretless Node transport fixtures then passed all six CLI cases, retaining exact mutation counts and unchanged record bytes. Production controller/printer bytes remain identical to the reviewed A90 source.
The previous Android CI composition reused only the two reservation/sealing fields already authored by @steipete in PR chore(deps): refresh dependencies with a seven-day cutoff #157238, plus an equivalent evaluated-label assertion. Those paths now match current main and are no longer part of this PR delta.
The earlier canonical publication-artifact fixture repair was consumed from main, with duplicate helpers removed. Its historical Node 24 164-case proof is not relabeled as current-source execution.
A prior discovery-only preview selected 474 candidates, including four CI lanes, while preserving the pause record and excluding manual dispatches, intentional draft skips and already-executed attempts. It did not rerun jobs and is not a current execution receipt.
View the OpenClaw team session