Skip to content

fix(nextjs): Treat static route span names as low-cardinality names #55378

fix(nextjs): Treat static route span names as low-cardinality names

fix(nextjs): Treat static route span names as low-cardinality names #55378

Triggered via pull request August 24, 2026 10:58
Status Failure
Total duration 11m 13s
Artifacts –

build.yml

on: pull_request
Get CI Metadata  /  Get Metadata
6s
Get CI Metadata / Get Metadata
Check lockfile
Check lockfile
Check file formatting
51s
Check file formatting
Check PR branches
4s
Check PR branches
Build bundles
3m 7s
Build bundles
Build Lambda layer
Build Lambda layer
Matrix: job_bundler_plugin_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Lint
1m 21s
Lint
Circular Dependency Check
1m 45s
Circular Dependency Check
Browser Unit Tests
39s
Browser Unit Tests
Bun Unit Tests
Bun Unit Tests
Deno Unit Tests
Deno Unit Tests
Cloudflare Integration Tests
Cloudflare Integration Tests
Bun Integration Tests
Bun Integration Tests
Deno Integration Tests
Deno Integration Tests
Check for faulty .d.ts files
37s
Check for faulty .d.ts files
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_optional_e2e_tests
Upload Artifacts
Upload Artifacts
Matrix: job_e2e_tests
All required jobs passed or were skipped
4s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 1 warning, and 65 notices
E2E nextjs-orpc Test (optional)
Process completed with exit code 1.
[chromium] › tests/orpc-tracing.test.ts:56:1 › should trace orpc client component: ../../_temp/test-application/tests/orpc-tracing.test.ts#L74
2) [chromium] › tests/orpc-tracing.test.ts:56:1 › should trace orpc client component ───────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -1,11 +1,11 @@ Object { "data": Object { "sentry.op": "navigation", "sentry.origin": "auto.navigation.nextjs.app_router_instrumentation", "sentry.previous_trace": Any<String>, - "sentry.source": "url", + "sentry.source": "route", }, "op": "navigation", "origin": "auto.navigation.nextjs.app_router_instrumentation", "span_id": Any<String>, "trace_id": Any<String>, 72 | const orpcTx = await orpcTxPromise; 73 | > 74 | expect(navigationTx.contexts?.trace).toMatchObject({ | ^ 75 | span_id: expect.any(String), 76 | trace_id: expect.any(String), 77 | data: { at /home/runner/work/_temp/test-application/tests/orpc-tracing.test.ts:74:40
[chromium] › tests/orpc-tracing.test.ts:4:1 › should trace orpc server component: ../../_temp/test-application/tests/orpc-tracing.test.ts#L17
1) [chromium] › tests/orpc-tracing.test.ts:4:1 › should trace orpc server component ────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -1,10 +1,10 @@ Object { "data": Object { "sentry.op": "pageload", "sentry.origin": "auto.pageload.nextjs.app_router_instrumentation", - "sentry.source": "url", + "sentry.source": "route", }, "op": "pageload", "origin": "auto.pageload.nextjs.app_router_instrumentation", "parent_span_id": Any<String>, "span_id": Any<String>, 15 | const orpcTx = await orpcTxPromise; 16 | > 17 | expect(pageloadTx.contexts?.trace).toMatchObject({ | ^ 18 | parent_span_id: expect.any(String), 19 | span_id: expect.any(String), 20 | trace_id: expect.any(String), at /home/runner/work/_temp/test-application/tests/orpc-tracing.test.ts:17:38
[chromium] › tests/parameterized-routes.test.ts:122:5 › should create a nested parameterized transaction when the `app` directory is used.: ../../_temp/test-application/tests/parameterized-routes.test.ts#L0
10) [chromium] › tests/parameterized-routes.test.ts:122:5 › should create a nested parameterized transaction when the `app` directory is used. Test timeout of 30000ms exceeded.
[chromium] › tests/parameterized-routes.test.ts:83:5 › should create a partially parameterized transaction when the `app` directory is used: ../../_temp/test-application/tests/parameterized-routes.test.ts#L0
9) [chromium] › tests/parameterized-routes.test.ts:83:5 › should create a partially parameterized transaction when the `app` directory is used Test timeout of 30000ms exceeded.
[chromium] › tests/parameterized-routes.test.ts:43:5 › should create a transaction named after the static route when the `app` directory is used: ../../_temp/test-application/tests/parameterized-routes.test.ts#L0
8) [chromium] › tests/parameterized-routes.test.ts:43:5 › should create a transaction named after the static route when the `app` directory is used Test timeout of 30000ms exceeded.
[chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized transaction when the `app` directory is used: ../../_temp/test-application/tests/parameterized-routes.test.ts#L0
7) [chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized transaction when the `app` directory is used Test timeout of 30000ms exceeded.
[chromium] › tests/isr-routes.test.ts:74:5 › ISR route should be identified correctly in the route manifest: ../../_temp/test-application/tests/isr-routes.test.ts#L0
6) [chromium] › tests/isr-routes.test.ts:74:5 › ISR route should be identified correctly in the route manifest Test timeout of 30000ms exceeded.
[chromium] › tests/isr-routes.test.ts:44:5 › should create unique transactions for ISR pages on each visit: ../../_temp/test-application/tests/isr-routes.test.ts#L0
5) [chromium] › tests/isr-routes.test.ts:44:5 › should create unique transactions for ISR pages on each visit Test timeout of 30000ms exceeded.
[chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values: ../../_temp/test-application/tests/isr-routes.test.ts#L31
4) [chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values Error: expect(locator).toHaveText(expected) failed Locator: locator('#isr-product-id') Expected: "phone" Timeout: 10000ms Error: element(s) not found Call log: - Expect "toHaveText" with timeout 10000ms - waiting for locator('#isr-product-id') 29 | // Test with 'phone' (one of the pre-generated static params) 30 | await page.goto('/isr-test/phone'); > 31 | await expect(page.locator('#isr-product-id')).toHaveText('phone'); | ^ 32 | 33 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0); 34 | await expect(page.locator('meta[name="baggage"]')).toHaveCount(0); at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:31:49
[chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route: ../../_temp/test-application/tests/isr-routes.test.ts#L21
3) [chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route Error: expect(locator).toHaveText(expected) failed Locator: locator('#isr-static-marker') Expected: "static-isr" Timeout: 10000ms Error: element(s) not found Call log: - Expect "toHaveText" with timeout 10000ms - waiting for locator('#isr-static-marker') 19 | 20 | // Wait for page to be fully loaded > 21 | await expect(page.locator('#isr-static-marker')).toHaveText('static-isr'); | ^ 22 | 23 | // Check that sentry-trace and baggage meta tags are removed for ISR pages 24 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0); at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:21:52
[chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load: ../../_temp/test-application/tests/isr-routes.test.ts#L9
2) [chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load Error: expect(locator).toHaveText(expected) failed Locator: locator('#isr-product-id') Expected: "laptop" Timeout: 10000ms Error: element(s) not found Call log: - Expect "toHaveText" with timeout 10000ms - waiting for locator('#isr-product-id') 7 | 8 | // Wait for page to be fully loaded > 9 | await expect(page.locator('#isr-product-id')).toHaveText('laptop'); | ^ 10 | 11 | // Check that sentry-trace and baggage meta tags are removed for ISR pages 12 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0); at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:9:49
[chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events: ../../_temp/test-application/tests/cloudflare-runtime.test.ts#L0
1) [chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events Test timeout of 30000ms exceeded.
Size Check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ./dev-packages/size-limit-gh-action. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
12 passed (7.0s)
🎭 Playwright Run Summary
3 passed (16.6s)
🎭 Playwright Run Summary
3 passed (10.4s)
🎭 Playwright Run Summary
5 passed (9.5s)
🎭 Playwright Run Summary
5 passed (9.1s)
🎭 Playwright Run Summary
3 passed (16.6s)
🎭 Playwright Run Summary
3 passed (10.2s)
🎭 Playwright Run Summary
15 passed (12.9s)
🎭 Playwright Run Summary
15 skipped 12 passed (20.4s)
🎭 Playwright Run Summary
5 passed (11.6s)
🎭 Playwright Run Summary
5 passed (6.1s)
🎭 Playwright Run Summary
8 passed (16.4s)
🎭 Playwright Run Summary
8 passed (5.5s)
🎭 Playwright Run Summary
2 failed [chromium] › tests/orpc-tracing.test.ts:4:1 › should trace orpc server component ─────────────── [chromium] › tests/orpc-tracing.test.ts:56:1 › should trace orpc client component ────────────── 1 passed (8.6s)
🎭 Playwright Run Summary
5 passed (15.6s)
🎭 Playwright Run Summary
5 passed (5.2s)
🎭 Playwright Run Summary
3 passed (29.5s)
🎭 Playwright Run Summary
3 passed (3.6s)
🎭 Playwright Run Summary
15 skipped 12 passed (23.5s)
🎭 Playwright Run Summary
4 skipped 12 passed (22.5s)
🎭 Playwright Run Summary
2 skipped 14 passed (12.4s)
🎭 Playwright Run Summary
5 passed (34.5s)
🎭 Playwright Run Summary
5 passed (27.8s)
🎭 Playwright Run Summary
5 passed (38.0s)
🎭 Playwright Run Summary
5 passed (11.8s)
🎭 Playwright Run Summary
13 passed (34.3s)
🎭 Playwright Run Summary
13 passed (8.8s)
🎭 Playwright Run Summary
4 passed (26.7s)
🎭 Playwright Run Summary
4 passed (8.0s)
🎭 Playwright Run Summary
3 passed (31.4s)
🎭 Playwright Run Summary
3 passed (9.8s)
🎭 Playwright Run Summary
4 skipped 12 passed (28.1s)
🎭 Playwright Run Summary
2 skipped 14 passed (13.0s)
🎭 Playwright Run Summary
13 passed (39.9s)
🎭 Playwright Run Summary
13 passed (9.3s)
🎭 Playwright Run Summary
13 passed (42.4s)
🎭 Playwright Run Summary
13 passed (8.9s)
🎭 Playwright Run Summary
6 skipped 7 passed (37.6s)
🎭 Playwright Run Summary
13 passed (53.3s)
🎭 Playwright Run Summary
5 skipped 30 passed (1.2m)
🎭 Playwright Run Summary
5 skipped 30 passed (37.4s)
🎭 Playwright Run Summary
6 skipped 7 passed (52.2s)
🎭 Playwright Run Summary
13 passed (54.0s)
🎭 Playwright Run Summary
5 skipped 30 passed (1.8m)
🎭 Playwright Run Summary
4 skipped 31 passed (37.8s)
🎭 Playwright Run Summary
15 skipped 32 passed (1.8m)
🎭 Playwright Run Summary
5 skipped 42 passed (1.3m)
🎭 Playwright Run Summary
5 skipped 30 passed (1.8m)
🎭 Playwright Run Summary
4 skipped 31 passed (39.5s)
🎭 Playwright Run Summary
15 skipped 32 passed (1.7m)
🎭 Playwright Run Summary
5 skipped 42 passed (1.3m)
🎭 Playwright Run Summary
2 skipped 32 passed (2.1m)
🎭 Playwright Run Summary
2 skipped 32 passed (1.0m)
🎭 Playwright Run Summary
15 skipped 32 passed (1.7m)
🎭 Playwright Run Summary
5 skipped 42 passed (1.4m)
🎭 Playwright Run Summary
4 passed (20.1s)
🎭 Playwright Run Summary
2 skipped 32 passed (2.2m)
🎭 Playwright Run Summary
2 skipped 32 passed (1.1m)
🎭 Playwright Run Summary
12 skipped 35 passed (2.1m)
🎭 Playwright Run Summary
5 skipped 42 passed (1.3m)
🎭 Playwright Run Summary
12 skipped 35 passed (2.4m)
🎭 Playwright Run Summary
5 skipped 42 passed (1.3m)
🎭 Playwright Run Summary
12 skipped 35 passed (3.1m)
🎭 Playwright Run Summary
5 skipped 42 passed (1.3m)
🎭 Playwright Run Summary
12 failed [chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events [chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load [chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route [chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values [chromium] › tests/isr-routes.test.ts:44:5 › should create unique transactions for ISR pages on each visit [chromium] › tests/isr-routes.test.ts:74:5 › ISR route should be identified correctly in the route manifest [chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized transaction when the `app` directory is used [chromium] › tests/parameterized-routes.test.ts:43:5 › should create a transaction named after the static route when the `app` directory is used [chromium] › tests/parameterized-routes.test.ts:83:5 › should create a partially parameterized transaction when the `app` directory is used [chromium] › tests/parameterized-routes.test.ts:122:5 › should create a nested parameterized transaction when the `app` directory is used. [chromium] › tests/prefetch-spans.test.ts:5:5 › Prefetch client spans should have a http.request.prefetch attribute [chromium] › tests/streaming-rsc-error.test.ts:4:5 › Should capture errors for crashing streaming promises in server components when `Sentry.captureRequestError` is added to the `onRequestError` hook 15 skipped