| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:912ad6c9-f021-565e-c746-f028b0bccaa8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C73A:19F25F:595A9D:772635:6B00922D |
| html-safe-nonce | 3fcc9beaa14f209ca6ea0558d1f6c24632ea1f5cbc5b689f4085a2425346771f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzNBOjE5RjI1Rjo1OTVBOUQ6NzcyNjM1OjZCMDA5MjJEIiwidmlzaXRvcl9pZCI6IjYxNTk1NDg4MDI5OTE2OTAyODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 57f20373c80f87216f779a7a3d1332fc2f09c4eb45db455b3e280641a6ec57f1 |
| hovercard-subject-tag | pull_request:2771255107 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/4719/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4898156c4daf1c9f19cb3ea8708cd9f309a0dc2c1a6920038ecf32364a9ed2dc/getsentry/sentry-python/pull/4719 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4898156c4daf1c9f19cb3ea8708cd9f309a0dc2c1a6920038ecf32364a9ed2dc/getsentry/sentry-python/pull/4719 |
| og:image:alt | Ref #4718
Does not solve the underlying issue and might leave things in an inconsistent state, but it's still preferable to letting an error bubble up to the user. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentrivana |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-cache |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-python/pull/4719#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4719 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4719 |
| Sign up | https://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 |
| Reload | https://github.com/getsentry/sentry-python/pull/4719 |
| Reload | https://github.com/getsentry/sentry-python/pull/4719 |
| Reload | https://github.com/getsentry/sentry-python/pull/4719 |
| getsentry | https://github.com/getsentry |
| sentry-python | https://github.com/getsentry/sentry-python |
| Code | https://github.com/getsentry/sentry-python |
| Issues345 (345) | https://github.com/getsentry/sentry-python/issues |
| Pull requests41 (41) | https://github.com/getsentry/sentry-python/pulls |
| Discussions | https://github.com/getsentry/sentry-python/discussions |
| Actions | https://github.com/getsentry/sentry-python/actions |
| Security and quality2 (2) | https://github.com/getsentry/sentry-python/security |
| Insights | https://github.com/getsentry/sentry-python/insights |
| https://github.com/getsentry/sentry-python |
| sentrivana | https://github.com/sentrivana |
| master | https://github.com/getsentry/sentry-python/tree/master |
| ivana/context_manager_state-missing-in-span-exit | https://github.com/getsentry/sentry-python/tree/ivana/context_manager_state-missing-in-span-exit |
| Conversation | https://github.com/getsentry/sentry-python/pull/4719 |
| Commits4 (4) | https://github.com/getsentry/sentry-python/pull/4719/commits |
| Checks | https://github.com/getsentry/sentry-python/pull/4719/checks |
| Files changed | https://github.com/getsentry/sentry-python/pull/4719/files |
| Wrap span restoration in __exit__ in capture_internal_exceptions | https://github.com/getsentry/sentry-python/pull/4719#top |
| sentrivana | https://github.com/sentrivana |
| master | https://github.com/getsentry/sentry-python/tree/master |
| ivana/context_manager_state-missing-in-span-exit | https://github.com/getsentry/sentry-python/tree/ivana/context_manager_state-missing-in-span-exit |
|
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| Aug 25, 2025 | https://github.com/getsentry/sentry-python/pull/4719#issue-3351201646 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4719 |
| #4718 | https://github.com/getsentry/sentry-python/issues/4718 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4719 |
|
| https://github.com/sentrivana |
| Wrap span restoration in __exit__ in capture_internal_exceptions | https://github.com/getsentry/sentry-python/pull/4719/commits/1f7d1a119a185a65bdd1bc4dc69506af71b59e47 |
| 1f7d1a1 | https://github.com/getsentry/sentry-python/pull/4719/commits/1f7d1a119a185a65bdd1bc4dc69506af71b59e47 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Aug 25, 2025 | https://github.com/getsentry/sentry-python/pull/4719#issuecomment-3219617468 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4719 |
| Codecov | https://app.codecov.io/gh/getsentry/sentry-python/pull/4719?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry |
| f702ec9 | https://app.codecov.io/gh/getsentry/sentry-python/commit/f702ec94badc17bd09d7d3ccf7414fde01a173c8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry |
| 44d568e | https://app.codecov.io/gh/getsentry/sentry-python/commit/44d568edc09489e8bdae505376fa2fdec5fbda4c?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry |
| Files with missing lines | https://app.codecov.io/gh/getsentry/sentry-python/pull/4719?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry |
| sentry_sdk/tracing.py | https://app.codecov.io/gh/getsentry/sentry-python/pull/4719?src=pr&el=tree&filepath=sentry_sdk%2Ftracing.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry#diff-c2VudHJ5X3Nkay90cmFjaW5nLnB5 |
| 5 files with indirect coverage changes | https://app.codecov.io/gh/getsentry/sentry-python/pull/4719/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4719 |
|
| https://github.com/sentrivana |
| Merge branch 'master' into ivana/context_manager_state-missing-in-spa… | https://github.com/getsentry/sentry-python/pull/4719/commits/41e8884617a2f73ad7e2fe1129f9045924c4a45c |
| 41e8884 | https://github.com/getsentry/sentry-python/pull/4719/commits/41e8884617a2f73ad7e2fe1129f9045924c4a45c |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| Aug 26, 2025 | https://github.com/getsentry/sentry-python/pull/4719#issuecomment-3223195631 |
| #4720 | https://github.com/getsentry/sentry-python/pull/4720 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4719 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| Aug 26, 2025 | https://github.com/getsentry/sentry-python/pull/4719#event-19338918151 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| Sep 3, 2025 | https://github.com/getsentry/sentry-python/pull/4719#event-19475010758 |
| sentrivana | https://github.com/sentrivana |
| September 3, 2025 09:10 | https://github.com/getsentry/sentry-python/pull/4719#commits-pushed-43ea119 |
|
| https://github.com/sentrivana |
| Merge branch 'master' into ivana/context_manager_state-missing-in-spa… | https://github.com/getsentry/sentry-python/pull/4719/commits/43ea1197d0287beaa4dd007a51a4bc6770b44f1f |
| 43ea119 | https://github.com/getsentry/sentry-python/pull/4719/commits/43ea1197d0287beaa4dd007a51a4bc6770b44f1f |
|
| https://github.com/sentrivana |
| Merge branch 'master' into ivana/context_manager_state-missing-in-spa… | https://github.com/getsentry/sentry-python/pull/4719/commits/44d568edc09489e8bdae505376fa2fdec5fbda4c |
| 44d568e | https://github.com/getsentry/sentry-python/pull/4719/commits/44d568edc09489e8bdae505376fa2fdec5fbda4c |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| September 3, 2025 12:49 | https://github.com/getsentry/sentry-python/pull/4719#event-19481657716 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| code owner | https://github.com/getsentry/sentry-python/blob/f702ec94badc17bd09d7d3ccf7414fde01a173c8/.github/CODEOWNERS#L1 |
| September 3, 2025 12:49 | https://github.com/getsentry/sentry-python/pull/4719#event-19481657839 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Sep 3, 2025
| https://github.com/getsentry/sentry-python/pull/4719#pullrequestreview-3180522396 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/4719/files/44d568edc09489e8bdae505376fa2fdec5fbda4c |
| sentry_sdk/tracing.py | https://github.com/getsentry/sentry-python/pull/4719/files/44d568edc09489e8bdae505376fa2fdec5fbda4c#diff-771cb012ea65fcb826b77e2abb36b504fdf3407fbe8054857b05fe5a41ed5164 |
| cursor | https://github.com/apps/cursor |
| Sep 3, 2025 | https://github.com/getsentry/sentry-python/pull/4719#discussion_r2318882104 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MSJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmViYjMwZjNhLWY5ZDEtNDQ4YS1hZTdiLTQ0ZjQwNWEwYjdhYSIsImVuY3J5cHRpb25LZXkiOiJIQ2FPUUxfcjd2b0MtcTJaWUJTVzRvZHNxUjhLSGlpVWtJajF6MWsxSDdzIiwiYnJhbmNoIjoiaXZhbmEvY29udGV4dF9tYW5hZ2VyX3N0YXRlLW1pc3NpbmctaW4tc3Bhbi1leGl0In0sImlhdCI6MTc1NjkwMzk0NSwiZXhwIjoxNzU3NTA4NzQ1fQ.GfiDK8cbAiEMRc-1quWANM07pBcOPauJJ3sClMM58U53T9dUXrWJgEjnlD3DWQ7GUHzJVaStiscgLD7ox8K1t8z9-B7FeS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uKJolm_FcULxagVuBeX9D23tg1Ej6NUH6_jOocPwrWxmTdB9FtRU0O0zOkQSEl1nRV0bUJTOWaNt4ID7yZMxe16TKYZQdUgooH9LolDpRNrGz52hdMLtaxlcr9w8owj1Mz7ZGnxQ |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4719 |
| https://github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://github.com/alexander-alderman-webb |
|
Sep 3, 2025
| https://github.com/getsentry/sentry-python/pull/4719#pullrequestreview-3180684715 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/4719/files/44d568edc09489e8bdae505376fa2fdec5fbda4c |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| 5f2adcf | https://github.com/getsentry/sentry-python/commit/5f2adcffecff85b1f736f93701cf154d58f85653 |
| Sep 3, 2025 | https://github.com/getsentry/sentry-python/pull/4719#event-19483416500 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
| September 3, 2025 14:11 | https://github.com/getsentry/sentry-python/pull/4719#event-19483417531 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
|
Sep 4, 2025
| https://github.com/getsentry/sentry-python/pull/4719#ref-issue-3351108712 |
|
'Span' object has no attribute '_context_manager_state'
#4718
| https://github.com/getsentry/sentry-python/issues/4718 |
| https://github.com/Afstkla |
| Afstkla | https://github.com/Afstkla |
|
Nov 10, 2025
| https://github.com/getsentry/sentry-python/pull/4719#ref-issue-3587498900 |
|
BUG: in OpenAIAgentsIntegration + AsyncioIntegration: '_context_manager_state' not found
#5067
| https://github.com/getsentry/sentry-python/issues/5067 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4719 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/getsentry/sentry-python/pull/4719/files/44d568edc09489e8bdae505376fa2fdec5fbda4c |
|
| https://github.com/alexander-alderman-webb |
|
alexander-alderman-webb
| https://github.com/alexander-alderman-webb |
|
| https://github.com/getsentry/sentry-python/pull/4719/files/44d568edc09489e8bdae505376fa2fdec5fbda4c |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4719 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4719 |
|
| https://github.com/sentrivana |
|
| https://github.com/alexander-alderman-webb |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |