Skip to content

Commit 0efed14

Browse files
committed
If we’re keeping the run alive then set socket.data.requiresCheckpointResumeWithMessage to undefined
1 parent 2dd5d46 commit 0efed14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/coordinator/src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,7 @@ class TaskCoordinator {
853853
});
854854

855855
if (ack?.keepRunAlive) {
856+
socket.data.requiresCheckpointResumeWithMessage = undefined;
856857
logger.log("keeping run alive after task checkpoint", { runId: socket.data.runId });
857858
return;
858859
}
@@ -930,6 +931,7 @@ class TaskCoordinator {
930931
});
931932

932933
if (ack?.keepRunAlive) {
934+
socket.data.requiresCheckpointResumeWithMessage = undefined;
933935
logger.log("keeping run alive after batch checkpoint", { runId: socket.data.runId });
934936
return;
935937
}

0 commit comments

Comments
 (0)