Skip to content

Commit 89ac144

Browse files
committed
do not carry over previous batch id when blocking with waitpoint
1 parent 9ce436e commit 89ac144

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal-packages/run-engine/src/engine/systems/waitpointSystem.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,8 @@ export class WaitpointSystem {
422422
environmentType: snapshot.environmentType,
423423
projectId: snapshot.projectId,
424424
organizationId: snapshot.organizationId,
425-
batchId: batch?.id ?? snapshot.batchId ?? undefined,
425+
// Do NOT carry over the batchId from the previous snapshot
426+
batchId: batch?.id,
426427
workerId,
427428
runnerId,
428429
});

0 commit comments

Comments
 (0)