Title: Next.js: Some stack frame's source maps are not uploaded by default. · Issue #7432 · getsentry/sentry-javascript · GitHub
Open Graph Title: Next.js: Some stack frame's source maps are not uploaded by default. · Issue #7432 · getsentry/sentry-javascript
X Title: Next.js: Some stack frame's source maps are not uploaded by default. · Issue #7432 · getsentry/sentry-javascript
Description: Problem Statement The Next.js build output contains among other things files that follow the naming scheme .next/static/chunks/{number}-{hash}.js(.map)?. We don't upload these files for source maps resolving because they can get very lar...
Open Graph Description: Problem Statement The Next.js build output contains among other things files that follow the naming scheme .next/static/chunks/{number}-{hash}.js(.map)?. We don't upload these files for source maps...
X Description: Problem Statement The Next.js build output contains among other things files that follow the naming scheme .next/static/chunks/{number}-{hash}.js(.map)?. We don't upload these files for source ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/7432
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Next.js: Some stack frame's source maps are not uploaded by default.","articleBody":"### Problem Statement\n\nThe Next.js build output contains among other things files that follow the naming scheme `.next/static/chunks/{number}-{hash}.js(.map)?`.\r\n\r\nWe don't upload these files for source maps resolving because they can get very large and make builds take several minutes because we have to wait for the upload.\r\n\r\nThe files in question contain library/framework code (e.g. Sentry SDK code, Next.js internal code, or code that belongs to other third-party libraries). In most cases, this means that having these files not be resolved is actually not that bad because errors don't originate from these locations very often. However, if they do, it is basically impossible to tell where errors come from.\r\n\r\nAdditionally, the unresolved stack frames will result in very ugly banners on the issue page:\r\n\r\n\r\n\r\nUsers can use the `widenClientFileUpload: true` option to upload these files, but it is not immediately obvious that this will resolve the problem.\r\n\n\n### Solution Brainstorm\n\nWe can think about the following:\r\n- Turn `widenClientFileUpload` on by default. This is very risky because after digging a bit in older PRs and issues we seemed to have a problem that uploads took up to 10 minutes. (https://github.com/getsentry/sentry-javascript/pull/3845)\r\n- Display a warning on the issues page if we detect that the stack trace would profit from `widenClientFileUpload`.","author":{"url":"https://github.com/lforst","@type":"Person","name":"lforst"},"datePublished":"2023-03-13T10:58:17Z","url":"https://github.com/getsentry/sentry-javascript/issues/7432"}
| 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:1d357e7e-bcfe-ab67-36fa-eee1178a10e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E162:34CDC:18797C8:20F51F8:6B0543D3 |
| html-safe-nonce | 639d467c2deff5d111f5a5647e7eccffe455b50dddbd91d91eb11af9f75fdd00 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTYyOjM0Q0RDOjE4Nzk3Qzg6MjBGNTFGODo2QjA1NDNEMyIsInZpc2l0b3JfaWQiOiI3ODkyNDY2Njg1NTcwMjcwMTYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a210997423a13b2f141a1b5e4120f8a6f22ce2e1bba6b89620c1ebb18cac690c |
| hovercard-subject-tag | issue:1621245704 |
| 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/7432/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7f07e46620f2d7682d4f22fa93afdbb548e1e638580263c53ad983c883b6812e/getsentry/sentry-javascript/issues/7432 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7f07e46620f2d7682d4f22fa93afdbb548e1e638580263c53ad983c883b6812e/getsentry/sentry-javascript/issues/7432 |
| og:image:alt | Problem Statement The Next.js build output contains among other things files that follow the naming scheme .next/static/chunks/{number}-{hash}.js(.map)?. We don't upload these files for source maps... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lforst |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| 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