| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:68d62853-111c-b424-fc25-23b0a85848eb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C5AC:1CF439:4B6B81:63CC95:6B04BE8B |
| html-safe-nonce | 23944555c13290b4eedb9aadbe6ad182f8f0b79f806b6a91133430300880ffca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUFDOjFDRjQzOTo0QjZCODE6NjNDQzk1OjZCMDRCRThCIiwidmlzaXRvcl9pZCI6IjU3MDIxNjA2ODAzMjU3OTEzNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a49cea2582ac73809a21ff9834a2fa08b25f0cfdfac62e58b80dbd33caa2f5db |
| hovercard-subject-tag | pull_request:1246915057 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/7227/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/986c3991b4db4273def070dd2fbf4b3415a87a39da599a396ab234da0b7efeff/getsentry/sentry-javascript/pull/7227 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/986c3991b4db4273def070dd2fbf4b3415a87a39da599a396ab234da0b7efeff/getsentry/sentry-javascript/pull/7227 |
| og:image:alt | Fixes #6993
This PR is just a quick win that should improve the ootb experience for Vercel on Next.js by setting the environment option to a sensible default provided by the hosting provider.
The v... |
| 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 | 85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4 |
| turbo-cache-control | no-cache |
| 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 | 0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/7227#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7227 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7227 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7227 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7227 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/7227 |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues333 (333) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests50 (50) | https://github.com/getsentry/sentry-javascript/pulls |
| Discussions | https://github.com/getsentry/sentry-javascript/discussions |
| Actions | https://github.com/getsentry/sentry-javascript/actions |
| Security and quality7 (7) | https://github.com/getsentry/sentry-javascript/security |
| Insights | https://github.com/getsentry/sentry-javascript/insights |
| https://github.com/getsentry/sentry-javascript |
| lforst | https://github.com/lforst |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| lforst-vercel-env-environment | https://github.com/getsentry/sentry-javascript/tree/lforst-vercel-env-environment |
| Conversation | https://github.com/getsentry/sentry-javascript/pull/7227 |
| Commits3 (3) | https://github.com/getsentry/sentry-javascript/pull/7227/commits |
| Checks | https://github.com/getsentry/sentry-javascript/pull/7227/checks |
| Files changed | https://github.com/getsentry/sentry-javascript/pull/7227/files |
| feat(nextjs): Default to VERCEL_ENV as environment | https://github.com/getsentry/sentry-javascript/pull/7227#top |
| lforst | https://github.com/lforst |
| develop | https://github.com/getsentry/sentry-javascript/tree/develop |
| lforst-vercel-env-environment | https://github.com/getsentry/sentry-javascript/tree/lforst-vercel-env-environment |
|
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#issue-1591412942 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| #6993 | https://github.com/getsentry/sentry-javascript/issues/6993 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| February 20, 2023 08:51 | https://github.com/getsentry/sentry-javascript/pull/7227#commits-pushed-5b7fc0b |
| feat(nextjs): Default to VERCEL_ENV as environment | https://github.com/getsentry/sentry-javascript/pull/7227/commits/5b7fc0bcad3ead7bce00bdf10a0d8cd39c75d9ef |
| 5b7fc0b | https://github.com/getsentry/sentry-javascript/pull/7227/commits/5b7fc0bcad3ead7bce00bdf10a0d8cd39c75d9ef |
| vercel- prefix | https://github.com/getsentry/sentry-javascript/pull/7227/commits/3be7e84435259d1ea9e44deb199d395075a6d8f0 |
| 3be7e84 | https://github.com/getsentry/sentry-javascript/pull/7227/commits/3be7e84435259d1ea9e44deb199d395075a6d8f0 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
|
Feb 20, 2023
| https://github.com/getsentry/sentry-javascript/pull/7227#pullrequestreview-1305339612 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/7227/files/3be7e84435259d1ea9e44deb199d395075a6d8f0 |
| packages/nextjs/src/client/index.ts | https://github.com/getsentry/sentry-javascript/pull/7227/files/3be7e84435259d1ea9e44deb199d395075a6d8f0#diff-e100e68c9d21869ee4fcd19603984aa0b0833e80d6eb5351f2c4a5a1386c3c3e |
| mydea | https://github.com/mydea |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#discussion_r1111652118 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| lforst | https://github.com/lforst |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#discussion_r1111664637 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| AbhiPrasad | https://github.com/AbhiPrasad |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#discussion_r1111669219 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| lforst | https://github.com/lforst |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#discussion_r1111688016 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| dfc5d20 | https://github.com/getsentry/sentry-javascript/commit/dfc5d20f744a48ca2a9833263a1f87b6fd505613 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#issuecomment-1436595895 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| February 20, 2023 09:14 | https://github.com/getsentry/sentry-javascript/pull/7227#event-8559226862 |
| Extract into function | https://github.com/getsentry/sentry-javascript/pull/7227/commits/dfc5d20f744a48ca2a9833263a1f87b6fd505613 |
| dfc5d20 | https://github.com/getsentry/sentry-javascript/pull/7227/commits/dfc5d20f744a48ca2a9833263a1f87b6fd505613 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#issuecomment-1436637793 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| LCP | https://web.dev/lcp/ |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| CLS | https://web.dev/cls/ |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| c46c56c | https://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| LCP | https://web.dev/lcp/ |
| CLS | https://web.dev/cls/ |
| 7f4c4ec | https://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3 |
| 00d2360 | https://github.com/getsentry/sentry-javascript/commit/00d2360ac416e6f17c8c4e35e88bb1b53cf51dea |
| percentage points | https://en.wikipedia.org/wiki/Percentage_point |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| https://github.com/mydea |
| mydea | https://github.com/mydea |
|
Feb 20, 2023
| https://github.com/getsentry/sentry-javascript/pull/7227#pullrequestreview-1305415170 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/7227/files/dfc5d20f744a48ca2a9833263a1f87b6fd505613 |
| mydea | https://github.com/mydea |
| https://github.com/getsentry/sentry-javascript/pull/7227#pullrequestreview-1305415170 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
|
Feb 20, 2023
| https://github.com/getsentry/sentry-javascript/pull/7227#pullrequestreview-1305440819 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/7227/files/dfc5d20f744a48ca2a9833263a1f87b6fd505613 |
| AbhiPrasad | https://github.com/AbhiPrasad |
| https://github.com/getsentry/sentry-javascript/pull/7227#pullrequestreview-1305440819 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://user-images.githubusercontent.com/18689448/220072692-179745f9-0c7d-418c-b32d-e6f64dfd450a.gif |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| fad6c48 | https://github.com/getsentry/sentry-javascript/commit/fad6c4871866434f8f1e7715f96a82555d270db4 |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#event-8559673542 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| February 20, 2023 09:58 | https://github.com/getsentry/sentry-javascript/pull/7227#event-8559673851 |
| https://github.com/IGassmann |
| IGassmann | https://github.com/IGassmann |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#issuecomment-1436935340 |
| @lforst | https://github.com/lforst |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| Feb 20, 2023 | https://github.com/getsentry/sentry-javascript/pull/7227#issuecomment-1437058959 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7227 |
|
| https://github.com/mydea |
|
mydea
| https://github.com/mydea |
|
| https://github.com/getsentry/sentry-javascript/pull/7227/files/dfc5d20f744a48ca2a9833263a1f87b6fd505613 |
|
| https://github.com/AbhiPrasad |
|
AbhiPrasad
| https://github.com/AbhiPrasad |
|
| https://github.com/getsentry/sentry-javascript/pull/7227/files/dfc5d20f744a48ca2a9833263a1f87b6fd505613 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
|
Wrong environment configuration when in Vercel preview environment
| https://github.com/getsentry/sentry-javascript/issues/6993 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/7227 |
|
| https://github.com/lforst |
|
| https://github.com/IGassmann |
|
| https://github.com/mydea |
|
| https://github.com/AbhiPrasad |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |