René's URL Explorer Experiment


Title: fix(nextjs): Drop the request span that only runs the proxy by Lms24 · Pull Request #25386 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(nextjs): Drop the request span that only runs the proxy by Lms24 · Pull Request #25386 · getsentry/sentry-javascript

X Title: fix(nextjs): Drop the request span that only runs the proxy by Lms24 · Pull Request #25386 · getsentry/sentry-javascript

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

Open Graph Description: Behind a proxy, Next.js runs each request through two handleRequest calls: one only runs the proxy, the other renders the route. Since Next.js 16.3 the proxy span is no longer a child of the first ...

X Description: Behind a proxy, Next.js runs each request through two handleRequest calls: one only runs the proxy, the other renders the route. Since Next.js 16.3 the proxy span is no longer a child of the first ...

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

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:839f39be-391e-a74a-d739-98637a92f7cd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2D2:2F9258:210E5A6:2B3E3C3:6B04127E
html-safe-nonced1157f01e65b2a5a6a89ef1fb73cbe19802a7961636df962fae2b75113a230c6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkQyOjJGOTI1ODoyMTBFNUE2OjJCM0UzQzM6NkIwNDEyN0UiLCJ2aXNpdG9yX2lkIjoiNDI5MjY3MTEzMDk2OTU3NjA2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac578904238fe544d99f8ed11dc91bccfba4c2aad8636b358f8ef207a9ee996e89
hovercard-subject-tagpull_request:4870002415
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/25386/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1d46ac2cc7766c0a85af06c83265f1e2d2063788078033b409332709d539595c/getsentry/sentry-javascript/pull/25386
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1d46ac2cc7766c0a85af06c83265f1e2d2063788078033b409332709d539595c/getsentry/sentry-javascript/pull/25386
og:image:altBehind a proxy, Next.js runs each request through two handleRequest calls: one only runs the proxy, the other renders the route. Since Next.js 16.3 the proxy span is no longer a child of the first ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLms24
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/25386#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F25386
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%2F25386
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/25386
Reloadhttps://github.com/getsentry/sentry-javascript/pull/25386
Reloadhttps://github.com/getsentry/sentry-javascript/pull/25386
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues342 (342)https://github.com/getsentry/sentry-javascript/issues
Pull requests56 (56)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
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/fix-nextjs-proxy-handle-request-segmenthttps://github.com/getsentry/sentry-javascript/tree/lms/fix-nextjs-proxy-handle-request-segment
Conversationhttps://github.com/getsentry/sentry-javascript/pull/25386
Commits5 (5)https://github.com/getsentry/sentry-javascript/pull/25386/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/25386/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/25386/files
fix(nextjs): Drop the request span that only runs the proxyhttps://github.com/getsentry/sentry-javascript/pull/25386#top
Lms24https://github.com/Lms24
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lms/fix-nextjs-proxy-handle-request-segmenthttps://github.com/getsentry/sentry-javascript/tree/lms/fix-nextjs-proxy-handle-request-segment
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 15, 2026https://github.com/getsentry/sentry-javascript/pull/25386#issue-5862266283
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
#25370https://github.com/getsentry/sentry-javascript/issues/25370
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Oct 15, 2026 https://github.com/getsentry/sentry-javascript/pull/25386#pullrequestreview-5529870171
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/25386/files
cursorhttps://github.com/apps/cursor
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
https://github.com/getsentry/sentry-javascript/pull/25386#pullrequestreview-5529870171
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
dev-packages/e2e-tests/test-applications/nextjs-16/tests/middleware.test.tshttps://github.com/getsentry/sentry-javascript/pull/25386/files#diff-64fe3d6b44fb71dc62e525cf73cd9d5cc659e647bb447ce51b6cd7801ccc1452
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
dev-packages/e2e-tests/test-applications/nextjs-16/tests/middleware.test.tshttps://github.com/getsentry/sentry-javascript/pull/25386/files#diff-64fe3d6b44fb71dc62e525cf73cd9d5cc659e647bb447ce51b6cd7801ccc1452
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 15, 2026https://github.com/getsentry/sentry-javascript/pull/25386#issuecomment-6187339454
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/38903187749
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
https://github.com/inickua
inickuahttps://github.com/inickua
Oct 15, 2026 https://github.com/getsentry/sentry-javascript/pull/25386#ref-issue-5850331157
nextjs: Next 16 request yields a route-less http.server segment named only by method, plus the route-named one #25370 https://github.com/getsentry/sentry-javascript/issues/25370
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 16, 2026 https://github.com/getsentry/sentry-javascript/pull/25386#ref-pullrequest-5881617450
fix(node): Skip spans for outgoing requests to Sentry via undici fetch and node:http #25441 https://github.com/getsentry/sentry-javascript/pull/25441
Lms24https://github.com/Lms24
October 16, 2026 17:27https://github.com/getsentry/sentry-javascript/pull/25386#commits-pushed-01acae5
https://github.com/Lms24
https://github.com/claude
test(nextjs): Expect one http.server segment per request behind the p…https://github.com/getsentry/sentry-javascript/pull/25386/commits/01acae535bdd3b96c49bb58b781e9d42e65f4011
01acae5https://github.com/getsentry/sentry-javascript/pull/25386/commits/01acae535bdd3b96c49bb58b781e9d42e65f4011
#25370https://github.com/getsentry/sentry-javascript/issues/25370
https://github.com/Lms24
https://github.com/claude
fix(nextjs): Drop the request span that only runs the proxyhttps://github.com/getsentry/sentry-javascript/pull/25386/commits/1d02ca7a054520150200bd9b71326bb4984fd7cb
1d02ca7https://github.com/getsentry/sentry-javascript/pull/25386/commits/1d02ca7a054520150200bd9b71326bb4984fd7cb
#25370https://github.com/getsentry/sentry-javascript/issues/25370
https://github.com/Lms24
https://github.com/claude
ref(nextjs): Drop the proxy-only request span with ignoreSpanshttps://github.com/getsentry/sentry-javascript/pull/25386/commits/0453bca1b7f1d80b85c691a86280e202e1d5e7e2
0453bcahttps://github.com/getsentry/sentry-javascript/pull/25386/commits/0453bca1b7f1d80b85c691a86280e202e1d5e7e2
#25370https://github.com/getsentry/sentry-javascript/issues/25370
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/a49a615149e3bc8fb1a8f035d99e40e9aa90c8cb..0453bca1b7f1d80b85c691a86280e202e1d5e7e2
a49a615https://github.com/getsentry/sentry-javascript/commit/a49a615149e3bc8fb1a8f035d99e40e9aa90c8cb
0453bcahttps://github.com/getsentry/sentry-javascript/commit/0453bca1b7f1d80b85c691a86280e202e1d5e7e2
Compare https://github.com/getsentry/sentry-javascript/compare/a49a615149e3bc8fb1a8f035d99e40e9aa90c8cb..0453bca1b7f1d80b85c691a86280e202e1d5e7e2
October 16, 2026 15:27https://github.com/getsentry/sentry-javascript/pull/25386#event-33458892220
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Oct 16, 2026 https://github.com/getsentry/sentry-javascript/pull/25386#pullrequestreview-5550028538
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/25386/files/0453bca1b7f1d80b85c691a86280e202e1d5e7e2
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/25386#pullrequestreview-5550028538
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo5ODA0ZGVmMi1lYWY3LTRkMGItYjM1ZS03ZDk3MDY3NGIxODUiLCJlbmNyeXB0aW9uS2V5IjoiZU9OcWd0SU05OWkwYzByR3Ayd2VtYzdTN2p3WkVRYVNHTl9EZXlwSXNuOCIsImJyYW5jaCI6Imxtcy9maXgtbmV4dGpzLXByb3h5LWhhbmRsZS1yZXF1ZXN0LXNlZ21lbnQiLCJyZXBvT3duZXIiOiJnZXRzZW50cnkiLCJyZXBvTmFtZSI6InNlbnRyeS1qYXZhc2NyaXB0IiwicHJvdmlkZXIiOiJnaXRodWIifX0
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
0453bcahttps://github.com/getsentry/sentry-javascript/commit/0453bca1b7f1d80b85c691a86280e202e1d5e7e2
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
packages/nextjs/src/server/serverSpanHooks.tshttps://github.com/getsentry/sentry-javascript/pull/25386/files/0453bca1b7f1d80b85c691a86280e202e1d5e7e2#diff-da7f86c1530bdc0d7bc3011268a491a50bcddf529d334fc05c178a4de38d4008
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
Lms24https://github.com/Lms24
October 16, 2026 18:06https://github.com/getsentry/sentry-javascript/pull/25386#commits-pushed-1930c84
https://github.com/Lms24
https://github.com/claude
test(nextjs): Use the op constant and separate tests for the proxy se…https://github.com/getsentry/sentry-javascript/pull/25386/commits/1930c84fdfda3322819108b5e0d67f3123297c0b
1930c84https://github.com/getsentry/sentry-javascript/pull/25386/commits/1930c84fdfda3322819108b5e0d67f3123297c0b
https://github.com/Lms24
https://github.com/claude
ref(nextjs): Look up the request through the httpServerRequest hookhttps://github.com/getsentry/sentry-javascript/pull/25386/commits/1a8666de453b8e45e97f3e8fb2ea73b068645dd0
1a8666dhttps://github.com/getsentry/sentry-javascript/pull/25386/commits/1a8666de453b8e45e97f3e8fb2ea73b068645dd0
https://github.com/Lms24
Lms24https://github.com/Lms24
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/8c57d77fc0234803c4c7f2d7edeb86520d67abc5..1a8666de453b8e45e97f3e8fb2ea73b068645dd0
8c57d77https://github.com/getsentry/sentry-javascript/commit/8c57d77fc0234803c4c7f2d7edeb86520d67abc5
1a8666dhttps://github.com/getsentry/sentry-javascript/commit/1a8666de453b8e45e97f3e8fb2ea73b068645dd0
Compare https://github.com/getsentry/sentry-javascript/compare/8c57d77fc0234803c4c7f2d7edeb86520d67abc5..1a8666de453b8e45e97f3e8fb2ea73b068645dd0
October 16, 2026 16:06https://github.com/getsentry/sentry-javascript/pull/25386#event-33461939905
Lms24https://github.com/Lms24
Oct 23, 2026 https://github.com/getsentry/sentry-javascript/pull/25386#ref-commit-067ae23
https://github.com/Lms24
https://github.com/JPeer264
https://github.com/apps/sentry-junior
fix(node): Skip spans for outgoing requests to Sentry via undici fe…https://github.com/getsentry/sentry-javascript/commit/067ae237fb2bac9ed5774fef2e03a4c952dc2f00
067ae23https://github.com/getsentry/sentry-javascript/commit/067ae237fb2bac9ed5774fef2e03a4c952dc2f00
#25441https://github.com/getsentry/sentry-javascript/pull/25441
#25386https://github.com/getsentry/sentry-javascript/pull/25386
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 27, 2026https://github.com/getsentry/sentry-javascript/pull/25386#issuecomment-6440053332
https://github.com/vercel/next.js/releases/tag/v16.4.3https://github.com/vercel/next.js/releases/tag/v16.4.3
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 27, 2026https://github.com/getsentry/sentry-javascript/pull/25386#event-34356784535
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%2F25386
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/25386/files/0453bca1b7f1d80b85c691a86280e202e1d5e7e2
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
nextjs: Next 16 request yields a route-less http.server segment named only by method, plus the route-named one https://github.com/getsentry/sentry-javascript/issues/25370
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/25386
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.