René's URL Explorer Experiment


Title: fix(nextjs): Avoid wrapping middleware files when in standalone mode by logaretm · Pull Request #18172 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(nextjs): Avoid wrapping middleware files when in standalone mode by logaretm · Pull Request #18172 · getsentry/sentry-javascript

X Title: fix(nextjs): Avoid wrapping middleware files when in standalone mode by logaretm · Pull Request #18172 · getsentry/sentry-javascript

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

Open Graph Description: This PR attempts to fix #18001 by not wrapping the middleware files if Next.js 16 is the current version and is in standalone output mode which is the problematic scenario. Investigation: Next.js ...

X Description: This PR attempts to fix #18001 by not wrapping the middleware files if Next.js 16 is the current version and is in standalone output mode which is the problematic scenario. Investigation: Next.js ...

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

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:6e38b677-eaaa-7c51-936e-fba1f9604b3c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id99E8:12379F:220CD9:2DEE9D:6B043980
html-safe-noncee25ed5f21151ac75053baecb4bc2d9c7dbc2f68ffd43153471d4debe7e1b208d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUU4OjEyMzc5RjoyMjBDRDk6MkRFRTlEOjZCMDQzOTgwIiwidmlzaXRvcl9pZCI6IjgxMzEzNzcwMDMwNzQxNzMzMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1ac8fed06a9516969f7e4eceebc81048d000325a400d02260ae17281f7c88d16
hovercard-subject-tagpull_request:2999530859
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/18172/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/297b1c1b6b4bc6d5b5e4c58cb3cd9eb6d40a99bc48fba8dcbca135970f9d9e82/getsentry/sentry-javascript/pull/18172
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/297b1c1b6b4bc6d5b5e4c58cb3cd9eb6d40a99bc48fba8dcbca135970f9d9e82/getsentry/sentry-javascript/pull/18172
og:image:altThis PR attempts to fix #18001 by not wrapping the middleware files if Next.js 16 is the current version and is in standalone output mode which is the problematic scenario. Investigation: Next.js ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelogaretm
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/18172#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F18172
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%2F18172
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/18172
Reloadhttps://github.com/getsentry/sentry-javascript/pull/18172
Reloadhttps://github.com/getsentry/sentry-javascript/pull/18172
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)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
logaretmhttps://github.com/logaretm
develophttps://github.com/getsentry/sentry-javascript/tree/develop
awad/js-1079-sentry-causes-nextjs-16-build-to-fail-when-using-standalonehttps://github.com/getsentry/sentry-javascript/tree/awad/js-1079-sentry-causes-nextjs-16-build-to-fail-when-using-standalone
Conversationhttps://github.com/getsentry/sentry-javascript/pull/18172
Commits2 (2)https://github.com/getsentry/sentry-javascript/pull/18172/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/18172/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/18172/files
fix(nextjs): Avoid wrapping middleware files when in standalone modehttps://github.com/getsentry/sentry-javascript/pull/18172#top
logaretmhttps://github.com/logaretm
develophttps://github.com/getsentry/sentry-javascript/tree/develop
awad/js-1079-sentry-causes-nextjs-16-build-to-fail-when-using-standalonehttps://github.com/getsentry/sentry-javascript/tree/awad/js-1079-sentry-causes-nextjs-16-build-to-fail-when-using-standalone
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Nov 11, 2025https://github.com/getsentry/sentry-javascript/pull/18172#issue-3612844965
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
#18001https://github.com/getsentry/sentry-javascript/issues/18001
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
https://github.com/apps/linear
linearhttps://github.com/apps/linear
Nov 11, 2025https://github.com/getsentry/sentry-javascript/pull/18172#issuecomment-3517514080
JS-1079 Sentry causes Next.js 16 build to fail when using standalone outputhttps://linear.app/getsentry/issue/JS-1079/sentry-causes-nextjs-16-build-to-fail-when-using-standalone-output
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
https://github.com/chargome
chargomehttps://github.com/chargome
Nov 11, 2025https://github.com/getsentry/sentry-javascript/pull/18172#issuecomment-3517819337
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Nov 11, 2025https://github.com/getsentry/sentry-javascript/pull/18172#issuecomment-3517828859
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
get the middleware spanshttps://sentry-sdks.sentry.io/explore/traces/trace/76ec24576ed2fe4bfb1d1fc6d8c4ae9a/?fov=0%2C19.427978515625&mode=samples&node=span-60ca25663ddac555&project=4510187201757184&source=traces&statsPeriod=14d&table=trace×tamp=1762879977
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
https://github.com/logaretm
logaretmhttps://github.com/logaretm
November 11, 2025 16:54https://github.com/getsentry/sentry-javascript/pull/18172#event-20867417611
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Nov 11, 2025 https://github.com/getsentry/sentry-javascript/pull/18172#pullrequestreview-3449019447
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/18172/files
packages/nextjs/src/config/webpack.tshttps://github.com/getsentry/sentry-javascript/pull/18172/files#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
https://github.com/logaretm
logaretmhttps://github.com/logaretm
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/b40496843cd423b2cdcba8024a7749e0b571d7a6..ca164ecda07666a366a98448a26f3ceb44357c36
b404968https://github.com/getsentry/sentry-javascript/commit/b40496843cd423b2cdcba8024a7749e0b571d7a6
ca164echttps://github.com/getsentry/sentry-javascript/commit/ca164ecda07666a366a98448a26f3ceb44357c36
Compare https://github.com/getsentry/sentry-javascript/compare/b40496843cd423b2cdcba8024a7749e0b571d7a6..ca164ecda07666a366a98448a26f3ceb44357c36
November 12, 2025 08:54https://github.com/getsentry/sentry-javascript/pull/18172#event-20882822590
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Lms24https://github.com/Lms24
chargomehttps://github.com/chargome
November 12, 2025 08:54https://github.com/getsentry/sentry-javascript/pull/18172#event-20882826885
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Nov 12, 2025https://github.com/getsentry/sentry-javascript/pull/18172#event-20882840368
Sentry causes Next.js 16 build to fail when using standalone output #18001 https://github.com/getsentry/sentry-javascript/issues/18001
logaretmhttps://github.com/logaretm
November 12, 2025 10:56https://github.com/getsentry/sentry-javascript/pull/18172#commits-pushed-d6d59ea
https://github.com/logaretm
feat: avoid wrapping middleware files when in standalone modehttps://github.com/getsentry/sentry-javascript/pull/18172/commits/d6d59ea2386f44cad4c7fde2b1cfb02bb5929d6c
d6d59eahttps://github.com/getsentry/sentry-javascript/pull/18172/commits/d6d59ea2386f44cad4c7fde2b1cfb02bb5929d6c
https://github.com/logaretm
fix: default to wrap the middleware if version cannot be determinedhttps://github.com/getsentry/sentry-javascript/pull/18172/commits/bf7e47356515f1df0a676ec3210c5fa3c1f5a31e
bf7e473https://github.com/getsentry/sentry-javascript/pull/18172/commits/bf7e47356515f1df0a676ec3210c5fa3c1f5a31e
https://github.com/logaretm
logaretmhttps://github.com/logaretm
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/ca164ecda07666a366a98448a26f3ceb44357c36..bf7e47356515f1df0a676ec3210c5fa3c1f5a31e
ca164echttps://github.com/getsentry/sentry-javascript/commit/ca164ecda07666a366a98448a26f3ceb44357c36
bf7e473https://github.com/getsentry/sentry-javascript/commit/bf7e47356515f1df0a676ec3210c5fa3c1f5a31e
Compare https://github.com/getsentry/sentry-javascript/compare/ca164ecda07666a366a98448a26f3ceb44357c36..bf7e47356515f1df0a676ec3210c5fa3c1f5a31e
November 12, 2025 08:56https://github.com/getsentry/sentry-javascript/pull/18172#event-20882850923
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Nov 12, 2025https://github.com/getsentry/sentry-javascript/pull/18172#event-20882854259
https://github.com/chargome
chargomehttps://github.com/chargome
Nov 12, 2025 https://github.com/getsentry/sentry-javascript/pull/18172#pullrequestreview-3453178512
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/18172/files/bf7e47356515f1df0a676ec3210c5fa3c1f5a31e
https://github.com/logaretm
logaretmhttps://github.com/logaretm
5c184f4https://github.com/getsentry/sentry-javascript/commit/5c184f4a85113d3b566ac5aa8799112ad03d194a
Nov 12, 2025https://github.com/getsentry/sentry-javascript/pull/18172#event-20887269212
https://github.com/logaretm
logaretmhttps://github.com/logaretm
November 12, 2025 12:26https://github.com/getsentry/sentry-javascript/pull/18172#event-20887269746
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%2F18172
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/18172/files/d27c584c89f1a05eaba6f3227c4601d1db820d26
https://github.com/chargome
chargome https://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/18172/files/bf7e47356515f1df0a676ec3210c5fa3c1f5a31e
https://github.com/Lms24
Lms24 https://github.com/Lms24
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
Sentry causes Next.js 16 build to fail when using standalone output https://github.com/getsentry/sentry-javascript/issues/18001
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18172
https://github.com/logaretm
https://github.com/chargome
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.