René's URL Explorer Experiment


Title: fix(react-router): Preserve `sourcemaps.disable` when `unstable_sentryVitePluginOptions` is set by chargome · Pull Request #22945 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(react-router): Preserve `sourcemaps.disable` when `unstable_sentryVitePluginOptions` is set by chargome · Pull Request #22945 · getsentry/sentry-javascript

X Title: fix(react-router): Preserve `sourcemaps.disable` when `unstable_sentryVitePluginOptions` is set by chargome · Pull Request #22945 · 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 trailing ...unstable_sentryVitePluginOptions spread sat after sourcemaps: { disable: true }, and object spread replaces whole keys rather than deep-merging — so any user-supplied sourcemaps objec...

X Description: A trailing ...unstable_sentryVitePluginOptions spread sat after sourcemaps: { disable: true }, and object spread replaces whole keys rather than deep-merging — so any user-supplied sourcemaps objec...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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:01615555-ece4-c0c3-13d9-c48fd435fd53
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA77C:36DAFB:29842:38511:6B043060
html-safe-nonce328d1e1ed826be684f3dd6cdb44fb440df44c5ecb2565cdef5d86715b20d0c21
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzdDOjM2REFGQjoyOTg0MjozODUxMTo2QjA0MzA2MCIsInZpc2l0b3JfaWQiOiIyMzI0NDc0MzUxNTA1OTExOTA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac59e090c8c913401f6c33a822a80efde08dca4cd819c96fc32d7ef6c0babeafae
hovercard-subject-tagpull_request:4193799803
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/22945/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d098a49fcc7c985f6e16676ab96e79bc9d382c3eb6e7e01fd7e93db7f8fa3ade/getsentry/sentry-javascript/pull/22945
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d098a49fcc7c985f6e16676ab96e79bc9d382c3eb6e7e01fd7e93db7f8fa3ade/getsentry/sentry-javascript/pull/22945
og:image:altA trailing ...unstable_sentryVitePluginOptions spread sat after sourcemaps: { disable: true }, and object spread replaces whole keys rather than deep-merging — so any user-supplied sourcemaps objec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechargome
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/22945#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F22945
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%2F22945
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/22945
Reloadhttps://github.com/getsentry/sentry-javascript/pull/22945
Reloadhttps://github.com/getsentry/sentry-javascript/pull/22945
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)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
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg/fix-rr-sourcemapshttps://github.com/getsentry/sentry-javascript/tree/cg/fix-rr-sourcemaps
Conversationhttps://github.com/getsentry/sentry-javascript/pull/22945
Commits3 (3)https://github.com/getsentry/sentry-javascript/pull/22945/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/22945/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/22945/files
fix(react-router): Preserve sourcemaps.disable when unstable_sentryVitePluginOptions is sethttps://github.com/getsentry/sentry-javascript/pull/22945#top
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg/fix-rr-sourcemapshttps://github.com/getsentry/sentry-javascript/tree/cg/fix-rr-sourcemaps
https://github.com/chargome
chargomehttps://github.com/chargome
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#issue-5049216471
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
#22930https://github.com/getsentry/sentry-javascript/issues/22930
@okxinthttps://github.com/okxint
#22929https://github.com/getsentry/sentry-javascript/issues/22929
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
handle rr sourcemaps optionshttps://github.com/getsentry/sentry-javascript/pull/22945/commits/9df44337783a36b97dc92d971900601c3d18d21e
9df4433https://github.com/getsentry/sentry-javascript/pull/22945/commits/9df44337783a36b97dc92d971900601c3d18d21e
https://github.com/chargome
chargomehttps://github.com/chargome
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#event-28883983688
https://github.com/chargome
chargomehttps://github.com/chargome
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#issuecomment-5165674956
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Aug 3, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#pullrequestreview-4843493043
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22945/files/9df44337783a36b97dc92d971900601c3d18d21e
packages/react-router/src/vite/buildEnd/handleOnBuildEnd.tshttps://github.com/getsentry/sentry-javascript/pull/22945/files/9df44337783a36b97dc92d971900601c3d18d21e#diff-3d5a9a3b835aafc05f6cea29fee3b8d4dab2c2baededd19b90c8c544f5eac5b1
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
chargomehttps://github.com/chargome
Aug 3, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#ref-pullrequest-5036514161
fix(react-router): prevent unstable_sentryVitePluginOptions spread from overwriting sourcemaps #22930 https://github.com/getsentry/sentry-javascript/pull/22930
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#issuecomment-5165745629
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/30810495837
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
fix disable upload modehttps://github.com/getsentry/sentry-javascript/pull/22945/commits/c784c15e23d61fa99d435be147da9daf0ce02218
c784c15https://github.com/getsentry/sentry-javascript/pull/22945/commits/c784c15e23d61fa99d435be147da9daf0ce02218
https://github.com/chargome
chargomehttps://github.com/chargome
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#issuecomment-5165762388
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Aug 3, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#pullrequestreview-4843596975
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22945/files/c784c15e23d61fa99d435be147da9daf0ce02218
packages/react-router/src/vite/makeCustomSentryVitePlugins.tshttps://github.com/getsentry/sentry-javascript/pull/22945/files/c784c15e23d61fa99d435be147da9daf0ce02218#diff-cd547e45940b12613cfc0e011d06f6adecf6c3516f13a9b7e0e9a2c9fce02b67
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
packages/react-router/src/vite/makeCustomSentryVitePlugins.tshttps://github.com/getsentry/sentry-javascript/pull/22945/files/c784c15e23d61fa99d435be147da9daf0ce02218#diff-cd547e45940b12613cfc0e011d06f6adecf6c3516f13a9b7e0e9a2c9fce02b67
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
https://github.com/claude
fix(react-router): Don't pass filesToDeleteAfterUpload to the Vite pl…https://github.com/getsentry/sentry-javascript/pull/22945/commits/1d90d5bd9ec1f9267fa897003df8cf18a7c5c1c8
1d90d5bhttps://github.com/getsentry/sentry-javascript/pull/22945/commits/1d90d5bd9ec1f9267fa897003df8cf18a7c5c1c8
https://github.com/chargome
chargomehttps://github.com/chargome
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#issuecomment-5165890870
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Aug 3, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#pullrequestreview-4843698701
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22945/files/1d90d5bd9ec1f9267fa897003df8cf18a7c5c1c8
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/22945#pullrequestreview-4843698701
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor Bugbothttps://cursor.com/bugbot
1d90d5bhttps://github.com/getsentry/sentry-javascript/commit/1d90d5bd9ec1f9267fa897003df8cf18a7c5c1c8
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
chargomehttps://github.com/chargome
August 3, 2026 12:15https://github.com/getsentry/sentry-javascript/pull/22945#event-28886527002
https://github.com/chargome
chargomehttps://github.com/chargome
code ownerhttps://github.com/getsentry/sentry-javascript/blob/8930533c2353e930db1c385470cd2ebd2a07d74b/.github/CODEOWNERS#L41
August 3, 2026 12:15https://github.com/getsentry/sentry-javascript/pull/22945#event-28886527383
https://github.com/chargome
chargomehttps://github.com/chargome
isaacshttps://github.com/isaacs
nicohrubechttps://github.com/nicohrubec
s1gr1dhttps://github.com/s1gr1d
August 3, 2026 12:15https://github.com/getsentry/sentry-javascript/pull/22945#event-28886527687
https://github.com/chargome
chargomehttps://github.com/chargome
Aug 3, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#ref-pullrequest-5049884335
test(react-router): Add e2e assertions for debug ID injection and source map upload #22956 https://github.com/getsentry/sentry-javascript/pull/22956
https://github.com/Lms24
Lms24https://github.com/Lms24
Aug 3, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#pullrequestreview-4845256797
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22945/files/1d90d5bd9ec1f9267fa897003df8cf18a7c5c1c8
packages/react-router/test/vite/buildEnd/handleOnBuildEnd.test.tshttps://github.com/getsentry/sentry-javascript/pull/22945/files/1d90d5bd9ec1f9267fa897003df8cf18a7c5c1c8#diff-f983b19c929dccf0740d0957e7beede476b671e8abd3f40912b3a46ccd421d63
Lms24https://github.com/Lms24
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#discussion_r3704896048
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
Lms24https://github.com/Lms24
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#discussion_r3704907333
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
chargomehttps://github.com/chargome
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#discussion_r3704990399
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
chargomehttps://github.com/chargome
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#discussion_r3705142223
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
chargomehttps://github.com/chargome
f1041f9https://github.com/getsentry/sentry-javascript/commit/f1041f9d5a47ec693efbdb248d4df525b69a9181
Aug 3, 2026https://github.com/getsentry/sentry-javascript/pull/22945#event-28895845806
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
chargomehttps://github.com/chargome
August 3, 2026 15:05https://github.com/getsentry/sentry-javascript/pull/22945#event-28895849559
https://github.com/chargome
chargomehttps://github.com/chargome
Aug 3, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#ref-pullrequest-5051321676
fix(v10/react-router): Preserve sourcemaps.disable when unstable_sentryVitePluginOptions is set #22966 https://github.com/getsentry/sentry-javascript/pull/22966
chargomehttps://github.com/chargome
Aug 3, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#ref-commit-e00b1ae
https://github.com/chargome
https://github.com/claude
fix(v10/react-router): Preserve sourcemaps.disable when `unstable_s…https://github.com/getsentry/sentry-javascript/commit/e00b1ae63f664c03c7ebb76f440db4c6eb91e82a
e00b1aehttps://github.com/getsentry/sentry-javascript/commit/e00b1ae63f664c03c7ebb76f440db4c6eb91e82a
#22966https://github.com/getsentry/sentry-javascript/pull/22966
#22945https://github.com/getsentry/sentry-javascript/pull/22945
#22945https://github.com/getsentry/sentry-javascript/pull/22945
chargomehttps://github.com/chargome
Aug 4, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#ref-commit-071b0a7
https://github.com/chargome
https://github.com/claude
test(react-router): Add e2e assertions for debug ID injection and sou…https://github.com/getsentry/sentry-javascript/commit/071b0a71e5d871757cde04d720df12be00ec8fb0
071b0a7https://github.com/getsentry/sentry-javascript/commit/071b0a71e5d871757cde04d720df12be00ec8fb0
#22956https://github.com/getsentry/sentry-javascript/pull/22956
#22945https://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/apps/sentry-junior
sentry-juniorhttps://github.com/apps/sentry-junior
Nov 17, 2026 https://github.com/getsentry/sentry-javascript/pull/22945#ref-pullrequest-6430466314
fix(core): strip trailing colon from url.scheme span attribute #26435 https://github.com/getsentry/sentry-javascript/pull/26435
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%2F22945
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/22945/files/1d90d5bd9ec1f9267fa897003df8cf18a7c5c1c8
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/22945/files/1d90d5bd9ec1f9267fa897003df8cf18a7c5c1c8
https://github.com/nicohrubec
nicohrubec https://github.com/nicohrubec
https://github.com/s1gr1d
s1gr1d https://github.com/s1gr1d
https://github.com/isaacs
isaacs https://github.com/isaacs
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
chargome https://github.com/chargome
[react-router] Any unstable_sentryVitePluginOptions.sourcemaps value re-enables double debug ID injection (regression of #19874) https://github.com/getsentry/sentry-javascript/issues/22929
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22945
https://github.com/chargome
https://github.com/Lms24
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.