Skip to content

Commit 922c34f

Browse files
committed
Fix for coderabbit suggestion
1 parent c2fdff7 commit 922c34f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/webapp/app/routes/api.v1.runs.$runId.spans.$spanId.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@ export const loader = createLoaderApiRoute(
6565
: undefined;
6666

6767
const triggeredRuns = await $replica.taskRun.findMany({
68+
take: 50,
6869
select: {
6970
friendlyId: true,
7071
taskIdentifier: true,
7172
status: true,
7273
createdAt: true,
7374
},
7475
where: {
76+
runtimeEnvironmentId: authentication.environment.id,
7577
parentSpanId: params.spanId,
7678
},
7779
});

0 commit comments

Comments
 (0)