You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam/route.tsx
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx
Copy file name to clipboardExpand all lines: apps/webapp/app/v3/eventRepository.server.ts
+44-28Lines changed: 44 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -970,22 +970,30 @@ export class EventRepository {
970
970
971
971
// A Span can be cancelled if it is partial and has a parent that is cancelled
972
972
// And a span's duration, if it is partial and has a cancelled parent, is the time between the start of the span and the time of the cancellation event of the parent
973
-
publicasyncgetSpan(
974
-
storeTable: TaskEventStoreTable,
975
-
spanId: string,
976
-
traceId: string,
977
-
startCreatedAt: Date,
978
-
endCreatedAt?: Date,
979
-
options?: {includeDebugLogs?: boolean}
980
-
){
981
-
returnawaitstartActiveSpan("getSpan",async(s)=>{
982
-
constspanEvent=awaitthis.#getSpanEvent(
973
+
publicasyncgetSpan({
974
+
storeTable,
975
+
spanId,
976
+
environmentId,
977
+
startCreatedAt,
978
+
endCreatedAt,
979
+
options,
980
+
}: {
981
+
storeTable: TaskEventStoreTable;
982
+
spanId: string;
983
+
environmentId: string;
984
+
startCreatedAt: Date;
985
+
endCreatedAt?: Date;
986
+
options?: {includeDebugLogs?: boolean};
987
+
}){
988
+
returnawaitstartActiveSpan("getSpan",async()=>{
989
+
constspanEvent=awaitthis.#getSpanEvent({
983
990
storeTable,
984
991
spanId,
992
+
environmentId,
985
993
startCreatedAt,
986
994
endCreatedAt,
987
-
options
988
-
);
995
+
options,
996
+
});
989
997
990
998
if(!spanEvent){
991
999
return;
@@ -1195,12 +1203,12 @@ export class EventRepository {
0 commit comments