René's URL Explorer Experiment


Title: feat(nextjs): Default to `VERCEL_ENV` as environment by lforst · Pull Request #7227 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(nextjs): Default to `VERCEL_ENV` as environment by lforst · Pull Request #7227 · getsentry/sentry-javascript

X Title: feat(nextjs): Default to `VERCEL_ENV` as environment by lforst · Pull Request #7227 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/7227

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:68d62853-111c-b424-fc25-23b0a85848eb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC5AC:1CF439:4B6B81:63CC95:6B04BE8B
html-safe-nonce23944555c13290b4eedb9aadbe6ad182f8f0b79f806b6a91133430300880ffca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUFDOjFDRjQzOTo0QjZCODE6NjNDQzk1OjZCMDRCRThCIiwidmlzaXRvcl9pZCI6IjU3MDIxNjA2ODAzMjU3OTEzNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca49cea2582ac73809a21ff9834a2fa08b25f0cfdfac62e58b80dbd33caa2f5db
hovercard-subject-tagpull_request:1246915057
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/7227/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/986c3991b4db4273def070dd2fbf4b3415a87a39da599a396ab234da0b7efeff/getsentry/sentry-javascript/pull/7227
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/986c3991b4db4273def070dd2fbf4b3415a87a39da599a396ab234da0b7efeff/getsentry/sentry-javascript/pull/7227
og:image:altFixes #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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
None85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/7227#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7227
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7227
Sign uphttps://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
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7227
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7227
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7227
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues333 (333)https://github.com/getsentry/sentry-javascript/issues
Pull requests50 (50)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-vercel-env-environmenthttps://github.com/getsentry/sentry-javascript/tree/lforst-vercel-env-environment
Conversationhttps://github.com/getsentry/sentry-javascript/pull/7227
Commits3 (3)https://github.com/getsentry/sentry-javascript/pull/7227/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/7227/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/7227/files
feat(nextjs): Default to VERCEL_ENV as environmenthttps://github.com/getsentry/sentry-javascript/pull/7227#top
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-vercel-env-environmenthttps://github.com/getsentry/sentry-javascript/tree/lforst-vercel-env-environment
https://github.com/lforst
lforsthttps://github.com/lforst
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#issue-1591412942
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
#6993https://github.com/getsentry/sentry-javascript/issues/6993
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
February 20, 2023 08:51https://github.com/getsentry/sentry-javascript/pull/7227#commits-pushed-5b7fc0b
feat(nextjs): Default to VERCEL_ENV as environmenthttps://github.com/getsentry/sentry-javascript/pull/7227/commits/5b7fc0bcad3ead7bce00bdf10a0d8cd39c75d9ef
5b7fc0bhttps://github.com/getsentry/sentry-javascript/pull/7227/commits/5b7fc0bcad3ead7bce00bdf10a0d8cd39c75d9ef
vercel- prefixhttps://github.com/getsentry/sentry-javascript/pull/7227/commits/3be7e84435259d1ea9e44deb199d395075a6d8f0
3be7e84https://github.com/getsentry/sentry-javascript/pull/7227/commits/3be7e84435259d1ea9e44deb199d395075a6d8f0
https://github.com/mydea
mydeahttps://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.tshttps://github.com/getsentry/sentry-javascript/pull/7227/files/3be7e84435259d1ea9e44deb199d395075a6d8f0#diff-e100e68c9d21869ee4fcd19603984aa0b0833e80d6eb5351f2c4a5a1386c3c3e
mydeahttps://github.com/mydea
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#discussion_r1111652118
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
lforsthttps://github.com/lforst
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#discussion_r1111664637
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
AbhiPrasadhttps://github.com/AbhiPrasad
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#discussion_r1111669219
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
lforsthttps://github.com/lforst
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#discussion_r1111688016
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
dfc5d20https://github.com/getsentry/sentry-javascript/commit/dfc5d20f744a48ca2a9833263a1f87b6fd505613
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#issuecomment-1436595895
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
https://github.com/lforst
lforsthttps://github.com/lforst
February 20, 2023 09:14https://github.com/getsentry/sentry-javascript/pull/7227#event-8559226862
Extract into functionhttps://github.com/getsentry/sentry-javascript/pull/7227/commits/dfc5d20f744a48ca2a9833263a1f87b6fd505613
dfc5d20https://github.com/getsentry/sentry-javascript/pull/7227/commits/dfc5d20f744a48ca2a9833263a1f87b6fd505613
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#issuecomment-1436637793
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
LCPhttps://web.dev/lcp/
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
CLShttps://web.dev/cls/
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
c46c56chttps://github.com/getsentry/sentry-javascript/commit/c46c56c8d4ac19c2a54cf1b7da7978f46418161b
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
LCPhttps://web.dev/lcp/
CLShttps://web.dev/cls/
7f4c4echttps://github.com/getsentry/sentry-javascript/commit/7f4c4ec10b97be945dab0dca1d47adb9a9954af3
00d2360https://github.com/getsentry/sentry-javascript/commit/00d2360ac416e6f17c8c4e35e88bb1b53cf51dea
percentage pointshttps://en.wikipedia.org/wiki/Percentage_point
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
https://github.com/mydea
mydeahttps://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
mydeahttps://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/7227#pullrequestreview-1305415170
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
https://github.com/AbhiPrasad
AbhiPrasadhttps://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
AbhiPrasadhttps://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/7227#pullrequestreview-1305440819
Learn morehttps://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 pagehttps://github.com/getsentry/sentry-javascript/pull/7227
https://github.com/lforst
lforsthttps://github.com/lforst
fad6c48https://github.com/getsentry/sentry-javascript/commit/fad6c4871866434f8f1e7715f96a82555d270db4
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#event-8559673542
https://github.com/lforst
lforsthttps://github.com/lforst
February 20, 2023 09:58https://github.com/getsentry/sentry-javascript/pull/7227#event-8559673851
https://github.com/IGassmann
IGassmannhttps://github.com/IGassmann
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#issuecomment-1436935340
@lforsthttps://github.com/lforst
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
https://github.com/lforst
lforsthttps://github.com/lforst
Feb 20, 2023https://github.com/getsentry/sentry-javascript/pull/7227#issuecomment-1437058959
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7227
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.