Commit 06bd098
committed
Pair the torch-nightly triage by day against the pinned nightly
The triage only compared a torch-nightly build against a baseline that ran the
*same commit* within 900s. That held while both fired in the same cron slot. It
stopped holding when torch-nightly moved to 10:00 and the baselines stayed at
06:00/21:00 -- four hours of merges apart, they can never agree on a commit
again.
`find_latest_pair` walks newest-first and skips any nightly without a match, so
instead of reporting nothing it silently pinned every run to the last
same-commit pair, #82789/#82790 from 2026-08-07. The workflow kept succeeding
and issue #8491 kept being told "still reproducing on #82789" while builds
#83159, #83338 and #83539 went unexamined. The staleness was invisible: no
failure, no warning, just an increasingly old build number.
Two changes:
- Pair on the same UTC day instead of the same commit. Over the last 21 days
this pairs 12/12 torch-nightly builds versus 6/12 before, and on every day
where the old rule found a pair it selects the same baseline -- so nothing
regresses, the coverage gap just closes.
- Prefer "Full CI run - nightly" over "Full CI run - daily", then closest in
time. The plain nightly is the pinned-torch counterpart of the torch-nightly
build: same pipeline, same schedule, differing only by TORCH_NIGHTLY=1. Under
the previous time-first ordering 2026-08-10 would have compared against the
daily (+5.8h) rather than the pinned nightly (-9.2h).
The trade-off is real and deliberate: with different commits the pair is no
longer a controlled A/B, and a regression may come from vLLM commits landing
between the two builds rather than from torch. Reports now say which case they
are. Same-commit pairs read as before; different-commit pairs get an explicit
warning, the time gap, and both commits in the summary table, which now carries
a commit column.
Test plan:
- Ran find_latest_pair against live ClickHouse build rows: now selects
#83539 (2026-08-12 10:00, torch nightly) vs #83511 (2026-08-12 06:00,
pinned nightly), -4.0h, same UTC day, commits differ. Before this change it
returned #82789/#82790 from 2026-08-07.
- Simulated the rule over 21 days of builds: 12/12 torch-nightly builds paired
(was 6/12), every one against a "Full CI run - nightly" baseline, and
identical to the old choice on all 6 days where the old rule found one.
- Job-set sizes are comparable across the three build types (315-321 distinct
job names), so the day-over-day comparison is not skewed by one build type
running a materially different set.
- Rendered a report both ways: different-commit pairs emit the warning, the
+/-Nh gap and both commits; same-commit pairs are unchanged apart from the
new commit column.
- ruff check and ruff format --check clean.
Authored with the assistance of Claude Code.1 parent 434a25d commit 06bd098
1 file changed
Lines changed: 64 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | | - | |
44 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
45 | 58 | | |
46 | 59 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 60 | | |
52 | 61 | | |
53 | 62 | | |
| |||
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
| |||
114 | 124 | | |
115 | 125 | | |
116 | 126 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
121 | 131 | | |
122 | 132 | | |
123 | 133 | | |
124 | 134 | | |
125 | 135 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 136 | + | |
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
132 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
133 | 144 | | |
134 | 145 | | |
135 | | - | |
136 | 146 | | |
| 147 | + | |
137 | 148 | | |
138 | 149 | | |
139 | 150 | | |
| |||
243 | 254 | | |
244 | 255 | | |
245 | 256 | | |
| 257 | + | |
246 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
247 | 286 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 287 | + | |
| 288 | + | |
252 | 289 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 290 | | |
258 | 291 | | |
259 | 292 | | |
| |||
443 | 476 | | |
444 | 477 | | |
445 | 478 | | |
446 | | - | |
| 479 | + | |
447 | 480 | | |
448 | 481 | | |
449 | 482 | | |
| |||
0 commit comments