René's URL Explorer Experiment


Title: fix(anthropic): Patch `AsyncStream.close()` and `AsyncMessageStream.close()` to finish spans by alexander-alderman-webb · Pull Request #5675 · getsentry/sentry-python · GitHub

Open Graph Title: fix(anthropic): Patch `AsyncStream.close()` and `AsyncMessageStream.close()` to finish spans by alexander-alderman-webb · Pull Request #5675 · getsentry/sentry-python

X Title: fix(anthropic): Patch `AsyncStream.close()` and `AsyncMessageStream.close()` to finish spans by alexander-alderman-webb · Pull Request #5675 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: Description Close AI Client Spans when the Anthropic SDK's HTTP connection is closed and not merely when the streamed response iterator is consumed or the GC collects the private _iterator ins...

X Description: Description Close AI Client Spans when the Anthropic SDK's HTTP connection is closed and not merely when the streamed response iterator is consumed or the GC collects the private _iterator...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/5675

X: @github

direct link

Domain: github.com

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:cc29225d-1bf4-9146-130b-e443c675de9f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id900C:10DACD:4BE697:66F4AE:6B00CD00
html-safe-nonce948cf609963aad4721424617b93b3cadedd15b1b987a640ae5a29a6ff8fa7446
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDBDOjEwREFDRDo0QkU2OTc6NjZGNEFFOjZCMDBDRDAwIiwidmlzaXRvcl9pZCI6IjM4Mjg0NDA5NjIxOTE5MDQwMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1c20a28eb01ac9440d87452b5f1345c0c35e53b4b30c573d88f282510bc888a0
hovercard-subject-tagpull_request:3404355396
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-python/5675/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2943556a65bc00338762630ecfc4ef1e08ae7d9a2f195e1b4697ce089e9a40cd/getsentry/sentry-python/pull/5675
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2943556a65bc00338762630ecfc4ef1e08ae7d9a2f195e1b4697ce089e9a40cd/getsentry/sentry-python/pull/5675
og:image:altDescription Close AI Client Spans when the Anthropic SDK's HTTP connection is closed and not merely when the streamed response iterator is consumed or the GC collects the private _iterator ins...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexander-alderman-webb
hostnamegithub.com
expected-hostnamegithub.com
None98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
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
releaseef013399cf0a3c324bea644a685d7c1e0f06b5b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/5675#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5675
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-python%2Fpull%2F5675
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-python
Reloadhttps://github.com/getsentry/sentry-python/pull/5675
Reloadhttps://github.com/getsentry/sentry-python/pull/5675
Reloadhttps://github.com/getsentry/sentry-python/pull/5675
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/anthropic/async-iteratorshttps://github.com/getsentry/sentry-python/tree/webb/anthropic/async-iterators
Conversationhttps://github.com/getsentry/sentry-python/pull/5675
Commits33 (33)https://github.com/getsentry/sentry-python/pull/5675/commits
Checkshttps://github.com/getsentry/sentry-python/pull/5675/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/5675/files
fix(anthropic): Patch AsyncStream.close() and AsyncMessageStream.close() to finish spanshttps://github.com/getsentry/sentry-python/pull/5675#top
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/anthropic/async-iteratorshttps://github.com/getsentry/sentry-python/tree/webb/anthropic/async-iterators
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 16, 2026https://github.com/getsentry/sentry-python/pull/5675#issue-4082348364
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
conventional commithttps://develop.sentry.dev/engineering-practices/commit-messages/#type
CONTRIBUTING.mdhttps://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md
Sentry SDK development docshttps://develop.sentry.dev/sdk/
Discord communityhttps://discord.gg/Ww9hbqr
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 16, 2026 11:24https://github.com/getsentry/sentry-python/pull/5675#commits-pushed-e3cc76d
https://github.com/alexander-alderman-webb
fix(anthropic): Respect iterator protocol in synchronous streamed res…https://github.com/getsentry/sentry-python/pull/5675/commits/e3cc76d4516c8d4945d92c9b5f8846f69a36b3cf
e3cc76dhttps://github.com/getsentry/sentry-python/pull/5675/commits/e3cc76d4516c8d4945d92c9b5f8846f69a36b3cf
https://github.com/alexander-alderman-webb
version check and typinghttps://github.com/getsentry/sentry-python/pull/5675/commits/7bd7ed42c9efb24eb94ae07ef4b9f76c8c44db44
7bd7ed4https://github.com/getsentry/sentry-python/pull/5675/commits/7bd7ed42c9efb24eb94ae07ef4b9f76c8c44db44
https://github.com/alexander-alderman-webb
fix testshttps://github.com/getsentry/sentry-python/pull/5675/commits/c8a6ec306f1d413295b9dbbd213317fcc7c1241e
c8a6ec3https://github.com/getsentry/sentry-python/pull/5675/commits/c8a6ec306f1d413295b9dbbd213317fcc7c1241e
https://github.com/alexander-alderman-webb
missing typeshttps://github.com/getsentry/sentry-python/pull/5675/commits/6f1d833b6d290bd413cee40d4afe55981615a2cc
6f1d833https://github.com/getsentry/sentry-python/pull/5675/commits/6f1d833b6d290bd413cee40d4afe55981615a2cc
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5675/commits/40e2bf029dd609bb9b1ded5acb7ba78b052001cf
40e2bf0https://github.com/getsentry/sentry-python/pull/5675/commits/40e2bf029dd609bb9b1ded5acb7ba78b052001cf
https://github.com/alexander-alderman-webb
fix(anthropic): Respect iterator protocol in asynchronous streamed re…https://github.com/getsentry/sentry-python/pull/5675/commits/a21406f13fa28ce29fca0506f9f890cffe29d457
a21406fhttps://github.com/getsentry/sentry-python/pull/5675/commits/a21406f13fa28ce29fca0506f9f890cffe29d457
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 16, 2026https://github.com/getsentry/sentry-python/pull/5675#issuecomment-4067496630
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 16, 2026https://github.com/getsentry/sentry-python/pull/5675#issuecomment-4067499928
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 16, 2026 14:03https://github.com/getsentry/sentry-python/pull/5675#commits-pushed-a3cc18f
https://github.com/alexander-alderman-webb
simplifyhttps://github.com/getsentry/sentry-python/pull/5675/commits/a3cc18ff19c59bd708abce2cd715b8bb59e0f2bd
a3cc18fhttps://github.com/getsentry/sentry-python/pull/5675/commits/a3cc18ff19c59bd708abce2cd715b8bb59e0f2bd
https://github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/sync-iterators' into webb/anthropic/asyn…https://github.com/getsentry/sentry-python/pull/5675/commits/631e727fc8722715fd1499918a234c6db2ebf70b
631e727https://github.com/getsentry/sentry-python/pull/5675/commits/631e727fc8722715fd1499918a234c6db2ebf70b
https://github.com/alexander-alderman-webb
simplifyhttps://github.com/getsentry/sentry-python/pull/5675/commits/dd26abcaebd8e033915e1a2bb37472e19b6e2005
dd26abchttps://github.com/getsentry/sentry-python/pull/5675/commits/dd26abcaebd8e033915e1a2bb37472e19b6e2005
https://github.com/alexander-alderman-webb
merge masterhttps://github.com/getsentry/sentry-python/pull/5675/commits/f6b8909c6f506ff0f66dc7f9d15a28070645f184
f6b8909https://github.com/getsentry/sentry-python/pull/5675/commits/f6b8909c6f506ff0f66dc7f9d15a28070645f184
https://github.com/alexander-alderman-webb
update testshttps://github.com/getsentry/sentry-python/pull/5675/commits/0aeec7262f09978d76cce84c7d9d5ee649b63a95
0aeec72https://github.com/getsentry/sentry-python/pull/5675/commits/0aeec7262f09978d76cce84c7d9d5ee649b63a95
https://github.com/alexander-alderman-webb
mergehttps://github.com/getsentry/sentry-python/pull/5675/commits/005eb664fb449df2582551a3ae0c64efb23ab17e
005eb66https://github.com/getsentry/sentry-python/pull/5675/commits/005eb664fb449df2582551a3ae0c64efb23ab17e
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5675/commits/c5cd95933f6e81c7923b75c18bd159d5d8c17f65
c5cd959https://github.com/getsentry/sentry-python/pull/5675/commits/c5cd95933f6e81c7923b75c18bd159d5d8c17f65
https://github.com/alexander-alderman-webb
docstringhttps://github.com/getsentry/sentry-python/pull/5675/commits/b92db6df0e143f8b1b57c383852ed81dfb80a496
b92db6dhttps://github.com/getsentry/sentry-python/pull/5675/commits/b92db6df0e143f8b1b57c383852ed81dfb80a496
https://github.com/alexander-alderman-webb
docstringhttps://github.com/getsentry/sentry-python/pull/5675/commits/a9566445bed1d2f00c40812a041b06418c51c74d
a956644https://github.com/getsentry/sentry-python/pull/5675/commits/a9566445bed1d2f00c40812a041b06418c51c74d
https://github.com/alexander-alderman-webb
docstringshttps://github.com/getsentry/sentry-python/pull/5675/commits/beb8f2c792b7b1108807e7d08d5b6fc080977178
beb8f2chttps://github.com/getsentry/sentry-python/pull/5675/commits/beb8f2c792b7b1108807e7d08d5b6fc080977178
https://github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/sync-iterators' into webb/anthropic/asyn…https://github.com/getsentry/sentry-python/pull/5675/commits/e84a63f2a37a255cb90e5aa342e3b731274abb57
e84a63fhttps://github.com/getsentry/sentry-python/pull/5675/commits/e84a63f2a37a255cb90e5aa342e3b731274abb57
https://github.com/alexander-alderman-webb
docshttps://github.com/getsentry/sentry-python/pull/5675/commits/7ec95fe46b97728d62717b4a9d84503e1fc3a6a1
7ec95fehttps://github.com/getsentry/sentry-python/pull/5675/commits/7ec95fe46b97728d62717b4a9d84503e1fc3a6a1
https://github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/sync-iterators' into webb/anthropic/asyn…https://github.com/getsentry/sentry-python/pull/5675/commits/288a065e2cdbaa8ba7055fee5f4445b5f06f9817
288a065https://github.com/getsentry/sentry-python/pull/5675/commits/288a065e2cdbaa8ba7055fee5f4445b5f06f9817
https://github.com/alexander-alderman-webb
docstringshttps://github.com/getsentry/sentry-python/pull/5675/commits/8e9bfabbd7211e505c39855eb666f444d19f9559
8e9bfabhttps://github.com/getsentry/sentry-python/pull/5675/commits/8e9bfabbd7211e505c39855eb666f444d19f9559
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 17, 2026 12:38https://github.com/getsentry/sentry-python/pull/5675#event-23642361726
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
code ownerhttps://github.com/getsentry/sentry-python/blob/7ec95fe46b97728d62717b4a9d84503e1fc3a6a1/.github/CODEOWNERS#L1
March 17, 2026 12:38https://github.com/getsentry/sentry-python/pull/5675#event-23642362001
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 17, 2026 https://github.com/getsentry/sentry-python/pull/5675#pullrequestreview-3960490641
View reviewed changes https://github.com/getsentry/sentry-python/pull/5675/files/8e9bfabbd7211e505c39855eb666f444d19f9559
sentry_sdk/integrations/anthropic.pyhttps://github.com/getsentry/sentry-python/pull/5675/files/8e9bfabbd7211e505c39855eb666f444d19f9559#diff-2fe73f39bab33821a7af1fccb0fd22b943b931b2cbf8d13aead2784b3cd21e05
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 17, 2026 13:46https://github.com/getsentry/sentry-python/pull/5675#commits-pushed-fab5d93
https://github.com/alexander-alderman-webb
type annotationhttps://github.com/getsentry/sentry-python/pull/5675/commits/fab5d93b6503af639e7362ab0f62899ef21116e0
fab5d93https://github.com/getsentry/sentry-python/pull/5675/commits/fab5d93b6503af639e7362ab0f62899ef21116e0
https://github.com/alexander-alderman-webb
reviewhttps://github.com/getsentry/sentry-python/pull/5675/commits/cda41e20c60ed25fc4a9fc99d62c90531c50ace6
cda41e2https://github.com/getsentry/sentry-python/pull/5675/commits/cda41e20c60ed25fc4a9fc99d62c90531c50ace6
https://github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/sync-iterators' into webb/anthropic/asyn…https://github.com/getsentry/sentry-python/pull/5675/commits/41564461edaf248b3ba027affc50e79f016423cf
4156446https://github.com/getsentry/sentry-python/pull/5675/commits/41564461edaf248b3ba027affc50e79f016423cf
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 17, 2026 https://github.com/getsentry/sentry-python/pull/5675#pullrequestreview-3960550334
View reviewed changes https://github.com/getsentry/sentry-python/pull/5675/files/fab5d93b6503af639e7362ab0f62899ef21116e0
sentry_sdk/integrations/anthropic.pyhttps://github.com/getsentry/sentry-python/pull/5675/files/fab5d93b6503af639e7362ab0f62899ef21116e0#diff-2fe73f39bab33821a7af1fccb0fd22b943b931b2cbf8d13aead2784b3cd21e05
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
https://github.com/alexander-alderman-webb
reviewhttps://github.com/getsentry/sentry-python/pull/5675/commits/e17e0364090c01af3979cccd3027b727319ff9ae
e17e036https://github.com/getsentry/sentry-python/pull/5675/commits/e17e0364090c01af3979cccd3027b727319ff9ae
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 17, 2026 13:06https://github.com/getsentry/sentry-python/pull/5675#event-23643233325
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 17, 2026 15:37https://github.com/getsentry/sentry-python/pull/5675#commits-pushed-31869af
https://github.com/alexander-alderman-webb
simplifyhttps://github.com/getsentry/sentry-python/pull/5675/commits/31869afeff1c812d127825e5602dd3754be716f3
31869afhttps://github.com/getsentry/sentry-python/pull/5675/commits/31869afeff1c812d127825e5602dd3754be716f3
https://github.com/alexander-alderman-webb
simplifyhttps://github.com/getsentry/sentry-python/pull/5675/commits/1017e9eee15b2325934ee2e2cca8482db56a86dc
1017e9ehttps://github.com/getsentry/sentry-python/pull/5675/commits/1017e9eee15b2325934ee2e2cca8482db56a86dc
https://github.com/alexander-alderman-webb
simplifyhttps://github.com/getsentry/sentry-python/pull/5675/commits/8897151c0ec9f8f68775c3c751e71add352b8c11
8897151https://github.com/getsentry/sentry-python/pull/5675/commits/8897151c0ec9f8f68775c3c751e71add352b8c11
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5675/commits/fcedba70cf97c2163883f19a46f840d9aadbd390
fcedba7https://github.com/getsentry/sentry-python/pull/5675/commits/fcedba70cf97c2163883f19a46f840d9aadbd390
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5675/commits/fdf770a4c54bb1f6489f226ad19b884e2c69e186
fdf770ahttps://github.com/getsentry/sentry-python/pull/5675/commits/fdf770a4c54bb1f6489f226ad19b884e2c69e186
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5675/commits/e2f7afc2cf38472318d1362273ace897b6b85cc5
e2f7afchttps://github.com/getsentry/sentry-python/pull/5675/commits/e2f7afc2cf38472318d1362273ace897b6b85cc5
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 17, 2026https://github.com/getsentry/sentry-python/pull/5675#event-23647772952
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 17, 2026 15:15https://github.com/getsentry/sentry-python/pull/5675#event-23648170218
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Mar 18, 2026 https://github.com/getsentry/sentry-python/pull/5675#pullrequestreview-3966770030
View reviewed changes https://github.com/getsentry/sentry-python/pull/5675/files/e2f7afc2cf38472318d1362273ace897b6b85cc5
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 18, 2026 https://github.com/getsentry/sentry-python/pull/5675#ref-pullrequest-4081591630
fix(anthropic): Patch Stream.close() and MessageStream.close() to finish spans #5674 https://github.com/getsentry/sentry-python/pull/5674
March 18, 2026 13:20https://github.com/getsentry/sentry-python/pull/5675#event-23681847875
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 18, 2026 14:24https://github.com/getsentry/sentry-python/pull/5675#commits-pushed-e36a4d4
https://github.com/alexander-alderman-webb
merge masterhttps://github.com/getsentry/sentry-python/pull/5675/commits/e36a4d418b8409616296c69ae6840c16bc5dc898
e36a4d4https://github.com/getsentry/sentry-python/pull/5675/commits/e36a4d418b8409616296c69ae6840c16bc5dc898
https://github.com/alexander-alderman-webb
docstringhttps://github.com/getsentry/sentry-python/pull/5675/commits/c79fe89ef0301073a6212bc4b52d3d42a11e9e7b
c79fe89https://github.com/getsentry/sentry-python/pull/5675/commits/c79fe89ef0301073a6212bc4b52d3d42a11e9e7b
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 18, 2026 https://github.com/getsentry/sentry-python/pull/5675#pullrequestreview-3967854254
View reviewed changes https://github.com/getsentry/sentry-python/pull/5675/files/c79fe89ef0301073a6212bc4b52d3d42a11e9e7b
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5675#pullrequestreview-3967854254
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo2ZTU2MGJjYS03NDg0LTQzZjItYmNiNi0zNDUyNjBiNzBiYjEiLCJlbmNyeXB0aW9uS2V5IjoiUTlMcXgya0pyNXh5UTVHamM0aTlWOU5lUWxxczd3NU5ZSXB3eGdacldMRSIsImJyYW5jaCI6IndlYmIvYW50aHJvcGljL2FzeW5jLWl0ZXJhdG9ycyIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LXB5dGhvbiJ9LCJpYXQiOjE3NzM4NDA2NTEsImV4cCI6MTc3NjQzMjY1MX0.xdMcjcrC81wUEy2Yz_f6YZql1O_bc8vK0jltH6KAjmXRO3cYiwWDYYMfOoVZQitywnoYTdZ-eAlRf677x3joONOIZ73HFAc09JcqrJUDLmNZFp-p5sq9iLBLJ6u68xQs10uMd01ljNowPdDbVuy_ZmZViOl1UFytiuhMgoeXdv8Ue5o1DefKF0L1SPjsWbJvG7255rs2XRXRT4v017pHp4oKtizKkVJbc-5xXysO-F4LW8es8EytCW3Xkcdj4e9fevTt8A8QKwH3vEowWzWfMWxVUOQWWjDI15jiyEZLJ372o0p5Ea07IpEiOJOLe5Ya_DTHzYoZQ0niQQ_fM-wbfg
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
sentry_sdk/integrations/anthropic.pyhttps://github.com/getsentry/sentry-python/pull/5675/files/c79fe89ef0301073a6212bc4b52d3d42a11e9e7b#diff-2fe73f39bab33821a7af1fccb0fd22b943b931b2cbf8d13aead2784b3cd21e05
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
https://github.com/alexander-alderman-webb
fix type annotationhttps://github.com/getsentry/sentry-python/pull/5675/commits/e3b6b606b285ffd46c675bed58f6c0339d57922c
e3b6b60https://github.com/getsentry/sentry-python/pull/5675/commits/e3b6b606b285ffd46c675bed58f6c0339d57922c
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
6d33d36https://github.com/getsentry/sentry-python/commit/6d33d363a1a862495d717212a5bca8eb7234ad65
Mar 18, 2026https://github.com/getsentry/sentry-python/pull/5675#event-23682999586
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 18, 2026 13:53https://github.com/getsentry/sentry-python/pull/5675#event-23683001989
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Mar 24, 2026 https://github.com/getsentry/sentry-python/pull/5675#ref-issue-4125856850
publish: getsentry/sentry-python@2.56.0 getsentry/publish#7566 https://github.com/getsentry/publish/issues/7566
mgalignianahttps://github.com/mgaligniana
Aug 9, 2026 https://github.com/getsentry/sentry-python/pull/5675#ref-commit-373e931
https://github.com/alexander-alderman-webb
https://github.com/mgaligniana
fix(anthropic): Patch AsyncStream.close() and `AsyncMessageStream.c…https://github.com/mgaligniana/sentry-python/commit/373e9313f916cc6eaa8d7eeae977d2d8d3a2e9d1
373e931https://github.com/mgaligniana/sentry-python/commit/373e9313f916cc6eaa8d7eeae977d2d8d3a2e9d1
getsentry#5675https://github.com/getsentry/sentry-python/pull/5675
https://github.com/chrikrah
chrikrahhttps://github.com/chrikrah
Oct 4, 2026 https://github.com/getsentry/sentry-python/pull/5675#ref-issue-5696532984
OpenAI integration: streamed gen_ai.chat/gen_ai.responses span is lost when the stream is closed early or errors #7847 https://github.com/getsentry/sentry-python/issues/7847
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/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-python%2Fpull%2F5675
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5675/files/c79fe89ef0301073a6212bc4b52d3d42a11e9e7b
https://github.com/sentrivana
sentrivana https://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/5675/files/e2f7afc2cf38472318d1362273ace897b6b85cc5
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5675
https://github.com/alexander-alderman-webb
https://github.com/sentrivana
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

Viewport: width=device-width


URLs of crawlers that visited me.