@@ -45,7 +45,7 @@ export class RestoreCheckpointService extends BaseService {
45
45
} ) ;
46
46
47
47
if ( ! checkpointEvent ) {
48
- logger . error ( "Checkpoint event not found" , params ) ;
48
+ logger . error ( "Checkpoint event not found" , { eventId : params . eventId } ) ;
49
49
return ;
50
50
}
51
51
@@ -56,16 +56,20 @@ export class RestoreCheckpointService extends BaseService {
56
56
57
57
if ( ! runIsRestorable ) {
58
58
logger . error ( "Run is unrestorable" , {
59
- id : checkpoint . runId ,
60
- status : checkpoint . run . status ,
59
+ eventId : params . eventId ,
60
+ runId : checkpoint . runId ,
61
+ runStatus : checkpoint . run . status ,
62
+ attemptId : checkpoint . attemptId ,
61
63
} ) ;
62
64
return ;
63
65
}
64
66
65
67
if ( ! attemptIsRestorable && ! params . isRetry ) {
66
68
logger . error ( "Attempt is unrestorable" , {
67
- id : checkpoint . attemptId ,
68
- status : checkpoint . attempt . status ,
69
+ eventId : params . eventId ,
70
+ runId : checkpoint . runId ,
71
+ attemptId : checkpoint . attemptId ,
72
+ attemptStatus : checkpoint . attempt . status ,
69
73
} ) ;
70
74
return ;
71
75
}
@@ -75,6 +79,8 @@ export class RestoreCheckpointService extends BaseService {
75
79
76
80
if ( ! machine . success ) {
77
81
logger . error ( "Failed to parse machine config" , {
82
+ eventId : params . eventId ,
83
+ runId : checkpoint . runId ,
78
84
attemptId : checkpoint . attemptId ,
79
85
machineConfig : checkpoint . attempt . backgroundWorkerTask . machineConfig ,
80
86
} ) ;
@@ -90,6 +96,8 @@ export class RestoreCheckpointService extends BaseService {
90
96
91
97
if ( restoreEvent ) {
92
98
logger . error ( "Restore event already exists" , {
99
+ runId : checkpoint . runId ,
100
+ attemptId : checkpoint . attemptId ,
93
101
checkpointId : checkpoint . id ,
94
102
restoreEventId : restoreEvent . id ,
95
103
} ) ;
0 commit comments