Skip to content

Commit

Permalink
Revert "Complete the original attempt span if retrying due to an OOM"
Browse files Browse the repository at this point in the history
This reverts commit 5f652c6.
  • Loading branch information
matt-aitken committed Feb 11, 2025
1 parent 5f652c6 commit d2ee232
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions apps/webapp/app/v3/services/completeAttempt.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,23 +285,6 @@ export class CompleteAttemptService extends BaseService {
machinePreset: retryConfig.outOfMemory.machine,
},
});

//complete the attempt span
await eventRepository.completeEvent(taskRunAttempt.taskRun.spanId, {
endTime: failedAt,
attributes: {
isError: true,
},
events: [
{
name: "exception",
time: failedAt,
properties: {
exception: createExceptionPropertiesFromError(sanitizedError),
},
},
],
});
}
}

Expand Down

0 comments on commit d2ee232

Please sign in to comment.