We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 036a506 commit 5f652c6Copy full SHA for 5f652c6
apps/webapp/app/v3/services/completeAttempt.server.ts
@@ -285,6 +285,23 @@ export class CompleteAttemptService extends BaseService {
285
machinePreset: retryConfig.outOfMemory.machine,
286
},
287
});
288
+
289
+ //complete the attempt span
290
+ await eventRepository.completeEvent(taskRunAttempt.taskRun.spanId, {
291
+ endTime: failedAt,
292
+ attributes: {
293
+ isError: true,
294
+ },
295
+ events: [
296
+ {
297
+ name: "exception",
298
+ time: failedAt,
299
+ properties: {
300
+ exception: createExceptionPropertiesFromError(sanitizedError),
301
302
303
+ ],
304
+ });
305
}
306
307
0 commit comments