René's URL Explorer Experiment


Title: fix(core): Fix wrong async types when instrumenting anthropic's stream api by andreiborza · Pull Request #18007 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): Fix wrong async types when instrumenting anthropic's stream api by andreiborza · Pull Request #18007 · getsentry/sentry-javascript

X Title: fix(core): Fix wrong async types when instrumenting anthropic's stream api by andreiborza · Pull Request #18007 · getsentry/sentry-javascript

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

Open Graph Description: The issue surfaced when message.stream was used in conjunction with the stream: true option which would lead to us returning async results instead of the expected MessageStream from anthropic ai. W...

X Description: The issue surfaced when message.stream was used in conjunction with the stream: true option which would lead to us returning async results instead of the expected MessageStream from anthropic ai. W...

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

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:4515cf77-640a-6876-7cbd-231eb3642b13
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id93B2:346BC8:94770:CB98F:6B04ABB5
html-safe-nonceeb394a13fa452044f4bed0432772317edee6d0032109b5bba61feb5ed5b33070
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0IyOjM0NkJDODo5NDc3MDpDQjk4Rjo2QjA0QUJCNSIsInZpc2l0b3JfaWQiOiI1MTUwNTQwNzY5MDI2OTQzOTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9de4f3c11de4e562fe22f79a82deeb1bef38a6ede0aabd36ad419e6479e14432
hovercard-subject-tagpull_request:2939439016
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/18007/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a3cc586d8542d387d680d8c2c0028b24117b768f171a01c6658b87cc34b62409/getsentry/sentry-javascript/pull/18007
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a3cc586d8542d387d680d8c2c0028b24117b768f171a01c6658b87cc34b62409/getsentry/sentry-javascript/pull/18007
og:image:altThe issue surfaced when message.stream was used in conjunction with the stream: true option which would lead to us returning async results instead of the expected MessageStream from anthropic ai. W...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandreiborza
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
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
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/18007#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F18007
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%2F18007
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/18007
Reloadhttps://github.com/getsentry/sentry-javascript/pull/18007
Reloadhttps://github.com/getsentry/sentry-javascript/pull/18007
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues333 (333)https://github.com/getsentry/sentry-javascript/issues
Pull requests52 (52)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
andreiborzahttps://github.com/andreiborza
develophttps://github.com/getsentry/sentry-javascript/tree/develop
ab/fix-anthropic-typeshttps://github.com/getsentry/sentry-javascript/tree/ab/fix-anthropic-types
Conversationhttps://github.com/getsentry/sentry-javascript/pull/18007
Commits1 (1)https://github.com/getsentry/sentry-javascript/pull/18007/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/18007/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/18007/files
fix(core): Fix wrong async types when instrumenting anthropic's stream apihttps://github.com/getsentry/sentry-javascript/pull/18007#top
andreiborzahttps://github.com/andreiborza
develophttps://github.com/getsentry/sentry-javascript/tree/develop
ab/fix-anthropic-typeshttps://github.com/getsentry/sentry-javascript/tree/ab/fix-anthropic-types
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Oct 23, 2025https://github.com/getsentry/sentry-javascript/pull/18007#issue-3543515815
#17977https://github.com/getsentry/sentry-javascript/issues/17977
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18007
https://github.com/andreiborza
fix(core): Fix wrong async types when instrumenting anthropic's strea…https://github.com/getsentry/sentry-javascript/pull/18007/commits/2fd9215b039d921f3cba7ccc6dfa1fa9468e464c
2fd9215https://github.com/getsentry/sentry-javascript/pull/18007/commits/2fd9215b039d921f3cba7ccc6dfa1fa9468e464c
#17977https://github.com/getsentry/sentry-javascript/issues/17977
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
RulaKhaledhttps://github.com/RulaKhaled
chargomehttps://github.com/chargome
s1gr1dhttps://github.com/s1gr1d
October 23, 2025 07:31https://github.com/getsentry/sentry-javascript/pull/18007#event-20447295857
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Oct 23, 2025https://github.com/getsentry/sentry-javascript/pull/18007#issuecomment-3435545067
https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MSJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OjBiY2VmNDUxLWYyZjQtNDgwZS1hYzk2LTdjMWYyNGE4NzY5YiIsImVuY3J5cHRpb25LZXkiOiJMa2tnOTJYLUJPaEZkQktXazdrWDNYSTQ3RVFLb0dubGg3c2o4Rkxmd3A0IiwiYnJhbmNoIjoiYWIvZml4LWFudGhyb3BpYy10eXBlcyJ9LCJpYXQiOjE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e23E7lI2T8GQjzfMBeDz3-VtD2dS7Rh_IW1iPqmhCPrlpXCCK1ufSK3JuJNBpQJich1KpWV6wd7CCgjT_cMf1Cf4iJlD0kCwePfNlCR_KjT4i7MXVQR8EZKyZSOnpQ6OW7JdVi7t7nlP4dLoquChQdzNmOJtOa80JSBeXNKkcilz5JC0Z1Keo3d3KjLd78nEptvdeT9TJzXQygyfW2Xh9AQ
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18007
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 23, 2025https://github.com/getsentry/sentry-javascript/pull/18007#issuecomment-3435569911
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/18719341564
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18007
https://github.com/chargome
chargomehttps://github.com/chargome
Oct 23, 2025 https://github.com/getsentry/sentry-javascript/pull/18007#pullrequestreview-3368863364
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/18007/files/2fd9215b039d921f3cba7ccc6dfa1fa9468e464c
dev-packages/node-integration-tests/suites/tracing/anthropic/scenario-stream.mjshttps://github.com/getsentry/sentry-javascript/pull/18007/files/2fd9215b039d921f3cba7ccc6dfa1fa9468e464c#diff-8c4e64098f65ce54a2dc9d72847f717aaa5011991b423eed52f6713a230505c9
chargomehttps://github.com/chargome
Oct 23, 2025https://github.com/getsentry/sentry-javascript/pull/18007#discussion_r2454390791
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18007
andreiborzahttps://github.com/andreiborza
Oct 23, 2025https://github.com/getsentry/sentry-javascript/pull/18007#discussion_r2455272867
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18007
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
7d050b5https://github.com/getsentry/sentry-javascript/commit/7d050b545d728a301bf4b239fbd6ff731cea4cae
Oct 23, 2025https://github.com/getsentry/sentry-javascript/pull/18007#event-20455384276
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
October 23, 2025 14:07https://github.com/getsentry/sentry-javascript/pull/18007#event-20455385794
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 24, 2025 https://github.com/getsentry/sentry-javascript/pull/18007#ref-issue-3533904122
anthropicAIIntegration() breaks Anthropic's streaming API when running TypeScript via ts-node #17977 https://github.com/getsentry/sentry-javascript/issues/17977
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%2F18007
https://github.com/chargome
chargome https://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/18007/files/2fd9215b039d921f3cba7ccc6dfa1fa9468e464c
https://github.com/RulaKhaled
RulaKhaled https://github.com/RulaKhaled
https://github.com/s1gr1d
s1gr1d https://github.com/s1gr1d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18007
anthropicAIIntegration() breaks Anthropic's streaming API when running TypeScript via ts-node https://github.com/getsentry/sentry-javascript/issues/17977
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/18007
https://github.com/andreiborza
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.