Skip to content

Commit e2c5d11

Browse files
committed
fix types
1 parent e59654f commit e2c5d11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/webapp/app/v3/services/completeAttempt.server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class CompleteAttemptService extends BaseService {
4444
execution: TaskRunExecution;
4545
env?: AuthenticatedEnvironment;
4646
checkpoint?: CheckpointData;
47-
supportsRetryCheckpoints: boolean;
47+
supportsRetryCheckpoints?: boolean;
4848
}): Promise<"COMPLETED" | "RETRIED"> {
4949
const taskRunAttempt = await findAttempt(this._prisma, execution.attempt.id);
5050

@@ -168,7 +168,7 @@ export class CompleteAttemptService extends BaseService {
168168
taskRunAttempt: NonNullable<FoundAttempt>;
169169
env?: AuthenticatedEnvironment;
170170
checkpoint?: CheckpointData;
171-
supportsRetryCheckpoints: boolean;
171+
supportsRetryCheckpoints?: boolean;
172172
}): Promise<"COMPLETED" | "RETRIED"> {
173173
if (
174174
completion.error.type === "INTERNAL_ERROR" &&
@@ -377,7 +377,7 @@ export class CompleteAttemptService extends BaseService {
377377
retryTimestamp: number;
378378
checkpointEventId?: string;
379379
supportsLazyAttempts: boolean;
380-
supportsRetryCheckpoints: boolean;
380+
supportsRetryCheckpoints?: boolean;
381381
}) {
382382
if (checkpointEventId || !supportsLazyAttempts || !supportsRetryCheckpoints) {
383383
if (!supportsRetryCheckpoints && checkpointEventId) {

0 commit comments

Comments
 (0)