René's URL Explorer Experiment


Title: fix(nextjs/remix): Prioritize SENTRY_ENVIRONMENT when overriding environment by tonyo · Pull Request #7014 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(nextjs/remix): Prioritize SENTRY_ENVIRONMENT when overriding environment by tonyo · Pull Request #7014 · getsentry/sentry-javascript

X Title: fix(nextjs/remix): Prioritize SENTRY_ENVIRONMENT when overriding environment by tonyo · Pull Request #7014 · getsentry/sentry-javascript

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

Open Graph Description: A follow-up from #6588. The problem is the following: when options.environment is empty, init functions for NextJS and Remix will use the value of NODE_ENV env variable as Sentry environment, and w...

X Description: A follow-up from #6588. The problem is the following: when options.environment is empty, init functions for NextJS and Remix will use the value of NODE_ENV env variable as Sentry environment, and w...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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:384acd3d-6665-5bdc-dc94-b17fc8caa882
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C86:3047DC:6D85A4:90C7BB:6B04C763
html-safe-nonce511c862b14c3e04a4e8e34a33937021246eb1586ad3b48b8a3dc573db037614e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzg2OjMwNDdEQzo2RDg1QTQ6OTBDN0JCOjZCMDRDNzYzIiwidmlzaXRvcl9pZCI6IjE5ODI1NDU5MTA1MTI3OTc1MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacffcb6958635e8f70adecf57e608cd53bfa1ea42da188702038c6a4119bdbb629
hovercard-subject-tagpull_request:1224657003
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/7014/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bea6ed320337586cd873dd66732a9f38b07575e621d8a09ee59f38a15998fecc/getsentry/sentry-javascript/pull/7014
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bea6ed320337586cd873dd66732a9f38b07575e621d8a09ee59f38a15998fecc/getsentry/sentry-javascript/pull/7014
og:image:altA follow-up from #6588. The problem is the following: when options.environment is empty, init functions for NextJS and Remix will use the value of NODE_ENV env variable as Sentry environment, and w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametonyo
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/7014#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7014
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%2F7014
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/7014
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7014
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7014
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 requests51 (51)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
tonyohttps://github.com/tonyo
develophttps://github.com/getsentry/sentry-javascript/tree/develop
tonyo/sentry-env-for-nextjs-remixhttps://github.com/getsentry/sentry-javascript/tree/tonyo/sentry-env-for-nextjs-remix
Conversationhttps://github.com/getsentry/sentry-javascript/pull/7014
Commits1 (1)https://github.com/getsentry/sentry-javascript/pull/7014/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/7014/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/7014/files
fix(nextjs/remix): Prioritize SENTRY_ENVIRONMENT when overriding environmenthttps://github.com/getsentry/sentry-javascript/pull/7014#top
tonyohttps://github.com/tonyo
develophttps://github.com/getsentry/sentry-javascript/tree/develop
tonyo/sentry-env-for-nextjs-remixhttps://github.com/getsentry/sentry-javascript/tree/tonyo/sentry-env-for-nextjs-remix
https://github.com/tonyo
tonyohttps://github.com/tonyo
Feb 1, 2023https://github.com/getsentry/sentry-javascript/pull/7014#issue-1565864116
#6588https://github.com/getsentry/sentry-javascript/pull/6588
getsentry/opentelemetry-demo#34https://github.com/getsentry/opentelemetry-demo/pull/34
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/tonyo
fix(nextjs/remix): Prioritize SENTRY_ENVIRONMENT when NODE_ENV is sethttps://github.com/getsentry/sentry-javascript/pull/7014/commits/c021fa070ba9b2b555e3f4a1300debaf40063a69
c021fa0https://github.com/getsentry/sentry-javascript/pull/7014/commits/c021fa070ba9b2b555e3f4a1300debaf40063a69
https://github.com/tonyo
tonyohttps://github.com/tonyo
Feb 1, 2023 https://github.com/getsentry/sentry-javascript/pull/7014#ref-pullrequest-1504590213
fix(node): Use SENTRY_ENVIRONMENT even when environment is already set #6588 https://github.com/getsentry/sentry-javascript/pull/6588
https://github.com/tonyo
tonyohttps://github.com/tonyo
Feb 1, 2023https://github.com/getsentry/sentry-javascript/pull/7014#event-8408916314
https://github.com/tonyo
tonyohttps://github.com/tonyo
AbhiPrasadhttps://github.com/AbhiPrasad
lforsthttps://github.com/lforst
February 1, 2023 10:38https://github.com/getsentry/sentry-javascript/pull/7014#event-8408925670
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 1, 2023https://github.com/getsentry/sentry-javascript/pull/7014#issuecomment-1411849823
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/lforst
lforsthttps://github.com/lforst
Feb 2, 2023https://github.com/getsentry/sentry-javascript/pull/7014#issuecomment-1413413222
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/IGassmann
IGassmannhttps://github.com/IGassmann
Feb 2, 2023 https://github.com/getsentry/sentry-javascript/pull/7014#ref-issue-1564422147
Wrong environment configuration when in Vercel preview environment #6993 https://github.com/getsentry/sentry-javascript/issues/6993
https://github.com/StevenLangbroek
StevenLangbroekhttps://github.com/StevenLangbroek
Feb 17, 2023 https://github.com/getsentry/sentry-javascript/pull/7014#pullrequestreview-1302869357
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7014/files/c021fa070ba9b2b555e3f4a1300debaf40063a69
packages/nextjs/src/client/index.tshttps://github.com/getsentry/sentry-javascript/pull/7014/files/c021fa070ba9b2b555e3f4a1300debaf40063a69#diff-e100e68c9d21869ee4fcd19603984aa0b0833e80d6eb5351f2c4a5a1386c3c3e
StevenLangbroekhttps://github.com/StevenLangbroek
Feb 17, 2023https://github.com/getsentry/sentry-javascript/pull/7014#discussion_r1109428099
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
vercel docshttps://vercel.com/docs/concepts/projects/environment-variables#system-environment-variables
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/StevenLangbroek
StevenLangbroekhttps://github.com/StevenLangbroek
Feb 17, 2023https://github.com/getsentry/sentry-javascript/pull/7014#issuecomment-1434300368
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/tonyo
tonyohttps://github.com/tonyo
Feb 17, 2023https://github.com/getsentry/sentry-javascript/pull/7014#issuecomment-1434334796
@StevenLangbroekhttps://github.com/StevenLangbroek
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/IGassmann
IGassmannhttps://github.com/IGassmann
Feb 17, 2023https://github.com/getsentry/sentry-javascript/pull/7014#issuecomment-1434560941
@tonyohttps://github.com/tonyo
@StevenLangbroekhttps://github.com/StevenLangbroek
#6993https://github.com/getsentry/sentry-javascript/issues/6993
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 11, 2023https://github.com/getsentry/sentry-javascript/pull/7014#issuecomment-1464716969
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Status: Stale https://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Stale%22
Mar 11, 2023https://github.com/getsentry/sentry-javascript/pull/7014#event-8723006184
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 18, 2023https://github.com/getsentry/sentry-javascript/pull/7014#event-8783130135
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
March 27, 2025 15:51https://github.com/getsentry/sentry-javascript/pull/7014#event-17016744835
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%2F7014
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/StevenLangbroek
StevenLangbroek https://github.com/StevenLangbroek
https://github.com/getsentry/sentry-javascript/pull/7014/files/c021fa070ba9b2b555e3f4a1300debaf40063a69
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7014
https://github.com/tonyo
https://github.com/lforst
https://github.com/StevenLangbroek
https://github.com/IGassmann
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.