Repository navigation
improve: balance core tooling across five test stripes - #123636
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 14, 2026, 8:17 AM ET / 12:17 UTC. ClawSweeper reviewWhat this changesThe PR widens the CI planner’s core-tooling test partition from four to five deterministic stripes and refreshes its estimates, capacity assertions, and CI documentation. Merge readinessNo blocking correctness findings: the five-stripe planner change updates the coupled packing, hosted estimates, tests, and CI documentation. Keep this maintainer-owned PR open until exact-head CI completes successfully. Priority: P3 Review scores
Verification
How this fits togetherCI preflight converts the full Vitest inventory into compact runner descriptors for pull requests and pushes. Those descriptors determine test isolation, runner allocation, and the fallback matrix size. flowchart LR
A[Vitest test inventory] --> B[CI test planner]
B --> C[Five tooling stripes]
C --> D[Compact job descriptors]
D --> E[CI workflow matrix]
E --> F[Isolated runner jobs]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +7, Docs 0, Other 0. Total +7 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the five-way owner-level planner change once exact-head CI confirms its coverage and matrix-limit contracts. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a proactive CI-planning change rather than a reported product failure; the relevant proof is the planner’s deterministic contract tests and exact-head matrix run. Is this the best way to solve the issue? Yes. The central planner owns tooling partitioning, while the workflow remains a generic consumer; updating its stripe count and coupled estimates avoids duplicated routing policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ad400d810b3b. LabelsLabel 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 (1 earlier review cycle)
|
289ce13 to
6ba9fba
Compare
What Problem This Solves
Broad pull-request fallback CI can leave the subprocess-heavy core tooling suite as the tallest compact-shard pole. In run 31789504347 attempt 1,
checks-node-compact-small-33was owned bycore-tooling-2; the observed 267-second tail is the strongest current candidate for further deterministic striping.Why This Change Was Made
The planner now partitions the same tooling inventory across five weighted-LPT stripes, keeps isolated tooling tests separate, and gives the reshuffled stripes equal provisional timing hints. Current
mainalready contained a fourth stripe beyond the original three-way split, so this PR widens the authoritative four-way layout to five without reverting that intervening work. The obsolete hosted-only exception for the oldcore-tooling-3membership is removed.User Impact
No product behavior changes. Maintainers should see a shorter tooling tail on metadata-complete pull-request fallback runs, with more hosted matrix headroom.
Evidence
checks-node-compact-small-33,core-tooling-2). Expected three-to-five striping math:267s × 3 / 5 ≈ 160sper stripe.core-tooling-181 files / weight 276;core-tooling-281 / 273;core-tooling-383 / 275;core-tooling-483 / 275;core-tooling-583 / 275.node scripts/run-vitest.mjs test/vitest-projects-config.test.ts test/scripts/ci-node-test-plan.test.ts— 42 tests passed.node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts— 119 passed, 2 skipped, with the known dep-less topology fixture failure:ERR_MODULE_NOT_FOUND: Cannot find package 'tsx'from its temporary checkout.node --import tsx scripts/check-workflows.mts— passed (zizmorand composite interpolation guard).oxfmt --checkon all four touched files andgit diff --check— passed.Planner production/tooling delta is net zero; tests add seven net lines and docs are net zero.