René's URL Explorer Experiment


Title: fix(anthropic): Close span on `GeneratorExit` by alexander-alderman-webb · Pull Request #5643 · getsentry/sentry-python · GitHub

Open Graph Title: fix(anthropic): Close span on `GeneratorExit` by alexander-alderman-webb · Pull Request #5643 · getsentry/sentry-python

X Title: fix(anthropic): Close span on `GeneratorExit` by alexander-alderman-webb · Pull Request #5643 · 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 Run post-iterator steps in a finally block so they run even if the generator does not complete. Issues Reminders Please add tests to validate your changes, and lint your code using t...

X Description: Description Run post-iterator steps in a finally block so they run even if the generator does not complete. Issues Reminders Please add tests to validate your changes, and lint your code using t...

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

X: @github

direct link

Domain: redirect.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:4f998958-51ad-7406-9519-36f51f2c1046
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC3AA:311640:310D13:3F6EF4:6B00D083
html-safe-nonce7f2a66da7e22cbbb120afd863343f9f22be542fa87adaa3d95eef27596b3286a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0FBOjMxMTY0MDozMTBEMTM6M0Y2RUY0OjZCMDBEMDgzIiwidmlzaXRvcl9pZCI6IjExNzU4MDAyMDAxODc0MDAzMjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace4bebd732b35832e9f291e117cb2f150b63864b2bd0a8241f38f31221a5f7dea
hovercard-subject-tagpull_request:3388135258
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/5643/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c587cd15c130e4a5a3a66fc42f1d11c8970ae837fe6a1b4e9503a2d9835858da/getsentry/sentry-python/pull/5643
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c587cd15c130e4a5a3a66fc42f1d11c8970ae837fe6a1b4e9503a2d9835858da/getsentry/sentry-python/pull/5643
og:image:altDescription Run post-iterator steps in a finally block so they run even if the generator does not complete. Issues Reminders Please add tests to validate your changes, and lint your code using t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexander-alderman-webb
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
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
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/getsentry/sentry-python/pull/5643#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5643
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5643
Sign uphttps://redirect.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://redirect.github.com/getsentry/sentry-python/pull/5643
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5643
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5643
getsentryhttps://redirect.github.com/getsentry
sentry-pythonhttps://redirect.github.com/getsentry/sentry-python
Codehttps://redirect.github.com/getsentry/sentry-python
Issues345 (345)https://redirect.github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://redirect.github.com/getsentry/sentry-python/pulls
Discussionshttps://redirect.github.com/getsentry/sentry-python/discussions
Actionshttps://redirect.github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://redirect.github.com/getsentry/sentry-python/security
Insightshttps://redirect.github.com/getsentry/sentry-python/insights
https://redirect.github.com/getsentry/sentry-python
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
webb/anthropic/handle-generator-exithttps://redirect.github.com/getsentry/sentry-python/tree/webb/anthropic/handle-generator-exit
Conversationhttps://redirect.github.com/getsentry/sentry-python/pull/5643
Commits32 (32)https://redirect.github.com/getsentry/sentry-python/pull/5643/commits
Checkshttps://redirect.github.com/getsentry/sentry-python/pull/5643/checks
Files changedhttps://redirect.github.com/getsentry/sentry-python/pull/5643/files
fix(anthropic): Close span on GeneratorExithttps://redirect.github.com/getsentry/sentry-python/pull/5643#top
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
webb/anthropic/handle-generator-exithttps://redirect.github.com/getsentry/sentry-python/tree/webb/anthropic/handle-generator-exit
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
Mar 12, 2026https://redirect.github.com/getsentry/sentry-python/pull/5643#issue-4062957383
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
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://redirect.github.com/getsentry/sentry-python/pull/5643
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
February 27, 2026 10:51https://redirect.github.com/getsentry/sentry-python/pull/5643#commits-pushed-4cf7e5a
https://redirect.github.com/alexander-alderman-webb
ref(anthropic): Factor out streamed result handlinghttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/4cf7e5ae1a9e6bb709ee0af266125daff6a1b73c
4cf7e5ahttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/4cf7e5ae1a9e6bb709ee0af266125daff6a1b73c
https://redirect.github.com/alexander-alderman-webb
ref(anthropic): Skip accumulation logic for unexpected types in strea…https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/61a4cd0c1e3a24f5a1a421f369d7d7d242edc7ef
61a4cd0https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/61a4cd0c1e3a24f5a1a421f369d7d7d242edc7ef
https://redirect.github.com/alexander-alderman-webb
.https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/6cdab1673211cae9482d3ba93b50ca76dabb8865
6cdab16https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/6cdab1673211cae9482d3ba93b50ca76dabb8865
https://redirect.github.com/alexander-alderman-webb
.https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/db5dbb921f70944c46d65dbfe870fad4a8cae565
db5dbb9https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/db5dbb921f70944c46d65dbfe870fad4a8cae565
https://redirect.github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/separate-output-handling' into webb/anth…https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/091506c27de113ced64117f0ae7e3c9f98ab828d
091506chttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/091506c27de113ced64117f0ae7e3c9f98ab828d
https://redirect.github.com/alexander-alderman-webb
.https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/d47b64dc29e09f59ca63de2d2423e2359502c64b
d47b64dhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/d47b64dc29e09f59ca63de2d2423e2359502c64b
https://redirect.github.com/alexander-alderman-webb
remove duplicate importhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/384351f3ca05dc2981210d0f9d9f83dfb0c63303
384351fhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/384351f3ca05dc2981210d0f9d9f83dfb0c63303
https://redirect.github.com/alexander-alderman-webb
.https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/55d5c27aa54a9f3285e86489ca49e88a63dc8890
55d5c27https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/55d5c27aa54a9f3285e86489ca49e88a63dc8890
https://redirect.github.com/alexander-alderman-webb
simplifyhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/fd84837d4e335e85924aedb7108364aa66df3446
fd84837https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/fd84837d4e335e85924aedb7108364aa66df3446
https://redirect.github.com/alexander-alderman-webb
.https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/53859e4762f4bec7e6d411738398740d59a2137e
53859e4https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/53859e4762f4bec7e6d411738398740d59a2137e
https://redirect.github.com/alexander-alderman-webb
remove unused importhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/e2d6d78204d619e9ae6f96215a072e421abb5d14
e2d6d78https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/e2d6d78204d619e9ae6f96215a072e421abb5d14
https://redirect.github.com/alexander-alderman-webb
add docstringhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/a01f7c1698aeed44085ef2f6b73c2c9546b8649d
a01f7c1https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/a01f7c1698aeed44085ef2f6b73c2c9546b8649d
https://redirect.github.com/alexander-alderman-webb
add returnhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/7837439b46c89287d1d82380e5696211dc7d68d5
7837439https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/7837439b46c89287d1d82380e5696211dc7d68d5
https://redirect.github.com/alexander-alderman-webb
remove return statementhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/0e06f49dfc34fdbd0ce5e37b6f92af680730b277
0e06f49https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/0e06f49dfc34fdbd0ce5e37b6f92af680730b277
https://redirect.github.com/alexander-alderman-webb
mergehttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/c396a3229405ad0af9e04e78b6127bbd81f1902b
c396a32https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/c396a3229405ad0af9e04e78b6127bbd81f1902b
https://redirect.github.com/alexander-alderman-webb
Merge branch 'master' into webb/anthropic/only-raw-message-stream-eventshttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/d4022c5bffa7ce9d6fb0d6c4e941c2183fd508a2
d4022c5https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/d4022c5bffa7ce9d6fb0d6c4e941c2183fd508a2
https://redirect.github.com/alexander-alderman-webb
Merge branch 'master' into webb/anthropic/separate-output-handlinghttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/4e3d1db799625804bf214438200ea056bee8076d
4e3d1dbhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/4e3d1db799625804bf214438200ea056bee8076d
https://redirect.github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/separate-output-handling' into webb/anth…https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/531c6a8b8a945c4e3276b554a536ab967a720305
531c6a8https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/531c6a8b8a945c4e3276b554a536ab967a720305
https://redirect.github.com/alexander-alderman-webb
.https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/917b8d48752c26b5deab09f83b6e61ca0fe82007
917b8d4https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/917b8d48752c26b5deab09f83b6e61ca0fe82007
https://redirect.github.com/alexander-alderman-webb
.https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/aa6e58ae700af254e9f42740333d08436367ebe1
aa6e58ahttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/aa6e58ae700af254e9f42740333d08436367ebe1
https://redirect.github.com/alexander-alderman-webb
.https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/bd00e4eeb2ac5ca25569f87f0b52f508589e3330
bd00e4ehttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/bd00e4eeb2ac5ca25569f87f0b52f508589e3330
https://redirect.github.com/alexander-alderman-webb
mergehttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/a6da66e669810c6345f4b70b176c653c6b30796c
a6da66ehttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/a6da66e669810c6345f4b70b176c653c6b30796c
https://redirect.github.com/alexander-alderman-webb
fix typehttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/c988c263421cd4c6008251c2921237d835d8baa3
c988c26https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/c988c263421cd4c6008251c2921237d835d8baa3
https://redirect.github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/separate-output-handling' into webb/anth…https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/3009ba6d7be473a0ff22925e18e45b8d1752cbc5
3009ba6https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/3009ba6d7be473a0ff22925e18e45b8d1752cbc5
https://redirect.github.com/alexander-alderman-webb
fix(anthropic): Close span on GeneratorExithttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/9eff33ea5505741e6edbb105419923ea0939c868
9eff33ehttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/9eff33ea5505741e6edbb105419923ea0939c868
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 12, 2026https://redirect.github.com/getsentry/sentry-python/pull/5643#issuecomment-4044804187
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 12, 2026https://redirect.github.com/getsentry/sentry-python/pull/5643#issuecomment-4044809670
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
https://redirect.github.com/alexander-alderman-webb
revert conftesthttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/5e3cb5f28730a88739910432bd5d50072049ec97
5e3cb5fhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/5e3cb5f28730a88739910432bd5d50072049ec97
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 12, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5643#pullrequestreview-3934707489
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5643/files/9eff33ea5505741e6edbb105419923ea0939c868
sentry_sdk/integrations/anthropic.pyhttps://redirect.github.com/getsentry/sentry-python/pull/5643/files/9eff33ea5505741e6edbb105419923ea0939c868#diff-2fe73f39bab33821a7af1fccb0fd22b943b931b2cbf8d13aead2784b3cd21e05
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
https://redirect.github.com/alexander-alderman-webb
Merge branch 'master' into webb/anthropic/separate-output-handlinghttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/ab5e3bb0da8e64c30575ef6ed56e4bcb9a093c9c
ab5e3bbhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/ab5e3bb0da8e64c30575ef6ed56e4bcb9a093c9c
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
March 12, 2026 09:41https://redirect.github.com/getsentry/sentry-python/pull/5643#commits-pushed-571db4e
https://redirect.github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/separate-output-handling' into webb/anth…https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/571db4e0384e1a099c2c23e049d5f350686a8d56
571db4ehttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/571db4e0384e1a099c2c23e049d5f350686a8d56
https://redirect.github.com/alexander-alderman-webb
Merge branch 'webb/anthropic/only-raw-message-stream-events' into web…https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/804db65c38f1cbabaf9ae73d6975088547b916f5
804db65https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/804db65c38f1cbabaf9ae73d6975088547b916f5
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
March 12, 2026 09:25https://redirect.github.com/getsentry/sentry-python/pull/5643#event-23499978754
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
code ownerhttps://redirect.github.com/getsentry/sentry-python/blob/571db4e0384e1a099c2c23e049d5f350686a8d56/.github/CODEOWNERS#L1
March 12, 2026 09:25https://redirect.github.com/getsentry/sentry-python/pull/5643#event-23499979042
https://redirect.github.com/apps/sentry
sentryhttps://redirect.github.com/apps/sentry
Mar 12, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5643#pullrequestreview-3935111162
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5643/files/804db65c38f1cbabaf9ae73d6975088547b916f5
sentry_sdk/integrations/anthropic.pyhttps://redirect.github.com/getsentry/sentry-python/pull/5643/files/804db65c38f1cbabaf9ae73d6975088547b916f5#diff-2fe73f39bab33821a7af1fccb0fd22b943b931b2cbf8d13aead2784b3cd21e05
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
March 12, 2026 09:51https://redirect.github.com/getsentry/sentry-python/pull/5643#event-23500820514
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
March 12, 2026 09:52https://redirect.github.com/getsentry/sentry-python/pull/5643#event-23500864600
https://redirect.github.com/sentrivana
sentrivanahttps://redirect.github.com/sentrivana
Mar 12, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5643#pullrequestreview-3935276013
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5643/files/804db65c38f1cbabaf9ae73d6975088547b916f5
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
Mar 13, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5643#pullrequestreview-3943251196
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5643/files/804db65c38f1cbabaf9ae73d6975088547b916f5
March 13, 2026 13:52https://redirect.github.com/getsentry/sentry-python/pull/5643#event-23546941095
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
March 13, 2026 14:55https://redirect.github.com/getsentry/sentry-python/pull/5643#commits-pushed-2a0e5e9
https://redirect.github.com/alexander-alderman-webb
merge masterhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/2a0e5e9b022b942b7db0c09f7ed8d6e56cbff376
2a0e5e9https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/2a0e5e9b022b942b7db0c09f7ed8d6e56cbff376
https://redirect.github.com/alexander-alderman-webb
keep commenthttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/f36dd5dc4d0b0a8ac9e000c708ec13b91c956b06
f36dd5dhttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/f36dd5dc4d0b0a8ac9e000c708ec13b91c956b06
https://redirect.github.com/apps/cursor
cursorhttps://redirect.github.com/apps/cursor
Mar 13, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5643#pullrequestreview-3944243895
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5643/files/f36dd5dc4d0b0a8ac9e000c708ec13b91c956b06
cursorhttps://redirect.github.com/apps/cursor
https://redirect.github.com/getsentry/sentry-python/pull/5643#pullrequestreview-3944243895
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo4MGIyZWE4Ny03MjM5LTQ5OGMtOWNlNi05MGM4NzM1YTg4YzkiLCJlbmNyeXB0aW9uS2V5IjoiNXFOWGNZS3NlZGZmZ3VUMFgySWhGQTFNRDg4aTljNDhMczAxLVNpaDM4SSIsImJyYW5jaCI6IndlYmIvYW50aHJvcGljL2hhbmRsZS1nZW5lcmF0b3ItZXhpdCIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LXB5dGhvbiJ9LCJpYXQiOjE3NzM0MTA0MzMsImV4cCI6MTc3NjAwMjQzM30.dEPvBVpGEAMfY8kIGt68nG5pxm__iSwnTyIE-y-cTnSd3Ua0N2kcNcSVEA6HoJm3e3_aG9l4OuNW7g8_pzoEWiQ6boecf2wrOmEyDSG_P6AkKdUExgKSZnZjKh_ZHkr_dxoibh8OE6pxaHtM6zmcm_SYgX0kDmCyioDqQoFW9kxSkPkoNwWaPXNzuh-0j7xImy5Pz3K-3mY1sKDbbV2MN8wc5e93VywKk9bpjBPW8VCfxzMOEVDmSaDNCYf4dsH5JR_i8CB9w3kcDHoqCYyjekwO1Eh6p5mGVCvLdeUmPxbSb6JyenWI0e3Mq1jxY6SPQYXkU1nlmZd5d8If2Bfcpg
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
sentry_sdk/integrations/anthropic.pyhttps://redirect.github.com/getsentry/sentry-python/pull/5643/files/f36dd5dc4d0b0a8ac9e000c708ec13b91c956b06#diff-2fe73f39bab33821a7af1fccb0fd22b943b931b2cbf8d13aead2784b3cd21e05
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
https://redirect.github.com/alexander-alderman-webb
wrap finally in capture internal exceptionshttps://redirect.github.com/getsentry/sentry-python/pull/5643/commits/0da2362319bfb09fda9b8a77e7c5209aa34afbcd
0da2362https://redirect.github.com/getsentry/sentry-python/pull/5643/commits/0da2362319bfb09fda9b8a77e7c5209aa34afbcd
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
c84b6d8https://redirect.github.com/getsentry/sentry-python/commit/c84b6d83d9774bef943f920959887b822a27097a
Mar 13, 2026https://github.com/getsentry/sentry-python/pull/5643#event-23547753058
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
March 13, 2026 14:14https://redirect.github.com/getsentry/sentry-python/pull/5643#event-23547754658
https://redirect.github.com/apps/sentry-release-bot
sentry-release-bothttps://redirect.github.com/apps/sentry-release-bot
Mar 17, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5643#ref-issue-4088788354
publish: getsentry/sentry-python@2.55.0 getsentry/publish#7485 https://redirect.github.com/getsentry/publish/issues/7485
https://redirect.github.com/chrikrah
chrikrahhttps://redirect.github.com/chrikrah
Oct 4, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5643#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://redirect.github.com/getsentry/sentry-python/issues/7847
https://github.co/hiddenchars
https://redirect.github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5643
https://redirect.github.com/apps/sentry
sentry[bot] https://redirect.github.com/apps/sentry
https://redirect.github.com/getsentry/sentry-python/pull/5643/files/804db65c38f1cbabaf9ae73d6975088547b916f5
https://redirect.github.com/apps/github-actions
github-actions[bot] https://redirect.github.com/apps/github-actions
https://redirect.github.com/getsentry/sentry-python/pull/5643/files/9eff33ea5505741e6edbb105419923ea0939c868
https://redirect.github.com/apps/cursor
cursor[bot] https://redirect.github.com/apps/cursor
https://redirect.github.com/getsentry/sentry-python/pull/5643/files/f36dd5dc4d0b0a8ac9e000c708ec13b91c956b06
https://redirect.github.com/ericapisani
ericapisani https://redirect.github.com/ericapisani
https://redirect.github.com/getsentry/sentry-python/pull/5643/files/804db65c38f1cbabaf9ae73d6975088547b916f5
https://redirect.github.com/sentrivana
sentrivana https://redirect.github.com/sentrivana
https://redirect.github.com/getsentry/sentry-python/pull/5643/files/804db65c38f1cbabaf9ae73d6975088547b916f5
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5643
https://redirect.github.com/alexander-alderman-webb
https://redirect.github.com/ericapisani
https://redirect.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.