Repository navigation
fix(ci): reuse group exchange for hosted push plans - #157967
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 25, 2026, 3:16 AM ET / 07:16 UTC (Revision 2). ClawSweeper reviewWhat this changesThe branch enables the existing test-group exchange for GitHub-hosted push CI, adds paired push and pull-request planner coverage, and updates the runner documentation. Merge readiness✅ Ready for maintainer review Keep open. Current main still lacks the hosted push optimization, and this focused PR supplies a distinct repair. I found no actionable patch defect. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw's Node test planner turns discovered tests and timing estimates into a bounded GitHub Actions job matrix. The workflow supplies the event mode and runner backend, then runs the emitted jobs. flowchart LR
A[Push or pull request] --> B[Test inventory and timings]
B --> C[Node test planner]
C --> D{Group admission and exchange}
D --> E[Bounded job matrix]
E --> F[GitHub Actions tests]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +45, Docs 0, Other +4. Total +49 across 3 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep the shared admission-checked exchange in the Node planner and preserve complete test coverage within the hosted job cap as inventories change. Do we have a high-confidence way to reproduce the issue? Yes. Current-main source shows why hosted push plans skip the exchange, and the paired fixture provides a focused planner path; this read-only review did not execute it. Is this the best way to solve the issue? Yes. Reusing the existing packer and its admission rules is the narrowest owner-level repair shown by the source. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 04fb3c8e35b3. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
Co-authored-by: Vincent Koc <[email protected]>
Related: #157821
What Problem This Solves
Hosted push CI can exceed its job limit while compatible capacity remains in existing jobs.
User Impact
CI can retain complete test coverage without adding an avoidable job. No product runtime behavior changes.
Why This Change Was Made
Reuse the existing admission-checked group exchange already used for GitHub pull-request plans. The job cap, time budget, prerequisite and sibling-family constraints remain intact; hosted-tooling packing remains pull-request-only. Blacksmith and hybrid behavior is unchanged.
Evidence
2a32bde398534560f062d79f09daec4a21f190cdwas checked again with the canonical planner in GitHub push mode, the workflow's release-only exclusions, and cap 70: 63 jobs, 185 groups, 10,816 files, 3.272 seconds planning time. The exact descriptor SHA-2566db947f322cee04fdcc33455428657633591973a4c300bee74ded9dd5fc7d4a3matches the original inventory; all jobs remain serial with at most ten groups. This satisfies the current-inventory evidence and rank-up request for the approved head; it is not a claim about later main inventories.Counts above come from native command receipts; a Testbox Actions status can reflect lease cleanup. Full hosted CI must pass before merge.