Repository navigation
fix(ci): spread cold release work across existing jobs - #199366
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review Please review the completed candidate at 8aadb22 with the current PR description and proof. Scope: cold normal-release bundle placement; preserve measured selections, compatible slot count/capacity, coverage, execution metadata and timeouts. |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR redistributes unmeasured hosted release bundles using existing file weights and allocation limits. Example: The regression fixture assigns weight 10 to the 64 files concentrated in one infra bundle.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR addresses a concrete release-planning weakness, and review found no actionable correctness or security defect. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe CI planner turns test inventories, execution requirements, and timing observations into job descriptors consumed by the workflow manifest and shard executor. flowchart TD
A[Test inventory] --> C[Existing bundle planner]
B[Timing observations] --> D[Measured release splitter]
C --> D
D --> E[Cold bundle balancing]
E --> F[Measured job packing]
F --> G[Workflow manifest]
Technical reviewBest possible solution: Retain the focused cold-placement step within the existing planner, with measured timing admission remaining authoritative. Do we have a high-confidence way to reproduce the issue? Source confirms that existing count-based bundles remain unbalanced when exact timing is absent; the PR records an intended base regression failure at relative load 640, but this review ran no target code. Is this the best way to solve the issue? The change is appropriately scoped: it reuses the canonical allocator, preserves compatible execution contracts, changes placement only on strict improvement, and resolves regenerated selections through measured admission. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b8cd8c10e501. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceTests +88, Other +64. Total +152 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 14, 2026, 8:48 PM ET / November 15, 2026, 01:48 UTC. |
|
Merged via squash.
|
Co-authored-by: Vincent Koc <[email protected]>
What Problem This Solves
Normal full-release CI can concentrate expensive fixtures in one count-packed job when its exact selection has no measured timing. The observed release lane exhausted its 120-minute limit while tests were still progressing.
User Impact
Cold release work uses the existing relative file weights to spread work across the same compatible job slots. Coverage, Node/Bun policy, worker limits, the 64-file cap, and timeouts stay intact. This improves placement; it does not claim a measured full-release duration.
Why This Change Was Made
Reuse the canonical striped allocator with a capacity limit. Rebalance only unmeasured compatible bundles when their maximum relative load strictly improves. Preserve measured selections and resolve regenerated selections through the existing measured splitter, so a historical timing match still controls admission.
CI tooling grows by 64 net lines to supply this missing cold-selection placement step; tests grow by 88 lines. No new planner, timing data, configuration, or product-runtime behavior.
Evidence
5025db61e9482d95f29956f266496f32f4f94f72fails the new regression at the intended unchanged maximum:expected 640 to be less than 640(relative weights, not seconds).