Skip to content

Commit d2ee232

Browse files
committed
Revert "Complete the original attempt span if retrying due to an OOM"
This reverts commit 5f652c6.
1 parent 5f652c6 commit d2ee232

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

apps/webapp/app/v3/services/completeAttempt.server.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -285,23 +285,6 @@ export class CompleteAttemptService extends BaseService {
285285
machinePreset: retryConfig.outOfMemory.machine,
286286
},
287287
});
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-
});
305288
}
306289
}
307290

0 commit comments

Comments
 (0)