File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
packages/cli-v3/src/entryPoints/managed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -489,9 +489,11 @@ export class RunExecution {
489
489
execution,
490
490
metrics,
491
491
isWarmStart,
492
+ isImmediateRetry,
492
493
} : WorkloadRunAttemptStartResponseBody & {
493
494
metrics : TaskRunExecutionMetrics ;
494
495
isWarmStart ?: boolean ;
496
+ isImmediateRetry ?: boolean ;
495
497
} ) {
496
498
this . currentTaskRunEnv = envVars ;
497
499
@@ -503,6 +505,7 @@ export class RunExecution {
503
505
execution,
504
506
metrics,
505
507
isWarmStart,
508
+ isImmediateRetry,
506
509
} )
507
510
) ;
508
511
@@ -557,12 +560,12 @@ export class RunExecution {
557
560
execution,
558
561
metrics,
559
562
isWarmStart,
563
+ isImmediateRetry,
560
564
} : WorkloadRunAttemptStartResponseBody & {
561
565
metrics : TaskRunExecutionMetrics ;
562
566
isWarmStart ?: boolean ;
567
+ isImmediateRetry ?: boolean ;
563
568
} ) {
564
- const isImmediateRetry = ! ! this . runFriendlyId ;
565
-
566
569
if ( isImmediateRetry ) {
567
570
await this . taskRunProcessProvider . handleImmediateRetry ( ) ;
568
571
}
@@ -781,7 +784,9 @@ export class RunExecution {
781
784
return ;
782
785
}
783
786
784
- const [ executeError ] = await tryCatch ( this . executeRunWrapper ( { ...start , isWarmStart : true } ) ) ;
787
+ const [ executeError ] = await tryCatch (
788
+ this . executeRunWrapper ( { ...start , isWarmStart : true , isImmediateRetry : true } )
789
+ ) ;
785
790
786
791
if ( executeError ) {
787
792
this . sendDebugLog ( "failed to execute run for retry" , { error : executeError . message } ) ;
You can’t perform that action at this time.
0 commit comments