Commit 6498804
authored
[autorevert] treat test failures as successes in job-track Signals (#7399)
Currently, we have a slight overlap between job and test Signals.
Specifically, when there is any non-test related failure in the job
within the lookback window (e.g. any infra flake), the job signal is
extracted, and it extracts ANY job failures, including test failures as
the job signal. This potentially leads to the duplication, when the same
test failure is processed both as test and job-track Signals, and it
increases the chance of false positives.
This PR makes the separation explicit:
1. test failures are extracted as test-track Signals
2. job-track Signals deliberately **ignore** job failures caused
**exclusively** by tests (such events are extracted as successes)
---
The intended outcome of this change:
1. job-track signals will only try to revert infra-breaking changes and
ignore test failures
2. test-track signal processing remains as it is1 parent 904f6d6 commit 6498804
File tree
3 files changed
+62
-7
lines changed- aws/lambda/pytorch-auto-revert
- pytorch_auto_revert
- tests
3 files changed
+62
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
85 | 101 | | |
86 | 102 | | |
87 | 103 | | |
| |||
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
486 | 486 | | |
487 | | - | |
488 | | - | |
489 | | - | |
| 487 | + | |
490 | 488 | | |
491 | | - | |
492 | | - | |
493 | | - | |
| 489 | + | |
494 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
495 | 494 | | |
496 | 495 | | |
497 | 496 | | |
| |||
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
322 | 362 | | |
323 | 363 | | |
324 | 364 | | |
| |||
0 commit comments