Repository navigation
fix(ci): retain passing hosted checks after skipped duplicates - #148722
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: needs maintainer review before merge. Reviewed September 14, 2026, 11:27 PM ET / September 15, 2026, 03:27 UTC. ClawSweeper reviewWhat this changesThe PR preserves recent passing scheduled checks when newer duplicates are skipped, including checks supporting queued build-artifact validation, and adds rejection regression coverage. Merge readiness✅ Ready for maintainer review This remains a useful, focused fix: current main and the latest release still exhibit the reported selection defect. No actionable patch defects were found, and the maintainer-authored PR should remain open for normal landing. Priority: P2 Review scores
Verification
How this fits togetherThe native PR preparation workflow reads GitHub Actions results and decides whether hosted validation satisfies its gates. The changed selector determines which scheduled run supplies that evidence. flowchart TD
A[Native PR preparation] --> B[GitHub workflow results]
B --> C[Filter eligible head and workflow]
C --> D[Select latest non-skipped scheduled run]
D --> E[Require recent success]
E --> F[Record hosted gate evidence]
E --> G[Refuse preparation]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +148, Other +9. Total +157 across 2 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep one scheduled-run selector that preserves recent success across skipped duplicates while retaining existing rejection and artifact-fallback rules. Do we have a high-confidence way to reproduce the issue? Yes: current-main selection and the verified same-head success/skipped run pair establish the failure path through native preparation; this review did not execute it. Is this the best way to solve the issue? Yes: filtering only completed/skipped scheduled runs at the existing selector is a narrow repair, and both affected consumers share it without changing CI policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a4a3e5670573. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* commit 'd8e50a38fd1c4df6dd69bcbc155697c464e1be45': (23 commits) fix(cron): release queued reservations when activation fails (#141008) fix(gateway): reduce CPU work in session lists and searches (#148713) feat(gateway): add admin CPU profile diagnostics (#148004) fix(gateway): cap device-required probe cache to prevent unbounded growth (#147708) fix(ci): align Gateway E2E expectations (#148653) refactor(ai): remove unused overflow wrapper (#148719) feat: stage selected chat text as editable comments (#148649) fix(ci): admit reachable release refs with large histories (#148161) fix(agents): allow authorized email CLI actions (#148521) improve(agents): trim large tool results with less CPU (#148718) refactor(docker): share image version parsing (#148243) fix(ci): retain passing hosted checks after skipped duplicates (#148722) fix(update): report configuration failures during repair (#144819) refactor(imessage): share handle classification (#148229) fix(ui): keep the selected agent across Settings pages (#148667) test(telegram): reuse deferred fixture helper (#148501) fix(media): resize images before understanding (#122431) fix: preserve unfinished work during completed PR cleanup (#148704) refactor(migrate-hermes): reuse canonical config record coercion (#148645) perf(channels): reduce history worker metadata footprint (#148711) ...
Closes #148720
What Problem This Solves
Fixes native PR preparation refusing successful hosted validation when a newer duplicate scheduled workflow completed as skipped.
User Impact
Maintainers can use the latest actual same-head scheduled workflow decision without rerunning passing checks solely to replace a skipped duplicate. Failed, cancelled, timed-out, pending, unknown, and stale evidence remain blocking.
Why This Change Was Made
Scheduled non-CI workflows now ignore only completed/skipped rows before applying the existing creation-order and recent-success checks. Queued-artifact supporting gates use the same selection. CI selection, identity filters, prior-head reuse, freshness, and the artifact target's queued-only/all-history restrictions are unchanged.
This is a separate prerequisite for #148161. The candidate verifier is not used as authority to merge itself or that PR. Related work in #125320 concerns different local-Git membership logic and remains untouched.
Evidence
a9cf70b350d9bd7c3eb63b850a76640e23faf801rejected successful https://github.com/openclaw/openclaw/actions/runs/34830976032 because newer https://github.com/openclaw/openclaw/actions/runs/34831122078 was skipped. The success remained within the 24-hour window.collectHostedGateEvidence. Afterward the full existing test owner passed: 99 tests, including all four scheduled workflows, inverted completion timestamps, refusal controls, CI/current-attempt behavior, prior-head reuse, and queued-artifact coverage.c77dcdfee7793ff2c661e4c3f0363b5d05e92c5a; its different dependency graph was not installed or locally tested. Exact-head hosted CI remains required.b7b086d6358389c23997fff543c7072a8049e6d6passed: 29 successful jobs and 17 skipped, with the aggregate gate completing September 15, 2026 at 03:34:26 UTC: https://github.com/openclaw/openclaw/actions/runs/34924646886.Maintainer edits are enabled through this same-repository branch.