Repository navigation
Closed
Labels
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ciCI workflows, the gates they run, release scripts, packaging.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: choreTooling, CI, release plumbing, dependencies.
Milestone
Description
Context
#4108 runs ready confirmation's unit tier in eight partitions. The reviewed weights in scripts/test-shard-costs.json predicted about 549 s of tests per partition. The first three confirmations were uneven:
| Run | unit jobs, whole job (s) |
|---|---|
| 43991610923 | 605, 713, 739, 800, 836, 926, 983, 1,024 |
| 43994468443 | 637, 684, 698, 709, 718, 933, 1,002, 1,043 |
| 44017250694 | 608, 681, 728, 760, 808, 810, 821, 979 |
The slowest job is about 28–32% shorter than the four-partition baseline (1,433 s in run 43974750583), not the halving the weights predicted. The weights were last refreshed on 2026-11-02, the suite has grown since, and one test added by #4107 (tests/first-party-source-pins.test.ts, about 36 s) has no weight at all. The slowest partition sets the merge lease's hold time.
Scope
- Refresh the reviewed unit weights with the documented procedure (
bun scripts/refresh-unit-costs.ts <run-id> <attempt>, docs/process/ci-timings.md) from a qualifying run. - Record in the PR the eight planned partition estimates before and after.
Out of scope
- Changing the partition count, the two-process queue inside a partition or any deadline.
- The
determinismjob's duration (ci: the determinism job can be the longest job in a ready confirmation and hold the merge lease #4137).
Acceptance criteria
-
scripts/test-shard-costs.jsonandscripts/unit-shard-measurement.jsoncome from one qualifying run, with its provenance recorded as the procedure requires. - Every file in default discovery at that run's source has a positive weight.
- The PR's own ready confirmation is linked, with its eight
unitjob durations beside the three runs above.
Verification
bun run check:pr --base origin/main.- The PR's ready confirmation.
Contract impact
None. CI tooling only.
Metadata
Metadata
Assignees
Labels
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ciCI workflows, the gates they run, release scripts, packaging.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: choreTooling, CI, release plumbing, dependencies.
Activity
schlessera commentedon Nov 17, 2026
Claimed for implementation. Claim token:
claim-a2ed6c11. Branch:chore/4140-refresh-unit-weights.none
chore(ci): refresh the reviewed unit weights and read the complete ch…
schlessera commentedon Nov 17, 2026
Delivered by #4155 (squash
5f7f69276). Measurements under the refreshed weights:Eight confirmation partitions, whole
unitjob (s)Four main partitions,
Complete unit proofstep (s), same test source apart from the tableReading: the spread is tighter (seven of eight confirmation partitions within 140 s of each other, three of four main partitions within 70 s), but in both layouts one partition runs well over its planned share, so the slowest job, which sets the merge lease, did not clearly get faster. In the four-partition run both worker processes of the slow partition took about 1,240 s against about 830 s in a sibling. The files in it cost more together than their separately measured weights add up to. That is one run of each layout; the cause is not established.