()
| 136 | } |
| 137 | |
| 138 | async function skipAutoRunCountdown() { |
| 139 | const state = await getState(); |
| 140 | const plan = getPendingAutoRunTimerPlan(state); |
| 141 | if (!plan || state.autoRunPhase !== 'waiting_interval') { |
| 142 | return false; |
| 143 | } |
| 144 | |
| 145 | return launchAutoRunTimerPlan('manual', { |
| 146 | expectedKinds: [ |
| 147 | AUTO_RUN_TIMER_KIND_BETWEEN_ROUNDS, |
| 148 | AUTO_RUN_TIMER_KIND_BEFORE_RETRY, |
| 149 | ], |
| 150 | }); |
| 151 | } |
| 152 | |
| 153 | async function waitBetweenAutoRunRounds(targetRun, totalRuns, roundSummary, options = {}) { |
| 154 | const { autoRunSkipFailures = false, roundSummaries = [] } = options; |
no test coverage detected