File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
apps/webapp/app/v3/services Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,13 @@ export type UpdateFatalRunErrorServiceOptions = {
88 reason ?: string ;
99 exitCode ?: number ;
1010 logs ?: string ;
11- crashAttempts ?: boolean ;
12- crashedAt ?: Date ;
13- overrideCompletion ?: boolean ;
1411 errorCode ?: TaskRunInternalError [ "code" ] ;
1512} ;
1613
1714export class UpdateFatalRunErrorService extends BaseService {
1815 public async call ( runId : string , options ?: UpdateFatalRunErrorServiceOptions ) {
1916 const opts = {
2017 reason : "Worker crashed" ,
21- crashAttempts : true ,
22- crashedAt : new Date ( ) ,
2318 ...options ,
2419 } ;
2520
@@ -51,7 +46,6 @@ export class UpdateFatalRunErrorService extends BaseService {
5146 await finalizeService . call ( {
5247 id : taskRun . id ,
5348 status : "CRASHED" ,
54- completedAt : new Date ( ) ,
5549 error : {
5650 type : "INTERNAL_ERROR" ,
5751 code : opts . errorCode ?? TaskRunErrorCodes . TASK_RUN_CRASHED ,
You can’t perform that action at this time.
0 commit comments