Title: test(nextjs): Add sourcemaps test for nextjs turbopack · Issue #19657 · getsentry/sentry-javascript · GitHub
Open Graph Title: test(nextjs): Add sourcemaps test for nextjs turbopack · Issue #19657 · getsentry/sentry-javascript
X Title: test(nextjs): Add sourcemaps test for nextjs turbopack · Issue #19657 · getsentry/sentry-javascript
Description: NoteThe pull request "test(nextjs): Add sourcemaps test for nextjs turbopack" was created by @chargome but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear. This is just an ...
Open Graph Description: NoteThe pull request "test(nextjs): Add sourcemaps test for nextjs turbopack" was created by @chargome but did not reference an issue. Therefore this issue was created for better visibility in exte...
X Description: NoteThe pull request "test(nextjs): Add sourcemaps test for nextjs turbopack" was created by @chargome but did not reference an issue. Therefore this issue was created for better visibili...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/19657
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test(nextjs): Add sourcemaps test for nextjs turbopack","articleBody":"> [!NOTE]\n> The pull request \"[test(nextjs): Add sourcemaps test for nextjs turbopack](https://github.com/getsentry/sentry-javascript/pull/19647)\" was created by @chargome but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.\n\nThis is just an early spike on how we can test uploaded sourcemaps, I'd like to expand this a bit further in follow up PRs for different Next.js scenarios\r\n\r\n- Adds a new `nextjs-sourcemaps` e2e test app that verifies sourcemaps uploads during `next build`\r\n- The test app builds a minimal Next.js app against a mock Sentry server, then asserts that:\r\n - Artifact bundles with valid manifests were uploaded\r\n - JS/sourcemap pairs have matching, valid debug IDs (UUIDs)\r\n - Sourcemaps contain real mappings and reference app source files\r\n - Artifact bundle assemble requests target the correct project\r\n- Extracts the mock server and assertion logic into reusable utilities in `@sentry-internal/test-utils` (`startMockSentryServer`, `assertDebugIdPairs`, `assertSourcemapMappings`, etc.) so other frameworks can reuse them.\r\n\r\n ## How it works\r\n\r\n1. `pnpm build` starts a mock Sentry server on `:3032`, then runs `next build` with `@sentry/nextjs` configured to upload sourcemaps to it\r\n2. The mock server captures all requests (chunk uploads, artifact bundle assemble, releases) and writes them to disk\r\n3. `pnpm test:assert` runs `assert-build.ts` which loads the captured data and runs the assertion suite\n","author":{"url":"https://github.com/apps/github-actions","@type":"Person","name":"github-actions"},"datePublished":"2026-03-05T14:43:59Z","url":"https://github.com/getsentry/sentry-javascript/issues/19657"}
| 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:2bf3a2d9-adf6-cf40-e91a-7bc20e50aa1b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7E6:31F706:97FDDC:CF1A4F:6B0480CD |
| html-safe-nonce | 308cf0e743d0744c6b70a788af804bcf7928951d1948f25cff49919e769e0fbb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0U2OjMxRjcwNjo5N0ZEREM6Q0YxQTRGOjZCMDQ4MENEIiwidmlzaXRvcl9pZCI6IjU5ODY2Nzk1MzkwMTM4MTI0MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 72106668bbf6384e4574f39dd76987156c69a789ae9e4f6aec3c4989602fc6b7 |
| hovercard-subject-tag | issue:4028688160 |
| 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/19657/issue_layout |
| twitter:image | https://opengraph.githubassets.com/32149057c675d31d3896a381064def814b0b072193c418911fda0d30b9ef6ab2/getsentry/sentry-javascript/issues/19657 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/32149057c675d31d3896a381064def814b0b072193c418911fda0d30b9ef6ab2/getsentry/sentry-javascript/issues/19657 |
| og:image:alt | NoteThe pull request "test(nextjs): Add sourcemaps test for nextjs turbopack" was created by @chargome but did not reference an issue. Therefore this issue was created for better visibility in exte... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | github-actions[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| 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 | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| ui-target | canary-2 |
| 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