You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI queue: det sweep uses 24 jobs per run (> the 20-job pool); 5-6 fatter shards instead of 20 #5135
ci-cdContinuous integration, delivery, and automated runnersgithub-actionsWorkflows, DevSecOps pipelines, and CI automationperformancescope:infraCI, tooling, churn/factory, docs infrastructure
Measured 2026-10-13 00:30 to 10-14 16:00 UTC (3,840 runs, 9,817 jobs, 59 merged PRs; analysis scripts and cache in the owner's session scratch dir). The pool is pinned at 20 concurrent jobs for 43% of minutes, and 64% of job wall time is queue wait. Median time to green is 36 min (p75 72). det is the last required check in 29 of 59 PRs, full-suite in 18, ground-truth in 12.
Change: fewer, longer det shards. One det run is 24 jobs (20 shards + 4 db2), more than the whole 20-job pool. Shards run a median 3.6 min (about 35 s of it setup) but queue about 19 min: shards start at +27 min and det finishes at +27.9 min median. With 5-6 shards of about 10-11 min each (db2 shards already take 11.7), det should finish about 10 min sooner whenever it's the last check, and each run frees about 15 slots for other PRs.
det_sweep_plan.py:35 has MAX_SHARDS=20 (#4814 sized it for an idle pool). Try 6, measure for a day, then pick a number. Optionally make it adaptive: few shards when the queue is busy (as churn measures it), more when idle.
Interaction:#5114 (pin the split in the plan job) touches the same planner. Do this one after it or fold the two together.
Acceptance: median det wall time and det jobs per run, before/after, on at least 10 det PRs; missing_cases still 0.
Acceptance (after #5139, which also covers #5114): measured with tests/tools/det_sweep_measure.py (PR #5226), cut = 2026-10-14T21:52:10Z, Det Sweep pull_request runs since 2026-10-01, latest attempt each.
runs
jobs/run (median)
det wall median / p75
worst shard queue (median)
full sweeps (>=10 jobs), before
169
26
27.8 / 49.5 min
16.3 min
full sweeps (>=10 jobs), after
41
12
23.4 / 33.8 min
7.2 min
all runs, before
591
8
17.2 / 29.9 min
6.5 min
all runs, after
114
4
10.7 / 21.5 min
3.9 min
missing_cases is 0: none of the 13 post-cut failed det logs has a "no result (its shard did not report)" line. A full run is now 12 jobs, inside the 20-job pool. Wall time includes pool load at the time, so this is not a controlled comparison. The data does not argue for a different shard count, so MAX_SHARDS stays 6. Closing.
ci-cdContinuous integration, delivery, and automated runnersgithub-actionsWorkflows, DevSecOps pipelines, and CI automationperformancescope:infraCI, tooling, churn/factory, docs infrastructure
Activity
squid-protocol commentedon Oct 14, 2026
Queued together with #5114 (owner-approved): pin the split in the plan job first, then reduce MAX_SHARDS.
squid-protocol commentedon Oct 14, 2026
Bundled (owner, 2026-10-14): one PR covers #5114, #5135 and #5084 (det planner / det-sweep.yml).
det sweep: 6 fat shards (fits the 20-job pool), --record-ledger in th…
ci: pin the smoke-test pytest-split durations once per run, lint the …
det sweep measure: threaded job reads, full-sweep split, latest-attem…
squid-protocol commentedon Oct 16, 2026
Acceptance (after #5139, which also covers #5114): measured with
tests/tools/det_sweep_measure.py(PR #5226), cut = 2026-10-14T21:52:10Z, Det Sweeppull_requestruns since 2026-10-01, latest attempt each.detwall median / p75missing_casesis 0: none of the 13 post-cut faileddetlogs has a "no result (its shard did not report)" line. A full run is now 12 jobs, inside the 20-job pool. Wall time includes pool load at the time, so this is not a controlled comparison. The data does not argue for a different shard count, soMAX_SHARDSstays 6. Closing.det sweep: measurement script and the #5135 acceptance numbers (Part of