Repository navigation
Conversation
Same reviewed source for both ordinary PRs; only head ref selects shard count. Pinned seven-d6 base; all95 originals plus5 checks qualified under both runtimes/seeds. Temporary diagnostic commit only; no fleet default or application change.
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Temporary ordinary PR experiment: 10 full unit shards. Do not merge. Compare five versus ten using the exact same source commit on two ready PRs against a pinned base.
What Changed
The canonical planner accepts five or ten complete shards; omitted values and selected-draft caps remain five. Only the named ten-shard experiment ref requests ten. An existing repository override wins. All tests, runtime contracts, isolation, setup files, cache policy and four workers per runner remain intact. Five checks cover count validation, fallback coverage and complete assignment evidence.
Both heads are
1a397791032372d7b489221c5fe6535d6642b60c, treeb836382ac0945765f8f671dd67fbd455e7093492, parent7d6d7ca6f841acf686a8dd07c1dbcc7cf40073fa. Both use temporary basenwparker/ordinary-pr-shard-benchmark-base-20261007pinned to that parent. The temporary branch condition and all three refs must never merge; the fleet remains at five.Why
More shards can reduce test time while increasing queueing and setup costs. This pair measures ordinary account load rather than assuming faster commands imply a faster PR. Pinning the base prevents unrelated merges from changing one workload. This is one observational pair, with unequal peak CPU requests (20 versus40); it cannot establish fleet capacity, p95 latency or the historical full-suite2× goal.
Linked Issue
Internal maintainer performance experiment; no pre-existing issue. No needless issue opened, per repository template.
Visual Proof
N/A — temporary CI controls only; no application UI changes.
Testing
Before/after measurements
Pending this first ordinary pair; no speed claim yet. Preserve both first attempts, failures, queue/provisioning and first-to-last-start spread, setup/native install/artifacts/test-step time, aggregate held runner seconds, peak CPU requests, release-to-last-unit/verify and whole PR-created-to-verify time. Both actual synthetic trees must match with pinned-parent/head proof; canonical physical-file once coverage and per-module counts must agree. Stock CI lacks complete individual case JSON, so named-case parity is not claimed from CI artifacts.
Review
Independent reviewed local proof:
ordinary-canary-7d-formatted-runtime-qualification-proof.json(95→100 original-plus-new cases). No repository variables changed; repository count override was absent at read-only prepublication check. Organization/environment scopes are not proven, so actual5/10 enrollment is mandatory. No temporary PR will merge, irrespective of measurements.Agent skill upstream boundary
Notes
Original runtime contracts continue under actual Node. No production execution, SSH, platform, mobile or wire change. Raw proof and every rejected record remain in ignored local performance notes. Any later rollout requires a separate reviewed patch and a measured capacity decision.
Checklist
Completed measurements and decision
The ten-shard ordinary PR finished required verification in 9m05s after PR creation, compared with 13m39s for the identical five-shard definition: 33.46% less elapsed time. From unit prerequisite release, the last unit completed in 6m02s versus 10m18s (41.42% less); the longest test step was 5m22s versus 9m31s (43.61% less). Both first attempts passed every required workflow job.
All 11,678 physical files ran exactly once in each arm, with identical per-file states, per-module case counts and actual runtime routes: 112,615 passed cases, one expected failure and 1,052 stock skips. Actual Node contracts remained Node. Stock CI artifacts do not contain complete individual case names, so this is module-count/state/route evidence, combined with the separate local infrastructure case qualification.
The improvement used ten four-worker ARM runners instead of five. Aggregate unit test time rose 7.66% (2,649 to 2,852 seconds), and aggregate held ARM runner time rose 13.41% (2,827 to 3,206 seconds). Dependency installation cost was small per runner, but its aggregate cost doubled from 57 to 112 seconds. Whole-workflow unweighted runner time rose 4.58%; that figure mixes runner classes and is not a billing estimate.
Both arms used the same reviewed definition commit and identical synthetic tree, based on pinned main 7d6d7ca. Separate hosts and cache states make this one observational ordinary pair. Unit runners started within 6–8 seconds of allocation; a later four-job Zod diagnostic began at 17:18:02–03Z, after all fifteen canary runners had started by 17:14:07Z. No quiet-fleet or representative loaded-queue claim follows from these observations. The existing fleet queue-tail concern remains unresolved.
The measured tradeoff supports a controlled ten-shard rollout for latency when the extra runner capacity is available, with a five-shard rollback and monitoring of queue tails and aggregate runner time. It does not justify claiming a fleet-wide twofold speedup or changing daily jobs and selected-draft caps. If default ten is chosen, the PR should state that it is a monitored resource tradeoff, rather than proven aggregate efficiency. The temporary benchmark PRs and branch-name switch should never merge.
Evidence: five ordinary run, ten ordinary run, strict-completed-unit-enrollment-proof.json, ordinary-pair-cost-ledger.json, and background-fleet-activity-supplement.json. The historical before-start twofold goal remains unproved; this current-source sharding result must remain separate from that reference and the earlier held-host pilot.
This temporary diagnostic PR is being closed without merging. A separately reviewed shipping change will remove the experiment branch-name condition and retain the existing five-shard rollback. Both benchmark definitions and the pinned-base branch remain diagnostic evidence.