René's URL Explorer Experiment


Title: fix(node): End Express layer spans when `next` is called by diobriggs · Pull Request #24854 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(node): End Express layer spans when `next` is called by diobriggs · Pull Request #24854 · getsentry/sentry-javascript

X Title: fix(node): End Express layer spans when `next` is called by diobriggs · Pull Request #24854 · getsentry/sentry-javascript

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

Open Graph Description: If you've added code that should be tested, please add tests. Ensure your code lints and the test suite passes (scoped to the affected packages, see Testing below). Link an issue if there is ...

X Description: If you've added code that should be tested, please add tests. Ensure your code lints and the test suite passes (scoped to the affected packages, see Testing below). Link an issue if there...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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:82330242-f844-9469-4570-4f0e1c78ca3a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id93B0:1CE302:46C2C6:5F7E01:6B043AFB
html-safe-noncec8dcfd9c10852209f8e23c15f25cd2d75ba9c52e4c2eb7a818656f1914af4c12
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0IwOjFDRTMwMjo0NkMyQzY6NUY3RTAxOjZCMDQzQUZCIiwidmlzaXRvcl9pZCI6Ijg2NjQ4MDgyMzQ2ODA1OTcyNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac94ec99d3abe59b655989d9240c0fe7cc0595e52582de97b1f63ae4581b9643c9
hovercard-subject-tagpull_request:4681725582
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/24854/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/311bea3b955027952d7a1c3edb7ae5288be0c6efa34bf816434981b984d466f4/getsentry/sentry-javascript/pull/24854
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/311bea3b955027952d7a1c3edb7ae5288be0c6efa34bf816434981b984d466f4/getsentry/sentry-javascript/pull/24854
og:image:altIf you've added code that should be tested, please add tests. Ensure your code lints and the test suite passes (scoped to the affected packages, see Testing below). Link an issue if there is ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamediobriggs
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/24854#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F24854
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%2F24854
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/24854
Reloadhttps://github.com/getsentry/sentry-javascript/pull/24854
Reloadhttps://github.com/getsentry/sentry-javascript/pull/24854
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
nicohrubechttps://github.com/nicohrubec
getsentry:develophttps://github.com/getsentry/sentry-javascript/tree/develop
diobriggs:fix/express-end-layer-span-on-nexthttps://github.com/diobriggs/sentry-javascript/tree/fix/express-end-layer-span-on-next
Conversationhttps://github.com/getsentry/sentry-javascript/pull/24854
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/24854/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/24854/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/24854/files
fix(node): End Express layer spans when next is calledhttps://github.com/getsentry/sentry-javascript/pull/24854#top
nicohrubechttps://github.com/nicohrubec
getsentry:develophttps://github.com/getsentry/sentry-javascript/tree/develop
diobriggs:fix/express-end-layer-span-on-nexthttps://github.com/diobriggs/sentry-javascript/tree/fix/express-end-layer-span-on-next
https://github.com/diobriggs
diobriggshttps://github.com/diobriggs
Sep 29, 2026https://github.com/getsentry/sentry-javascript/pull/24854#issue-5636005794
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24854
#24853https://github.com/getsentry/sentry-javascript/issues/24853
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24854
https://github.com/diobriggs
fix(node): End Express layer spans when next is calledhttps://github.com/getsentry/sentry-javascript/pull/24854/commits/897ef7bd4acc8a919faef1d6acc37633abdd992d
897ef7bhttps://github.com/getsentry/sentry-javascript/pull/24854/commits/897ef7bd4acc8a919faef1d6acc37633abdd992d
getsentry#24853https://github.com/getsentry/sentry-javascript/issues/24853
https://github.com/diobriggs
diobriggshttps://github.com/diobriggs
code ownerhttps://github.com/getsentry/sentry-javascript/blob/6baedf11cfbbe465867d4f93628e7100056b425c/.github/CODEOWNERS#L13
September 29, 2026 19:40https://github.com/getsentry/sentry-javascript/pull/24854#event-32108980574
https://github.com/diobriggs
diobriggshttps://github.com/diobriggs
JPeer264https://github.com/JPeer264
isaacshttps://github.com/isaacs
September 29, 2026 19:40https://github.com/getsentry/sentry-javascript/pull/24854#event-32108981096
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
external https://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3Aexternal
Sep 29, 2026https://github.com/getsentry/sentry-javascript/pull/24854#event-32108990166
https://github.com/diobriggs
Merge remote-tracking branch 'origin/develop' into fix/express-end-la…https://github.com/getsentry/sentry-javascript/pull/24854/commits/33e8193efbe68d6f78a84b75f36aafb0716ee55f
33e8193https://github.com/getsentry/sentry-javascript/pull/24854/commits/33e8193efbe68d6f78a84b75f36aafb0716ee55f
https://github.com/znarf
znarfhttps://github.com/znarf
Oct 1, 2026 https://github.com/getsentry/sentry-javascript/pull/24854#ref-pullrequest-5657266900
fix(deps): update sentry-javascript monorepo to v11 opencollective/opencollective-api#12231 https://github.com/opencollective/opencollective-api/pull/12231
nicohrubechttps://github.com/nicohrubec
October 1, 2026 09:47https://github.com/getsentry/sentry-javascript/pull/24854#commits-pushed-8a74ea3
https://github.com/nicohrubec
https://github.com/codex
test(node): Clarify Express regression test commenthttps://github.com/getsentry/sentry-javascript/pull/24854/commits/8a74ea367872bd8056db5a64f9fb52bf9582ea9b
8a74ea3https://github.com/getsentry/sentry-javascript/pull/24854/commits/8a74ea367872bd8056db5a64f9fb52bf9582ea9b
https://github.com/nicohrubec
https://github.com/codex
test(node): Ignore unrelated envelopes in Express span testhttps://github.com/getsentry/sentry-javascript/pull/24854/commits/86d250db83790c574f122279c983d5a95e804aa7
86d250dhttps://github.com/getsentry/sentry-javascript/pull/24854/commits/86d250db83790c574f122279c983d5a95e804aa7
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Oct 1, 2026 https://github.com/getsentry/sentry-javascript/pull/24854#pullrequestreview-5376453862
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/24854/files/86d250db83790c574f122279c983d5a95e804aa7
nicohrubechttps://github.com/nicohrubec
https://github.com/getsentry/sentry-javascript/pull/24854#pullrequestreview-5376453862
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24854
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
741135ehttps://github.com/getsentry/sentry-javascript/commit/741135e82a916151fa571f3db6a61515f3a023c0
Oct 1, 2026https://github.com/getsentry/sentry-javascript/pull/24854#event-32233112028
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24854
https://github.com/apps/javascript-sdk-gitflow
javascript-sdk-gitflowhttps://github.com/apps/javascript-sdk-gitflow
Oct 1, 2026 https://github.com/getsentry/sentry-javascript/pull/24854#ref-pullrequest-5659052738
chore: Add external contributor to CHANGELOG.md #24914 https://github.com/getsentry/sentry-javascript/pull/24914
nicohrubechttps://github.com/nicohrubec
Oct 1, 2026 https://github.com/getsentry/sentry-javascript/pull/24854#ref-commit-50984aa
https://github.com/apps/javascript-sdk-gitflow
https://github.com/nicohrubec
chore: Add external contributor to CHANGELOG.md (https://github.com/getsentry/sentry-javascript/commit/50984aaad23dc2dff09c46c5bf916f32264840fc
#24914https://github.com/getsentry/sentry-javascript/pull/24914
)https://github.com/getsentry/sentry-javascript/commit/50984aaad23dc2dff09c46c5bf916f32264840fc
50984aahttps://github.com/getsentry/sentry-javascript/commit/50984aaad23dc2dff09c46c5bf916f32264840fc
#24854https://github.com/getsentry/sentry-javascript/pull/24854
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Oct 1, 2026 https://github.com/getsentry/sentry-javascript/pull/24854#ref-issue-5660410227
publish: getsentry/sentry-javascript@11.2.0 getsentry/publish#9744 https://github.com/getsentry/publish/issues/9744
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 1, 2026 https://github.com/getsentry/sentry-javascript/pull/24854#ref-issue-5635890398
expressIntegration: layer spans end when next() returns instead of when it is called, piling up finish listeners (MaxListenersExceededWarning) and inflating middleware span durations #24853 https://github.com/getsentry/sentry-javascript/issues/24853
https://github.com/mlavesther
mlavestherhttps://github.com/mlavesther
Oct 8, 2026 https://github.com/getsentry/sentry-javascript/pull/24854#ref-issue-5762097126
Express request-handler span never ends when the client aborts, dropping its subtree from the http.server transaction #25183 https://github.com/getsentry/sentry-javascript/issues/25183
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%2F24854
https://github.com/nicohrubec
nicohrubec https://github.com/nicohrubec
https://github.com/getsentry/sentry-javascript/pull/24854/files/86d250db83790c574f122279c983d5a95e804aa7
https://github.com/isaacs
isaacs https://github.com/isaacs
https://github.com/JPeer264
JPeer264 https://github.com/JPeer264
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24854
external https://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3Aexternal
expressIntegration: layer spans end when next() returns instead of when it is called, piling up finish listeners (MaxListenersExceededWarning) and inflating middleware span durations https://github.com/getsentry/sentry-javascript/issues/24853
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/24854
https://github.com/diobriggs
https://github.com/nicohrubec
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.