Skip to content

Commit 1df05b0

Browse files
committed
Fix for retry spans appearing in the wrong place
1 parent 21ff0a2 commit 1df05b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/v3/runEngineHandlers.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ export function registerRunEngineEventBusHandlers() {
333333
}
334334

335335
await eventRepository.recordEvent(retryMessage, {
336+
startTime: BigInt(time.getTime() * 1000000),
336337
taskSlug: run.taskIdentifier,
337338
environment,
338339
attributes: {
@@ -347,7 +348,6 @@ export function registerRunEngineEventBusHandlers() {
347348
queueName: run.queue,
348349
},
349350
context: run.traceContext as Record<string, string | undefined>,
350-
spanIdSeed: `retry-${run.attemptNumber + 1}`,
351351
endTime: retryAt,
352352
});
353353
} catch (error) {

0 commit comments

Comments
 (0)