File tree 1 file changed +0
-6
lines changed
apps/webapp/app/v3/services
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,13 @@ export type UpdateFatalRunErrorServiceOptions = {
8
8
reason ?: string ;
9
9
exitCode ?: number ;
10
10
logs ?: string ;
11
- crashAttempts ?: boolean ;
12
- crashedAt ?: Date ;
13
- overrideCompletion ?: boolean ;
14
11
errorCode ?: TaskRunInternalError [ "code" ] ;
15
12
} ;
16
13
17
14
export class UpdateFatalRunErrorService extends BaseService {
18
15
public async call ( runId : string , options ?: UpdateFatalRunErrorServiceOptions ) {
19
16
const opts = {
20
17
reason : "Worker crashed" ,
21
- crashAttempts : true ,
22
- crashedAt : new Date ( ) ,
23
18
...options ,
24
19
} ;
25
20
@@ -51,7 +46,6 @@ export class UpdateFatalRunErrorService extends BaseService {
51
46
await finalizeService . call ( {
52
47
id : taskRun . id ,
53
48
status : "CRASHED" ,
54
- completedAt : new Date ( ) ,
55
49
error : {
56
50
type : "INTERNAL_ERROR" ,
57
51
code : opts . errorCode ?? TaskRunErrorCodes . TASK_RUN_CRASHED ,
You can’t perform that action at this time.
0 commit comments