Title: Port Next.js client routing E2E test apps to span streaming · Issue #23816 · getsentry/sentry-javascript · GitHub
Open Graph Title: Port Next.js client routing E2E test apps to span streaming · Issue #23816 · getsentry/sentry-javascript
X Title: Port Next.js client routing E2E test apps to span streaming · Issue #23816 · getsentry/sentry-javascript
Description: Port these E2E test applications to span streaming (3 apps). These three were picked as the first slice because they share one shape: a single test file each, client pageload and navigation route parameterization only, no server-span and...
Open Graph Description: Port these E2E test applications to span streaming (3 apps). These three were picked as the first slice because they share one shape: a single test file each, client pageload and navigation route p...
X Description: Port these E2E test applications to span streaming (3 apps). These three were picked as the first slice because they share one shape: a single test file each, client pageload and navigation route p...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/23816
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Port Next.js client routing E2E test apps to span streaming","articleBody":"Port these E2E test applications to span streaming (3 apps).\n\nThese three were picked as the first slice because they share one shape: a single test file each, client pageload and navigation route parameterization only, no server-span and no child-span assertions.\n\n## Apps\n\n* nextjs-15-basepath\n* nextjs-15-intl\n* nextjs-16-trailing-slash\n\n## What was done\n\n1. Removed the `traceLifecycle: 'static'` pin added in #22590 from `instrumentation-client.ts`, `sentry.server.config.ts` and `sentry.edge.config.ts`. No explicit `spanStreamingIntegration()` is needed: `browserTracingIntegration` auto-installs it on the client and `ServerRuntimeClient` on the server.\n2. Rewrote the assertions from transaction envelopes to span v2:\n * `waitForTransaction` became `waitForStreamedSpan`\n * `event.transaction` became `span.name`\n * `contexts.trace.op` became `getSpanOp(span)` plus `span.is_segment`\n * `contexts.trace.data['x']` became `span.attributes['x']`, which has the shape `{ value, type }`\n * `transaction_info.source` became the `sentry.segment.name.source` attribute\n3. Renamed `routing-basepath-transaction.test.ts` to `routing-basepath-span.test.ts`.\n\nNo assertion had to be weakened. Route names carry over unchanged because Next resolves the parameterized route from its manifest before the span starts, so the low-cardinality `Pageload` fallback never fires for these routes.\n\nPR: getsentry/sentry-javascript#23797","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-09-01T09:07:53Z","url":"https://github.com/getsentry/sentry-javascript/issues/23816"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3b165d20-b0b2-2785-fae1-8b8ee3878c20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFEC:25A876:7C19D7:AEBC89:6B045036 |
| html-safe-nonce | b809486746a9903851412e4d5d866e98379be9bc19f568f4da799366063ed46b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkVDOjI1QTg3Njo3QzE5RDc6QUVCQzg5OjZCMDQ1MDM2IiwidmlzaXRvcl9pZCI6IjI3NDc1MzY0NTEyOTczNjYwNzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2084c6a9958facc76a250ff9c45d5c610d5d7adf8b9618195696bab999fbe303 |
| hovercard-subject-tag | issue:5309972126 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/23816/issue_layout |
| twitter:image | https://opengraph.githubassets.com/424553df658a34b062ed34d126ffcc98f26995c590560e3c98b08b7db0ea47e5/getsentry/sentry-javascript/issues/23816 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/424553df658a34b062ed34d126ffcc98f26995c590560e3c98b08b7db0ea47e5/getsentry/sentry-javascript/issues/23816 |
| og:image:alt | Port these E2E test applications to span streaming (3 apps). These three were picked as the first slice because they share one shape: a single test file each, client pageload and navigation route p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width