Commit 656f49d
authored
Ensure regression tasks don't start new tasks when not making progress (#4705)
This returns a bad-build error type after a regression task, when a
known min/max input pair didn't shrink. Previously, a timeout error type
was returned, after which post-process respawns the task with the same
min/max pair, leading to a task loop.
This doesn't change behavior when either min or max are not known (e.g.
when tasks are initially started) or when some progress is made (e.g. at
least one improvement to min or max during several hours this task can
run) or when other error conditions happen.
Chrome bug: https://crbug.com/3963443821 parent 0f590af commit 656f49d
File tree
2 files changed
+66
-6
lines changed- src/clusterfuzz/_internal
- bot/tasks/utasks
- tests/core/bot/tasks/utasks
2 files changed
+66
-6
lines changedLines changed: 26 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
418 | | - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
419 | 425 | | |
420 | 426 | | |
421 | 427 | | |
| |||
548 | 554 | | |
549 | 555 | | |
550 | 556 | | |
551 | | - | |
552 | | - | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
553 | 575 | | |
554 | 576 | | |
555 | 577 | | |
556 | | - | |
557 | | - | |
558 | 578 | | |
559 | 579 | | |
560 | 580 | | |
| |||
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1014 | 1014 | | |
1015 | 1015 | | |
1016 | 1016 | | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1017 | 1057 | | |
1018 | 1058 | | |
1019 | 1059 | | |
| |||
0 commit comments