@@ -44,7 +44,7 @@ export class CompleteAttemptService extends BaseService {
44
44
execution : TaskRunExecution ;
45
45
env ?: AuthenticatedEnvironment ;
46
46
checkpoint ?: CheckpointData ;
47
- supportsRetryCheckpoints : boolean ;
47
+ supportsRetryCheckpoints ? : boolean ;
48
48
} ) : Promise < "COMPLETED" | "RETRIED" > {
49
49
const taskRunAttempt = await findAttempt ( this . _prisma , execution . attempt . id ) ;
50
50
@@ -168,7 +168,7 @@ export class CompleteAttemptService extends BaseService {
168
168
taskRunAttempt : NonNullable < FoundAttempt > ;
169
169
env ?: AuthenticatedEnvironment ;
170
170
checkpoint ?: CheckpointData ;
171
- supportsRetryCheckpoints : boolean ;
171
+ supportsRetryCheckpoints ? : boolean ;
172
172
} ) : Promise < "COMPLETED" | "RETRIED" > {
173
173
if (
174
174
completion . error . type === "INTERNAL_ERROR" &&
@@ -377,7 +377,7 @@ export class CompleteAttemptService extends BaseService {
377
377
retryTimestamp : number ;
378
378
checkpointEventId ?: string ;
379
379
supportsLazyAttempts : boolean ;
380
- supportsRetryCheckpoints : boolean ;
380
+ supportsRetryCheckpoints ? : boolean ;
381
381
} ) {
382
382
if ( checkpointEventId || ! supportsLazyAttempts || ! supportsRetryCheckpoints ) {
383
383
if ( ! supportsRetryCheckpoints && checkpointEventId ) {
0 commit comments