Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 12:14 PM ET / 16:14 UTC. ClawSweeper reviewWhat this changesThe PR updates CI test planning to charge shared build work, partition slow test groups, and serialize single-plan extension jobs. Merge readinessNo concrete introduced defect was found, but this protected maintainer PR changes CI admission and is still awaiting exact-head matrix completion. Priority: P3 Review scores
Verification
How this fits togetherThe CI planner converts repository changes into test-job descriptors, and the shard runner launches each descriptor’s Vitest process. This PR changes the estimates, partitions, and worker-budget metadata that control that handoff. flowchart LR
A[Repository change] --> B[CI test planner]
B --> C[Compact job packing]
B --> D[Extension test partitions]
C --> E[CI job matrix]
D --> E
E --> F[Shard runner]
F --> G[Vitest processes]
Decision needed
Why: The patch changes automation capacity and coverage partitioning, and the PR carries the protected maintainer label while its fresh validation is incomplete. Before merge
Agent review detailsSecurityNone. PR surfaceTests +246, Docs +4, Other +53. Total +303 across 12 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the existing planner and runner ownership, then accept the new topology only after the exact head completes and confirms all native catch-all shards preserve the intended inventory. Do we have a high-confidence way to reproduce the issue? Not applicable: this is an internal CI scheduling change rather than a user-reported product failure. Is this the best way to solve the issue? Unclear: the implementation stays within the existing planner, config, and runner boundaries, but direct inspection of the pinned Vitest contract was unavailable and fresh exact-head CI is not complete. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9cc05cca83e2. 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 (3 earlier review cycles)
|
ecd142c to
4333fcc
Compare
|
@clawsweeper re-review The updated head repairs the requested sixteen-stripe documentation, inherits the common CI fixture/lint/startup fixes through #134038, and adds truthful serial-plan metadata for one-config plugin jobs. The body records exact inventory preservation, resource-policy proof, updated capacity accounting, parent tests and the remaining native/final-target gate. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Head 5ccb789 retains the reviewed admission/serial-config repairs, rebased byte-identically onto the parent's Gateway validation fixes. It adds six native Vitest catch-all jobs preserving all 468 files and a two-case bound for the 105 independent Performance Git lifecycle scenarios. All 459 integrated owner tests, full script/test-root type checks, lint and the changed-file gate pass; Codex review is clean. The body and docs record the complete plugin/control registration accounting: the observed burst estimate rises from 3,602 to 3,672 against the 6,000 target. Native timing and final main-target CI remain required. No prior failed run is reused as a green gate, and current Git transport stalls are recorded separately from execution performance. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
4333fcc to
5ccb789
Compare
767c47e to
acbf9f0
Compare
|
Implemented through #134038, merged as 4ee565c6d2a, including complete workload planning and one-time runtime prerequisite admission. The integration preserves the connected main changes and removes the superseded duplicate paths. Exact-head CI33434384581 completed successfully with all applicable Testboxes green. Both Windows jobs, all 16 UI jobs and the macOS Node job passed. The integration PR records the focused source-owner and regression proof, including the Windows readiness repair and trusted-wrapper merge checks. This source PR is superseded by that verified landing. |
What Problem This Solves
Seven tooling stripes consumed 2,412 seconds of observed serial work, with individual walls up to 641 seconds. Repeated 115-second hints hid that imbalance. Compact admission also omitted shared runtime preparation, copied build ownership onto unrelated hosted children, could emit empty selections interpreted as complete configs, and ran a second packing pass that could invalidate its own admission cap.
Single-config plugin jobs had a separate metadata mismatch: each executes one outer plan and serial inner processes, but 66 of 67 rows omitted the serial declaration. The existing CPU policy therefore reserved capacity for overlapping processes that cannot exist.
The shared plugin catch-all remained one 468-file job, taking 528–829 seconds of test execution on the observed two-CPU runners. The process-heavy Performance Git lifecycle file also serialized 105 independent repository/process fixtures, creating a 244-second native file floor.
Why This Change Was Made
Use sixteen file-weighted tooling stripes with successful-run measurements including imports and setup. Prepare prerequisite facts once and charge the strongest shared build once per job. Expand composite groups before one packing pass and preserve sibling separation there; remove the unconstrained second pass. Hosted children keep nonempty, complete file partitions and derive build ownership from their actual consumers. Direct measurements remain authoritative, and indivisible files retain truthful estimates.
Declare every one-config plugin row serial at its producer. Remove the redundant Memory Core-only branch and carried root data; multi-target jobs retain their separate serialization rule. No execution path or worker-budget formula is added.
Use Vitest's native sharding for the catch-all, with job count derived from the existing file-budget owner. The complete config continues to discover and exclude files; the counting inventory never narrows execution to the changed plugin. Forward the existing per-group Vitest argument field at the runner owner while preserving global flags and preventing leakage into siblings. Six jobs retain the existing worker and isolation policies.
Run at most two independent Performance Git lifecycle cases concurrently through the same Vitest seam as the sibling Git-owner suite. Each case owns its copied repository, environment, process group, lease and sentinel; template cleanup and configuration reset follow joined cases. Assertions, deadlines and scenario bodies are unchanged.
User Impact
The same test inventory, process isolation and deadlines, with better work estimates and truthful CPU ownership. The hybrid compact budget remains 96; hosted-only plans permit 112 rows with the existing 96 concurrent-job limit. No new configuration, environment option, dependency, runner label, workflow concurrency, runtime or storage behavior.
This PR is temporarily stacked on #134038 to inherit its verified startup, lint and fixture repairs. Its previous CI failed on the older media and prompt fixtures, so the new base addresses concrete failures. It will target main after the parent lands.
Evidence
The original empty-child, leaked-prerequisite and post-admission-cap reproductions fail before repair. The rebased planner passes all 50 admission/planner owner cases. The serial-config regression fails on the original producer; parent integration passes 150 changed-plan, shard-execution and build-admission cases. Script/root-test types, formatting, script lint and all changed-file gates pass. Independent Codex reviews are clean at the configured blocking threshold.
The serial correction alone preserves all 67 rows and 26 config identities, including 23 whole-config rows and 44 rows with 558 ordered include entries. Removing only the concurrency field yields byte-identical plans and adds zero registrations. Executing the unchanged workflow policy gives 2/3/4/6 workers for serial jobs on 2/4/8/16 detected CPUs; potentially overlapping jobs remain capped at two. Actual recent x64 Blacksmith logs report two CPUs even for four/eight-CPU labels, including the retained baseline. This patch retains two workers on those machines; allocation and real wall-time gains remain separate questions.
Catch-all producer→runner→test-projects→native Vitest proof preserves all 468 effective files in six disjoint 78-file partitions. Direct-plugin and core-driven changes use the same complete config. Real discovery covers untracked/new-root, hidden, symlink, nested-dist, deleted and excluded paths. All 66 sibling execution plans remain unchanged apart from row names shifting after insertion. The 482 counting entries include live/E2E files that Vitest correctly excludes; that inventory sizes jobs only. The producer and argument-forwarding regressions fail before repair.
Lifecycle A/B proof passes all 105 scenarios, with identical 1,524 cleanup-boundary receipts and 2,473 process records. Local tests take 333.85→162.94 seconds; command wall takes 338.96→167.42. A sampler observes at most two fixture roots and none afterward, all sentinels survive, and every release reports no descendants. Vitest's actual limiter/join/cleanup source was inspected. This is a local concurrency measurement, not native Linux or whole-workflow timing.
The six-profile planner proof preserves complete file/config/environment/dist multisets, with no duplicates, empty selections, protected-family collisions or multi-group cap violations. The retained
ecd142cplan had PR rows 46/74/108 and push rows 28/57/80 for Blacksmith/hybrid/hosted. Its maximum predicted PR work was 276/169/310 seconds; the 310-second hosted singleton is a measured file floor, not a five-minute workflow claim. Replaying successful file intervals produces a tallest hybrid tooling job of 193.264 seconds versus 511.030 for the previous partition. These are predictions/replays, not fresh elapsed CI measurements.Preparing per-file facts avoids the initial candidate's repeated discovery: local import medians 3.907 seconds on baseline, 9.963 in the initial candidate, and 4.167 after preparation, with identical emitted assignments. Direct runner-specific timings still win over fallback hints.
Capacity accounting includes separately appended plugin fallback rows and control jobs. Replacing one catch-all row with six increases plugin fallback rows from 67 to 72. The conservative hybrid bound is 96 compact +72 plugin +52 other jobs =220 registrations per broad PR, with 148 per main wave. Four main waves and fourteen observed PR arrivals give 3,672 against the 6,000 operating target, up 70 with 2,328 remaining. This is an observed arrival envelope, not an organization-wide admission cap or proof of physical CPU capacity. The hosted cap change adds no Blacksmith registrations. The repository backend remains externally configured; this PR does not change it.
Final integration passes 459 tests across seven planner, runner, plugin-boundary, build-admission and lifecycle owners. Full script/root-test type checks, lint and the changed-file gate pass; the final Codex review is clean. An initial test invocation stopped before execution because it named a nonexistent owner-test filename; the corrected owner set passed in full.
CI tooling +218/−165 (net +53); tests/support +271/−25 (net +246); docs +11/−7 (net +4); product runtime zero. Tooling growth owns shared build-cost admission, prepared file facts and native catch-all job partitioning after removing duplicate packing. The lifecycle change adds only test scheduling metadata. No changelog is required for internal CI.
Review follow-through
The latest ClawSweeper finding is fixed: docs consistently say sixteen tooling stripes and no longer claim an unchanged job count. The rebase preserves #134038's newer control/plugin registration accounting and its Gateway lint/type repairs. Fresh review is requested for the native catch-all and bounded lifecycle changes. Fresh exact-head CI and final main-target validation remain required; no prior failed run is being reused as a green gate. The parent's current run is delayed in trusted-harness checkout, with matching local Git transport stalls; those observations are not attributed to test execution or treated as a confirmed global incident.