Commit e67ce26
committed
Fix --green retry counter reset after pushing new commits
When --green pushes a fix commit, it should reset the retry counter to 0
since it's a new commit that deserves its own set of retry attempts.
Previous behavior:
- Attempt 1: Check commit A, fail, fix, push commit B, retryCount = 1
- Attempt 2: Check commit B, fail, fix, push commit C, retryCount = 2
- Attempt 3: Check commit C, fail, give up (retryCount >= maxRetries-1)
Fixed behavior:
- Attempt 1: Check commit A, fail, fix, push commit B, retryCount = 0
- Attempt 1: Check commit B, fail, fix, push commit C, retryCount = 0
- Attempt 1: Check commit C, fail, fix, push commit D, retryCount = 0
- (continues with proper retry attempts for each new commit)
Also adds 15-second wait after pushing to allow new CI run to start.1 parent dbe3b31 commit e67ce26
1 file changed
+29
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
3395 | 3397 | | |
3396 | 3398 | | |
3397 | 3399 | | |
3398 | | - | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
3399 | 3409 | | |
3400 | 3410 | | |
3401 | 3411 | | |
| |||
3589 | 3599 | | |
3590 | 3600 | | |
3591 | 3601 | | |
| 3602 | + | |
| 3603 | + | |
3592 | 3604 | | |
3593 | 3605 | | |
3594 | 3606 | | |
| |||
3636 | 3648 | | |
3637 | 3649 | | |
3638 | 3650 | | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
| 3655 | + | |
| 3656 | + | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
3639 | 3662 | | |
3640 | 3663 | | |
3641 | 3664 | | |
3642 | 3665 | | |
3643 | 3666 | | |
3644 | 3667 | | |
3645 | 3668 | | |
3646 | | - | |
| 3669 | + | |
| 3670 | + | |
| 3671 | + | |
| 3672 | + | |
3647 | 3673 | | |
3648 | 3674 | | |
3649 | 3675 | | |
| |||
0 commit comments