Repository navigation
fix: extension fallback planning exceeds the pull request job limit - #149652
Conversation
…xtension-packing-exchange-20260916
…xtension-packing-exchange-20260916
…xtension-packing-exchange-20260916
|
🦞👀 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 15, 2026, 11:47 PM ET / September 16, 2026, 03:47 UTC. ClawSweeper reviewWhat this changesEnable the existing test-group exchange algorithm for extension CI jobs and add regressions for packing budgets, execution metadata, and isolation boundaries. Merge readiness✅ Ready for maintainer review This remains a useful, narrowly scoped repair: current main still omits the exchange step for extension packing. No actionable correctness or security defect was found. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s CI planner converts changed files into test jobs. Extension packing combines compatible test processes before the workflow enforces its job limit and executes each group. flowchart LR
A[Changed files] --> B[Test scope selection]
B --> C[Extension test groups]
C --> D[Budget and compatibility packing]
D --> E[CI job limit check]
E --> F[Serial test processes]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +92, Other +1. Total +93 across 3 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Reuse the shared exchange algorithm while preserving complete test coverage, serial execution, preparation isolation, and both existing job caps. Do we have a high-confidence way to reproduce the issue? Yes, source inspection establishes the first-fit packing gap, and the supplied paired planner observations report the resulting job-cap failure. No local reproduction was executed. Is this the best way to solve the issue? Yes. Enabling the existing exchange operation is a narrow repair that preserves the documented admission and execution contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c561f0d43d48. 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.
|
Related: #149180
What Problem This Solves
Fixes: pull request CI planning stops at 121 non-dist Node jobs when core changes require the full extension fallback, exceeding the existing 120-job limit.
User Impact
The reproduced plan now fits 120 jobs with the same selected tests. There is no product runtime change.
Why This Change Was Made
Enable the existing group exchange step for extension packing. Compatible processes can share a serial job while preserving the 240-second budget, preparation isolation, runner and distribution requirements, and native shard arguments. Both job-limit guards remain unchanged.
Evidence
472a5e958decc97c74327bddf62db50e75f36f94and 120 with this change. All 79 compact-core rows remain unchanged; extension rows decrease from 44 to 43.Artifact manifest · Raw baseline plan · Raw candidate plan · Independent validation and contract corrections
The original internal validation contract incorrectly required all prepared core jobs to be singleton and expected an empty docs plan. Both baseline behaviors were preserved, and the report records those corrections. Local Node was 24.20.0; the original CI failure used 24.13.0. These observations generate plans without executing their child tests and do not guarantee capacity for every future inventory. Artifact links expire September 23.
Refreshed proof after canonical inventory changes also gives 121 to 120 jobs with all 286 descriptors conserved. Independent validation covers
8cdfed57; the later root comparison covers8432c139, including both new explicit core tests exactly once. Eight inventory tests passed at the first revision and three relevant core ownership tests passed at the second. These revision labels remain separate from the original proof.Refreshed raw plans and validation manifest
Later paired observations at
16f5ecd6retain the same rows. After Matrix worker inventory moved at956ce185, the fresh baseline/candidate comparison again conserves all 286 descriptors at 121/120 jobs; 13 relevant worker-ownership and packing checks pass. The reviewed three-file delta is unchanged. Required exact-head CI 35052656348 passed. Native preparation and ordinary squash merge completed. Landed asc698cf3dee35dc820efb0a34458c2fbf0f0c1c13.Final paired plans at canonical
956ce185