File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
apps/webapp/app/v3/services Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,6 @@ export class CreateCheckpointService extends BaseService {
122
122
logger . error ( "CreateCheckpointService: Checkpoint not for most recent child run" , {
123
123
attemptId : attempt . id ,
124
124
runId : attempt . taskRunId ,
125
- lastChild : lastChildRun . friendlyId ,
126
- checkpointFor : reason . friendlyId ,
127
125
params,
128
126
} ) ;
129
127
@@ -136,33 +134,6 @@ export class CreateCheckpointService extends BaseService {
136
134
break ;
137
135
}
138
136
case "WAIT_FOR_BATCH" : {
139
- const lastChildRun = attempt . taskRun . childRuns [ 0 ] ;
140
-
141
- if ( ! lastChildRun ) {
142
- logger . warn ( "CreateCheckpointService: No child runs, creating checkpoint regardless" , {
143
- attemptId : attempt . id ,
144
- runId : attempt . taskRunId ,
145
- params,
146
- } ) ;
147
-
148
- break ;
149
- }
150
-
151
- if ( ! reason . runFriendlyIds . includes ( lastChildRun . friendlyId ) ) {
152
- logger . error ( "CreateCheckpointService: Checkpoint not for most recent batch" , {
153
- attemptId : attempt . id ,
154
- runId : attempt . taskRunId ,
155
- lastChild : lastChildRun . friendlyId ,
156
- checkpointFor : reason . runFriendlyIds ,
157
- params,
158
- } ) ;
159
-
160
- return {
161
- success : false ,
162
- keepRunAlive : true ,
163
- } ;
164
- }
165
-
166
137
break ;
167
138
}
168
139
default : {
You can’t perform that action at this time.
0 commit comments