Skip to content

feat(nextjs): Serve the tunnel from the app with a DSN-derived path #64475

feat(nextjs): Serve the tunnel from the app with a DSN-derived path

feat(nextjs): Serve the tunnel from the app with a DSN-derived path #64475

Re-run triggered October 30, 2026 15:44
Status Failure
Total duration 1m 10s
Artifacts 6

build.yml

on: pull_request
Get CI Metadata  /  Get Metadata
6s
Get CI Metadata / Get Metadata
Check lockfile
1m 29s
Check lockfile
Check file formatting
8s
Check file formatting
Check PR branches
2s
Check PR branches
Build tarballs
1m 7s
Build tarballs
Build Lambda layer
19s
Build Lambda layer
Matrix: job_bun_integration_tests
Matrix: job_bun_unit_tests
Matrix: job_bundler_plugin_integration_tests
Matrix: job_cloudflare_integration_tests
Matrix: job_deno_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Lint
40s
Lint
Browser Unit Tests
36s
Browser Unit Tests
Deno Unit Tests
35s
Deno Unit Tests
Matrix: job_optional_cloudflare_integration_tests
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
E2E Tests (optional)
5m 1s
E2E Tests (optional)
Upload Artifacts
Upload Artifacts
Matrix: job_e2e_tests_1
Matrix: job_e2e_tests_2
All required jobs passed or were skipped
3s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 notices
E2E nextjs-16-tunnel (middleware, turbopack) Test
Process completed with exit code 1.
[chromium] › tests/tunnel-middleware.test.ts:73:5 › does not create server spans for tunnel requests: ../../_temp/test-application/tests/tunnel-middleware.test.ts#L101
1) [chromium] › tests/tunnel-middleware.test.ts:73:5 › does not create server spans for tunnel requests Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 3962 - Array [] + Array [ + Object { + "attributes": Object { + "app.free_memory": Object { + "type": "integer", + "value": 6999076864, + }, + "app.memory": Object { + "type": "integer", + "value": 227115008, + }, + "app.start_time": Object { + "type": "string", + "value": "2026-10-30T15:45:06.957Z", + }, + "culture.locale": Object { + "type": "string", + "value": "en-US", + }, + "culture.timezone": Object { + "type": "string", + "value": "UTC", + }, + "device.archs": Object { + "type": "array", + "value": Array [ + "x64", + ], + }, + "device.boot_time": Object { + "type": "string", + "value": "2026-10-30T15:43:41.155Z", + }, + "device.cpu_description": Object { + "type": "string", + "value": "AMD EPYC", + }, + "device.free_memory": Object { + "type": "integer", + "value": 6999076864, + }, + "device.memory_size": Object { + "type": "integer", + "value": 8390139904, + }, + "device.processor_count": Object { + "type": "integer", + "value": 4, + }, + "device.processor_frequency": Object { + "type": "integer", + "value": 0, + }, + "http.method": Object { + "type": "string", + "value": "POST", + }, + "http.request.header.accept": Object { + "type": "array", + "value": Array [ + "*/*", + ], + }, + "http.request.header.accept-encoding": Object { + "type": "array", + "value": Array [ + "gzip, deflate, br, zstd", + ], + }, + "http.request.header.accept-language": Object { + "type": "array", + "value": Array [ + "en-US", + ], + }, + "http.request.header.connection": Object { + "type": "array", + "value": Array [ + "keep-alive", + ], + }, + "http.request.header.content-length": Object { + "type": "array", + "value": Array [ + "32552", + ], + }, + "http.request.header.content-type": Object { + "type": "array", + "value": Array [ + "application/x-sentry-envelope", + ], + }, + "http.request.header.host": Object { + "type": "array", + "value": Array [ + "localhost:3030", + ], + }, + "http.request.header.origin": Object { + "type": "array", + "value": Array [ + "http://localhost:3030", + ], + }, + "http.request.header.referer": Object { + "type": "array", + "value": Array [ + "http://localhost:3030/", + ], + }, + "http.request.header.sec-ch-ua": Object { + "type": "array", + "value": Array [ + "\"Not:A-Brand\";v=\"8\", \"Chromium\";v=\"156\", \"HeadlessChrome\";v=\"156\"", + ], + }, + "http.request.header.sec-ch-ua-mobile": Object { + "type": "array", + "value": Array [ + "?0", + ], + }, + "http.request.header.sec-ch-ua-platform": Object { +
E2E nextjs-16-tunnel (middleware, webpack, edge) Test
Process completed with exit code 1.
[chromium] › tests/tunnel-middleware.test.ts:73:5 › does not create server spans for tunnel requests: ../../_temp/test-application/tests/tunnel-middleware.test.ts#L101
1) [chromium] › tests/tunnel-middleware.test.ts:73:5 › does not create server spans for tunnel requests Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 2142 - Array [] + Array [ + Object { + "attributes": Object { + "http.method": Object { + "type": "string", + "value": "POST", + }, + "http.request.method": Object { + "type": "string", + "value": "POST", + }, + "http.target": Object { + "type": "string", + "value": "/qpo967", + }, + "next.span_category": Object { + "type": "string", + "value": "nextjs", + }, + "next.span_name": Object { + "type": "string", + "value": "middleware POST", + }, + "next.span_type": Object { + "type": "string", + "value": "Middleware.execute", + }, + "sentry.environment": Object { + "type": "string", + "value": "qa", + }, + "sentry.is_localhost": Object { + "type": "boolean", + "value": false, + }, + "sentry.kind": Object { + "type": "string", + "value": "server", + }, + "sentry.op": Object { + "type": "string", + "value": "middleware", + }, + "sentry.origin": Object { + "type": "string", + "value": "auto", + }, + "sentry.release": Object { + "type": "string", + "value": "f401f84f8d2848c6e48996d67b04b37739831f2c", + }, + "sentry.sample_rate": Object { + "type": "integer", + "value": 1, + }, + "sentry.sdk.integrations": Object { + "type": "array", + "value": Array [ + "Dedupe", + "EventFilters", + "FunctionToString", + "ConversationId", + "LinkedErrors", + "WinterCGFetch", + "Console", + "RequestData", + "DistDirRewriteFrames", + "ServeTunnel", + "SpanStreaming", + ], + }, + "sentry.sdk.name": Object { + "type": "string", + "value": "sentry.javascript.nextjs", + }, + "sentry.sdk.version": Object { + "type": "string", + "value": "11.10.0", + }, + "sentry.segment.id": Object { + "type": "string", + "value": "8cb836d1cff03910", + }, + "sentry.segment.name": Object { + "type": "string", + "value": "middleware POST", + }, + "sentry.segment.name.source": Object { + "type": "string", + "value": "route", + }, + "sentry.trace_lifecycle": Object { + "type": "string", + "value": "stream", + }, + "url.full": Object { + "type": "string", + "value": "/qpo967", + }, + }, + "end_timestamp": 1793375134.754692, + "is_segment": true, + "name": "middleware POST", + "span_id": "8cb836d1cff03910", + "start_timestamp": 1793375134.752259, + "status": "ok", + "trace_id": "ac505f75b34c4a2eb4268e675b4265ca", + }, + Object { + "attributes": Object { + "app.free_memory": Object { + "type": "integer", + "value": 7012962304, + }, + "app.memory": Object { + "type": "integer", + "value": 234778624, + }, + "app.start_time": Object { + "type": "string", + "value": "2026-10-30T15:45:31.503Z", + }, + "culture.locale": Object { + "type": "strin
All required jobs passed or were skipped
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [chromium] › tests/tunnel-middleware.test.ts:73:5 › does not create server spans for tunnel requests 6 skipped 2 passed (4.6s)
🎭 Playwright Run Summary
1 failed [chromium] › tests/tunnel-middleware.test.ts:73:5 › does not create server spans for tunnel requests 6 skipped 2 passed (5.2s)

Artifacts

Produced during runtime
Name Size Digest
playwright-traces-job_e2e_playwright_tests-nextjs-16-tunnel
53.2 KB
sha256:82d3de35260d56aefb1c9754725299e338af933b5ef7c2cfedfc9461e7e5fc01