Title: [Next.js]: Sentry should not catch `trackDynamicDataAccessed` · Issue #11969 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Next.js]: Sentry should not catch `trackDynamicDataAccessed` · Issue #11969 · getsentry/sentry-javascript
X Title: [Next.js]: Sentry should not catch `trackDynamicDataAccessed` · Issue #11969 · getsentry/sentry-javascript
Description: Environment SaaS (https://sentry.io/) Steps to Reproduce When Partial Prerendering (PPR) is enabled, using APIs that opt into Dynamic Rendering like cookies, headers, or fetch (such as with cache: 'no-store' or revalidate: 0) will cause ...
Open Graph Description: Environment SaaS (https://sentry.io/) Steps to Reproduce When Partial Prerendering (PPR) is enabled, using APIs that opt into Dynamic Rendering like cookies, headers, or fetch (such as with cache: ...
X Description: Environment SaaS (https://sentry.io/) Steps to Reproduce When Partial Prerendering (PPR) is enabled, using APIs that opt into Dynamic Rendering like cookies, headers, or fetch (such as with cache: ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/11969
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Next.js]: Sentry should not catch `trackDynamicDataAccessed`","articleBody":"### Environment\n\nSaaS (https://sentry.io/)\n\n### Steps to Reproduce\n\nWhen Partial Prerendering (PPR) is enabled, using APIs that opt into Dynamic Rendering like cookies, headers, or fetch (such as with cache: 'no-store' or revalidate: 0) will cause React to throw a special error object to know which part of the page cannot be statically generated - while still letting the rest of it be partially static. If you catch this error, it is not safe for us to generate any static data, and your build will fail.\r\n\r\nhttps://nextjs.org/docs/messages/ppr-caught-error\r\n\n\n### Expected Result\n\nThis error is not caught and not reported to Sentry.\t\t\n\n### Actual Result\n\nThis error is caught and reported in Sentry\n\n### Product Area\n\nOther\n\n### Link\n\n_No response_\n\n### DSN\n\nhttps://3fe190d9390c9209bdd921874ff01078@o4507230795923456.ingest.us.sentry.io/4507230797955072\n\n### Version\n\n_No response_","author":{"url":"https://github.com/typeofweb","@type":"Person","name":"typeofweb"},"datePublished":"2024-05-10T07:34:42Z","url":"https://github.com/getsentry/sentry-javascript/issues/11969"}
| 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:cecc55c8-a219-e7f8-1d9f-69091dc6342a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B2D4:17C2FE:4221ACE:5824837:6B040704 |
| html-safe-nonce | a3b99da35d21275e53c481e9d81c32d3c585f46dc80b9148bcb8998a2bd3ebf3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkQ0OjE3QzJGRTo0MjIxQUNFOjU4MjQ4Mzc6NkIwNDA3MDQiLCJ2aXNpdG9yX2lkIjoiMzkwODQ0NjQyNzU3MTAyOTc2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ec62f2bf7506e738fd4a8ec4f626b1985265381e2b6651709b4e589493aca374 |
| hovercard-subject-tag | issue:2289163988 |
| 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/11969/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c4f4ef74aaa5212375052ffc55b6cba205331799e18be3203c7c2834260593ff/getsentry/sentry-javascript/issues/11969 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4f4ef74aaa5212375052ffc55b6cba205331799e18be3203c7c2834260593ff/getsentry/sentry-javascript/issues/11969 |
| og:image:alt | Environment SaaS (https://sentry.io/) Steps to Reproduce When Partial Prerendering (PPR) is enabled, using APIs that opt into Dynamic Rendering like cookies, headers, or fetch (such as with cache: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | typeofweb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| 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