From cc461037864e18b65f9dfb4b78843d17c3a6590f Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Mon, 24 Aug 2026 15:46:35 +0200 Subject: [PATCH] test(nextjs): Expect `route` span source in nextjs-orpc e2e tests Static routes are now annotated as low-cardinality (`source: 'route'`) since #23503. That PR updated the expectations in the other Next.js e2e apps but missed nextjs-orpc, which is an optional test application and therefore does not run on most pull requests. Co-Authored-By: Claude Opus 5 (1M context) --- .../test-applications/nextjs-orpc/tests/orpc-tracing.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/nextjs-orpc/tests/orpc-tracing.test.ts b/dev-packages/e2e-tests/test-applications/nextjs-orpc/tests/orpc-tracing.test.ts index f069255eb4e1..caceeb523a55 100644 --- a/dev-packages/e2e-tests/test-applications/nextjs-orpc/tests/orpc-tracing.test.ts +++ b/dev-packages/e2e-tests/test-applications/nextjs-orpc/tests/orpc-tracing.test.ts @@ -21,7 +21,7 @@ test('should trace orpc server component', async ({ page }) => { data: { 'sentry.origin': 'auto.pageload.nextjs.app_router_instrumentation', 'sentry.op': 'pageload', - 'sentry.source': 'url', + 'sentry.source': 'route', }, op: 'pageload', origin: 'auto.pageload.nextjs.app_router_instrumentation', @@ -77,7 +77,7 @@ test('should trace orpc client component', async ({ page }) => { data: { 'sentry.op': 'navigation', 'sentry.origin': 'auto.navigation.nextjs.app_router_instrumentation', - 'sentry.source': 'url', + 'sentry.source': 'route', 'sentry.previous_trace': expect.any(String), }, op: 'navigation',