René's URL Explorer Experiment


Title: fix(vercel-ai): prevent tool call span map memory leak by lithdew · Pull Request #19328 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(vercel-ai): prevent tool call span map memory leak by lithdew · Pull Request #19328 · getsentry/sentry-javascript

X Title: fix(vercel-ai): prevent tool call span map memory leak by lithdew · Pull Request #19328 · getsentry/sentry-javascript

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

Open Graph Description: Tool calls were only cleaned up on tool errors, causing unbounded retention in tool-heavy apps (and potential OOMs when inputs/outputs were recorded). Store only span context in the global map and ...

X Description: Tool calls were only cleaned up on tool errors, causing unbounded retention in tool-heavy apps (and potential OOMs when inputs/outputs were recorded). Store only span context in the global map and ...

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

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:eab62367-b2f8-c504-b1c3-fba10d7a5a75
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8FD8:681B3:4D7930:6C9646:6B0444EF
html-safe-nonce26be0192ceba443f1bc6d2458408762dbd28577723a1bb411f1fb5586af1a0e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkQ4OjY4MUIzOjRENzkzMDo2Qzk2NDY6NkIwNDQ0RUYiLCJ2aXNpdG9yX2lkIjoiNjg2MDk3ODg0ODYxMjUwMDcxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc7555f2c6817c6287c7b5d3c21fbac76a7dfd03a183ba1f51afcea1900aafbb7
hovercard-subject-tagpull_request:3285113830
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/19328/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ea9a2cf8aea6aa61c043f5f8e013a335ee8a302b031121278a71511405cc8865/getsentry/sentry-javascript/pull/19328
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ea9a2cf8aea6aa61c043f5f8e013a335ee8a302b031121278a71511405cc8865/getsentry/sentry-javascript/pull/19328
og:image:altTool calls were only cleaned up on tool errors, causing unbounded retention in tool-heavy apps (and potential OOMs when inputs/outputs were recorded). Store only span context in the global map and ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelithdew
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
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
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/19328#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F19328
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%2F19328
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/19328
Reloadhttps://github.com/getsentry/sentry-javascript/pull/19328
Reloadhttps://github.com/getsentry/sentry-javascript/pull/19328
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)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
Conversationhttps://github.com/getsentry/sentry-javascript/pull/19328
Commits8 (8)https://github.com/getsentry/sentry-javascript/pull/19328/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/19328/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/19328/files
fix(vercel-ai): prevent tool call span map memory leakhttps://github.com/getsentry/sentry-javascript/pull/19328#top
nicohrubechttps://github.com/nicohrubec
getsentry:develophttps://github.com/getsentry/sentry-javascript/tree/develop
https://github.com/lithdew
lithdewhttps://github.com/lithdew
Feb 14, 2026https://github.com/getsentry/sentry-javascript/pull/19328#issue-3942001129
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
Contributinghttps://github.com/getsentry/sentry-javascript/blob/master/CONTRIBUTING.md
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/lithdew
lithdewhttps://github.com/lithdew
Feb 17, 2026https://github.com/getsentry/sentry-javascript/pull/19328#issuecomment-3915568502
@nicohrubechttps://github.com/nicohrubec
@sergicalhttps://github.com/sergical
@RulaKhaledhttps://github.com/RulaKhaled
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
RulaKhaledhttps://github.com/RulaKhaled
nicohrubechttps://github.com/nicohrubec
February 18, 2026 18:41https://github.com/getsentry/sentry-javascript/pull/19328#event-22893132483
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Feb 19, 2026 https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3824738572
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/19328/files
nicohrubechttps://github.com/nicohrubec
https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3824738572
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/lithdew
lithdewhttps://github.com/lithdew
Feb 19, 2026https://github.com/getsentry/sentry-javascript/pull/19328#issuecomment-3926238917
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Feb 19, 2026https://github.com/getsentry/sentry-javascript/pull/19328#issuecomment-3926544001
@lithdewhttps://github.com/lithdew
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/lithdew
fix(vercel-ai): prevent tool call span map memory leakhttps://github.com/getsentry/sentry-javascript/pull/19328/commits/60d9f627d28195034dcf7e0929e12df46d67ffb6
60d9f62https://github.com/getsentry/sentry-javascript/pull/19328/commits/60d9f627d28195034dcf7e0929e12df46d67ffb6
https://github.com/lithdew
lithdewhttps://github.com/lithdew
Feb 19, 2026https://github.com/getsentry/sentry-javascript/pull/19328#issuecomment-3928802475
@nicohrubechttps://github.com/nicohrubec
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Feb 19, 2026 https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3827459518
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/19328/files/60d9f627d28195034dcf7e0929e12df46d67ffb6
packages/core/src/tracing/vercel-ai/constants.tshttps://github.com/getsentry/sentry-javascript/pull/19328/files/60d9f627d28195034dcf7e0929e12df46d67ffb6#diff-645cffeffb0a0b178a9039c785dc0c9ad9803096cb8c0d4a6bfaf0842514c877
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
February 22, 2026 11:07https://github.com/getsentry/sentry-javascript/pull/19328#event-22979615655
https://github.com/lithdew
lithdewhttps://github.com/lithdew
Feb 25, 2026https://github.com/getsentry/sentry-javascript/pull/19328#issuecomment-3960861178
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/nicohrubec
some renameshttps://github.com/getsentry/sentry-javascript/pull/19328/commits/82d683c4cc0e06b3410f15122668a9f43f0acc13
82d683chttps://github.com/getsentry/sentry-javascript/pull/19328/commits/82d683c4cc0e06b3410f15122668a9f43f0acc13
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Feb 26, 2026https://github.com/getsentry/sentry-javascript/pull/19328#issuecomment-3966855627
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
@lithdewhttps://github.com/lithdew
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
nicohrubechttps://github.com/nicohrubec
February 26, 2026 15:12https://github.com/getsentry/sentry-javascript/pull/19328#commits-pushed-9214034
https://github.com/nicohrubec
renamehttps://github.com/getsentry/sentry-javascript/pull/19328/commits/92140347c9155b63ab56be5be4ac66fff62d1383
9214034https://github.com/getsentry/sentry-javascript/pull/19328/commits/92140347c9155b63ab56be5be4ac66fff62d1383
https://github.com/nicohrubec
fix typohttps://github.com/getsentry/sentry-javascript/pull/19328/commits/a10e64701468437f0cf7e18c40a55027dc697d8f
a10e647https://github.com/getsentry/sentry-javascript/pull/19328/commits/a10e64701468437f0cf7e18c40a55027dc697d8f
https://github.com/nicohrubec
remove not needed stuff and update testshttps://github.com/getsentry/sentry-javascript/pull/19328/commits/744d63d9407a5f61298b9419ed4dc1461a47b1fe
744d63dhttps://github.com/getsentry/sentry-javascript/pull/19328/commits/744d63d9407a5f61298b9419ed4dc1461a47b1fe
https://github.com/nicohrubec
renameshttps://github.com/getsentry/sentry-javascript/pull/19328/commits/3ef0c4a2043d0bfe0bf284f27f98ad4cb7dcdc6e
3ef0c4ahttps://github.com/getsentry/sentry-javascript/pull/19328/commits/3ef0c4a2043d0bfe0bf284f27f98ad4cb7dcdc6e
https://github.com/nicohrubec
refactorhttps://github.com/getsentry/sentry-javascript/pull/19328/commits/f69842023918468a2d2a4f8fcf5d0f5d316819bb
f698420https://github.com/getsentry/sentry-javascript/pull/19328/commits/f69842023918468a2d2a4f8fcf5d0f5d316819bb
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Feb 26, 2026 https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3861928500
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/19328/files/f69842023918468a2d2a4f8fcf5d0f5d316819bb
packages/node/src/integrations/tracing/vercelai/instrumentation.tshttps://github.com/getsentry/sentry-javascript/pull/19328/files/f69842023918468a2d2a4f8fcf5d0f5d316819bb#diff-8a6565a17bec711e68447a28b4bd106d236652e7256a943241867f7251fcd204
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/nicohrubec
yarn fixhttps://github.com/getsentry/sentry-javascript/pull/19328/commits/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e
2d814efhttps://github.com/getsentry/sentry-javascript/pull/19328/commits/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Feb 26, 2026 https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3862400174
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/19328/files/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3862400174
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
packages/node/src/integrations/tracing/vercelai/instrumentation.tshttps://github.com/getsentry/sentry-javascript/pull/19328/files/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e#diff-8a6565a17bec711e68447a28b4bd106d236652e7256a943241867f7251fcd204
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
andreiborzahttps://github.com/andreiborza
February 26, 2026 17:17https://github.com/getsentry/sentry-javascript/pull/19328#event-23111042574
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Mar 4, 2026 https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3888244026
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/19328/files/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e
andreiborzahttps://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3888244026
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Mar 4, 2026 https://github.com/getsentry/sentry-javascript/pull/19328#pullrequestreview-3888263312
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/19328/files/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
cca214ahttps://github.com/getsentry/sentry-javascript/commit/cca214ae03977df1686f7cab2817a418649861d9
Mar 4, 2026https://github.com/getsentry/sentry-javascript/pull/19328#event-23255157622
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Mar 4, 2026https://github.com/getsentry/sentry-javascript/pull/19328#issuecomment-3996381006
@lithdewhttps://github.com/lithdew
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
Aug 12, 2026 https://github.com/getsentry/sentry-javascript/pull/19328#ref-pullrequest-5134378954
fix: upgrade @sentry/* to ^10.70.0 to fix span retention memory leaks sourcebot-dev/sourcebot#1572 https://github.com/sourcebot-dev/sourcebot/pull/1572
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%2F19328
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-javascript/pull/19328/files/f69842023918468a2d2a4f8fcf5d0f5d316819bb
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/19328/files/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e
https://github.com/nicohrubec
nicohrubec https://github.com/nicohrubec
https://github.com/getsentry/sentry-javascript/pull/19328/files/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e
https://github.com/andreiborza
andreiborza https://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/19328/files/2d814efb6b4ba1cd4e118cc01a198dc720bbc48e
https://github.com/RulaKhaled
RulaKhaled https://github.com/RulaKhaled
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19328
https://github.com/lithdew
https://github.com/nicohrubec
https://github.com/andreiborza
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.