File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
internal-packages/run-engine/src/engine Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1454,6 +1454,7 @@ export class RunEngine {
1454
1454
projectId : latestSnapshot . projectId ,
1455
1455
checkpointId : latestSnapshot . checkpointId ?? undefined ,
1456
1456
completedWaitpoints : latestSnapshot . completedWaitpoints ,
1457
+ batchId : latestSnapshot . batchId ?? undefined ,
1457
1458
error : {
1458
1459
type : "INTERNAL_ERROR" ,
1459
1460
code : "TASK_RUN_DEQUEUED_MAX_RETRIES" ,
Original file line number Diff line number Diff line change @@ -1140,6 +1140,7 @@ export class RunAttemptSystem {
1140
1140
runnerId,
1141
1141
checkpointId,
1142
1142
completedWaitpoints,
1143
+ batchId,
1143
1144
tx,
1144
1145
} : {
1145
1146
run : TaskRun ;
@@ -1159,6 +1160,7 @@ export class RunAttemptSystem {
1159
1160
id : string ;
1160
1161
index ?: number ;
1161
1162
} [ ] ;
1163
+ batchId ?: string ;
1162
1164
} ) : Promise < { wasRequeued : boolean } & ExecutionResult > {
1163
1165
const prisma = tx ?? this . $ . prisma ;
1164
1166
@@ -1207,6 +1209,7 @@ export class RunAttemptSystem {
1207
1209
runnerId,
1208
1210
checkpointId,
1209
1211
completedWaitpoints,
1212
+ batchId,
1210
1213
} ) ;
1211
1214
1212
1215
return {
You can’t perform that action at this time.
0 commit comments