Skip to content

Commit fc0a331

Browse files
authored
We weren’t copying the batch info when suspending a run (#1890)
1 parent a9d5646 commit fc0a331

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,11 @@ export class CheckpointSystem {
194194
metadata: snapshot.metadata,
195195
},
196196
previousSnapshotId: snapshot.id,
197+
batchId: snapshot.batchId ?? undefined,
198+
completedWaitpoints: snapshot.completedWaitpoints.map((waitpoint) => ({
199+
id: waitpoint.id,
200+
index: waitpoint.index,
201+
})),
197202
environmentId: snapshot.environmentId,
198203
environmentType: snapshot.environmentType,
199204
projectId: snapshot.projectId,

0 commit comments

Comments
 (0)