Skip to content

Commit f9dba60

Browse files
committed
Some fixes for the conflicts
1 parent 16dedd9 commit f9dba60

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

apps/webapp/app/presenters/v3/SpanPresenter.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ export class SpanPresenter extends BasePresenter {
460460
eventStore,
461461
environmentId,
462462
spanId,
463-
environmentId,
463+
traceId,
464464
createdAt,
465465
completedAt ?? undefined,
466466
{ includeDebugLogs: true }

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
flattenAttributes,
1010
isExceptionSpanEvent,
1111
nanosecondsToMilliseconds,
12-
omit,
1312
PRIMARY_VARIANT,
1413
SemanticInternalAttributes,
1514
SpanEvent,
@@ -42,10 +41,10 @@ import {
4241
generateTraceId,
4342
getDateFromNanoseconds,
4443
getNowInNanoseconds,
44+
isEmptyObject,
4545
parseEventsField,
46-
stripAttributePrefix,
4746
removePrivateProperties,
48-
isEmptyObject,
47+
stripAttributePrefix,
4948
} from "./common.server";
5049
import type {
5150
CompleteableTaskRun,
@@ -60,7 +59,6 @@ import type {
6059
SpanDetail,
6160
SpanDetailedSummary,
6261
SpanSummary,
63-
TaskEventRecord,
6462
TraceAttributes,
6563
TraceDetailedSummary,
6664
TraceEventOptions,
@@ -824,13 +822,14 @@ export class EventRepository implements IEventRepository {
824822
): Promise<string | undefined> {
825823
return await startActiveSpan("getSpanOriginalRunId", async (s) => {
826824
return await originalRunIdCache.swr(traceId, spanId, async () => {
827-
const spanEvent = await this.#getSpanEvent(
825+
const spanEvent = await this.#getSpanEvent({
828826
storeTable,
829827
spanId,
828+
environmentId,
830829
startCreatedAt,
831830
endCreatedAt,
832-
{ includeDebugLogs: false }
833-
);
831+
options: { includeDebugLogs: false },
832+
});
834833

835834
if (!spanEvent) {
836835
return;

0 commit comments

Comments
 (0)