| 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:41d109dd-e029-bdb6-7a70-09f28160bc0f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D17C:62283:5AE4F8:7AB8AC:6B00D10B |
| html-safe-nonce | 6ec7ecacb89616647a500628a8ddca7fc22a03f6e21955a792132c74a1e29560 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTdDOjYyMjgzOjVBRTRGODo3QUI4QUM6NkIwMEQxMEIiLCJ2aXNpdG9yX2lkIjoiNTEzMDIzMDg3MzcwNjI1NDYwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | af51d5eda486fd8c0a73d46d7f7c8c04f926c1b3214ecfee912e91105aac2c6b |
| hovercard-subject-tag | pull_request:3373937053 |
| 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/5622/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c562c130465953892b5e0bdfc302ac975b4ed2531f4a635f601d34498c160b61/getsentry/sentry-python/pull/5622 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c562c130465953892b5e0bdfc302ac975b4ed2531f4a635f601d34498c160b61/getsentry/sentry-python/pull/5622 |
| og:image:alt | Fixes #5621 and PY-2127
Fix a race condition in ContinuousScheduler where the profiler thread's cleanup could destroy a buffer created by a concurrent ensure_running() call.
The Problem
During ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericapisani |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5 |
| 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 | 4943239a6d2c591325dad6e5c313e1cafda877f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://redirect.github.com/getsentry/sentry-python/pull/5622#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5622 |
| 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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5622 |
| Sign up | https://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 |
| Reload | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| Reload | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| Reload | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| getsentry | https://redirect.github.com/getsentry |
| sentry-python | https://redirect.github.com/getsentry/sentry-python |
| Code | https://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 |
| Discussions | https://redirect.github.com/getsentry/sentry-python/discussions |
| Actions | https://redirect.github.com/getsentry/sentry-python/actions |
| Security and quality2 (2) | https://redirect.github.com/getsentry/sentry-python/security |
| Insights | https://redirect.github.com/getsentry/sentry-python/insights |
| https://redirect.github.com/getsentry/sentry-python |
| ericapisani | https://redirect.github.com/ericapisani |
| master | https://redirect.github.com/getsentry/sentry-python/tree/master |
| ep/investigate-flaky-gevent-tests | https://redirect.github.com/getsentry/sentry-python/tree/ep/investigate-flaky-gevent-tests |
| Conversation | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| Commits7 (7) | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits |
| Checks | https://redirect.github.com/getsentry/sentry-python/pull/5622/checks |
| Files changed | https://redirect.github.com/getsentry/sentry-python/pull/5622/files |
| fix(profiler): Prevent buffer race condition during rapid start/stop cycles | https://redirect.github.com/getsentry/sentry-python/pull/5622#top |
| ericapisani | https://redirect.github.com/ericapisani |
| master | https://redirect.github.com/getsentry/sentry-python/tree/master |
| ep/investigate-flaky-gevent-tests | https://redirect.github.com/getsentry/sentry-python/tree/ep/investigate-flaky-gevent-tests |
|
| https://redirect.github.com/ericapisani |
| ericapisani | https://redirect.github.com/ericapisani |
| Mar 9, 2026 | https://redirect.github.com/getsentry/sentry-python/pull/5622#issue-4046156746 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| #5621 | https://github.com/getsentry/sentry-python/issues/5621 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| ericapisani | https://redirect.github.com/ericapisani |
| February 23, 2026 15:34 | https://redirect.github.com/getsentry/sentry-python/pull/5622#commits-pushed-5f3f54e |
|
| https://redirect.github.com/ericapisani |
|
| https://redirect.github.com/claude |
| fix(profiler): Prevent buffer race condition during rapid start/stop … | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/5f3f54e9d549b15a8d617ba82bfad9d24a00c5d6 |
| 5f3f54e | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/5f3f54e9d549b15a8d617ba82bfad9d24a00c5d6 |
|
| https://redirect.github.com/ericapisani |
| Merge branch 'master' into ep/investigate-flaky-gevent-tests | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/5c8f200cc28c6ad89709212c7ff9aa96f47eb502 |
| 5c8f200 | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/5c8f200cc28c6ad89709212c7ff9aa96f47eb502 |
|
| https://redirect.github.com/ericapisani |
|
| https://redirect.github.com/claude |
| ref(profiler): Remove dead code in run() cleanup | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/b38ad699bacbc15dc55734beb7ca94d63cfef795 |
| b38ad69 | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/b38ad699bacbc15dc55734beb7ca94d63cfef795 |
| https://redirect.github.com/apps/github-actions |
| github-actions | https://redirect.github.com/apps/github-actions |
| Mar 9, 2026 | https://redirect.github.com/getsentry/sentry-python/pull/5622#issuecomment-4024452768 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| https://redirect.github.com/apps/github-actions |
| github-actions | https://redirect.github.com/apps/github-actions |
| Mar 9, 2026 | https://redirect.github.com/getsentry/sentry-python/pull/5622#issuecomment-4024461099 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| Codecov Action | https://github.com/getsentry/codecov-action |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| https://redirect.github.com/ericapisani |
| ericapisani | https://redirect.github.com/ericapisani |
| March 10, 2026 19:19 | https://redirect.github.com/getsentry/sentry-python/pull/5622#event-23444159714 |
| https://redirect.github.com/ericapisani |
| ericapisani | https://redirect.github.com/ericapisani |
| code owner | https://redirect.github.com/getsentry/sentry-python/blob/adcd90ca92aa173ae39aac094adf71f1a4f51b22/.github/CODEOWNERS#L1 |
| March 10, 2026 19:19 | https://redirect.github.com/getsentry/sentry-python/pull/5622#event-23444159951 |
| ericapisani | https://redirect.github.com/ericapisani |
| March 10, 2026 15:19 | https://redirect.github.com/getsentry/sentry-python/pull/5622#commits-pushed-1f8f4e9 |
|
| https://redirect.github.com/ericapisani |
| Merge branch 'master' into ep/investigate-flaky-gevent-tests | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/1f8f4e98f85137c30c3dbc8b5c30bec9b48279e9 |
| 1f8f4e9 | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/1f8f4e98f85137c30c3dbc8b5c30bec9b48279e9 |
|
| https://redirect.github.com/ericapisani |
| Merge branch 'master' into ep/investigate-flaky-gevent-tests | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/467b8e498186fdbf9c9f0099ce5cfb86a890007e |
| 467b8e4 | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/467b8e498186fdbf9c9f0099ce5cfb86a890007e |
| https://redirect.github.com/Zylphrex |
| Zylphrex | https://redirect.github.com/Zylphrex |
|
Mar 13, 2026
| https://redirect.github.com/getsentry/sentry-python/pull/5622#pullrequestreview-3944316199 |
|
View reviewed changes
| https://redirect.github.com/getsentry/sentry-python/pull/5622/files/467b8e498186fdbf9c9f0099ce5cfb86a890007e |
| Zylphrex | https://redirect.github.com/Zylphrex |
| https://redirect.github.com/getsentry/sentry-python/pull/5622#pullrequestreview-3944316199 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| ericapisani | https://redirect.github.com/ericapisani |
| March 13, 2026 14:19 | https://redirect.github.com/getsentry/sentry-python/pull/5622#commits-pushed-5d82933 |
|
| https://redirect.github.com/ericapisani |
| remove unused import in test | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/5d82933e84f71518caf94e225d89d16f2f0f6944 |
| 5d82933 | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/5d82933e84f71518caf94e225d89d16f2f0f6944 |
|
| https://redirect.github.com/ericapisani |
| Merge branch 'ep/investigate-flaky-gevent-tests' of github.com:getse… | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/83f5c6e57f96ada2b7e2d2aee2fcc578ca9408e1 |
| 83f5c6e | https://redirect.github.com/getsentry/sentry-python/pull/5622/commits/83f5c6e57f96ada2b7e2d2aee2fcc578ca9408e1 |
| https://redirect.github.com/apps/sentry |
| sentry | https://redirect.github.com/apps/sentry |
|
Mar 13, 2026
| https://redirect.github.com/getsentry/sentry-python/pull/5622#pullrequestreview-3944384830 |
|
View reviewed changes
| https://redirect.github.com/getsentry/sentry-python/pull/5622/files/83f5c6e57f96ada2b7e2d2aee2fcc578ca9408e1 |
| sentry_sdk/profiler/continuous_profiler.py | https://redirect.github.com/getsentry/sentry-python/pull/5622/files/83f5c6e57f96ada2b7e2d2aee2fcc578ca9408e1#diff-42f17389bb4787ed95f1b793129be10b5c6c89132ab5fbf0df6b3e4126e9d2cd |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| https://redirect.github.com/ericapisani |
| ericapisani | https://redirect.github.com/ericapisani |
| 2ce933d | https://redirect.github.com/getsentry/sentry-python/commit/2ce933d37dbed43185b4287352866f6980d8a39a |
| Mar 16, 2026 | https://github.com/getsentry/sentry-python/pull/5622#event-23598725316 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
| https://redirect.github.com/ericapisani |
| ericapisani | https://redirect.github.com/ericapisani |
| March 16, 2026 08:28 | https://redirect.github.com/getsentry/sentry-python/pull/5622#event-23598726281 |
| https://redirect.github.com/ericapisani |
| ericapisani | https://redirect.github.com/ericapisani |
|
Mar 16, 2026
| https://redirect.github.com/getsentry/sentry-python/pull/5622#ref-issue-4081076916 |
|
Investigate potential race conditions in the teardown methods of the profilers
#5673
| https://redirect.github.com/getsentry/sentry-python/issues/5673 |
| https://redirect.github.com/apps/sentry-release-bot |
| sentry-release-bot | https://redirect.github.com/apps/sentry-release-bot |
|
Mar 17, 2026
| https://redirect.github.com/getsentry/sentry-python/pull/5622#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/ericapisani |
| ericapisani | https://redirect.github.com/ericapisani |
|
Apr 14, 2026
| https://redirect.github.com/getsentry/sentry-python/pull/5622#ref-pullrequest-4262981618 |
|
fix(profiler): Stop nulling buffer on teardown
#6075
| https://redirect.github.com/getsentry/sentry-python/pull/6075 |
| ericapisani | https://redirect.github.com/ericapisani |
|
Apr 15, 2026
| https://redirect.github.com/getsentry/sentry-python/pull/5622#ref-commit-fe7e848 |
|
| https://redirect.github.com/ericapisani |
| fix(profiler): Stop nulling buffer on teardown ( | https://redirect.github.com/getsentry/sentry-python/commit/fe7e848e6bb0271797b562662cd1561baf173a6a |
| #6075 | https://github.com/getsentry/sentry-python/pull/6075 |
| ) | https://redirect.github.com/getsentry/sentry-python/commit/fe7e848e6bb0271797b562662cd1561baf173a6a |
| fe7e848 | https://redirect.github.com/getsentry/sentry-python/commit/fe7e848e6bb0271797b562662cd1561baf173a6a |
| #5622 (comment) | https://github.com/getsentry/sentry-python/pull/5622#discussion_r2931508792 |
| #5673 | https://github.com/getsentry/sentry-python/issues/5673 |
| mgaligniana | https://redirect.github.com/mgaligniana |
|
Aug 9, 2026
| https://redirect.github.com/getsentry/sentry-python/pull/5622#ref-commit-35a07ec |
|
| https://redirect.github.com/ericapisani |
|
| https://redirect.github.com/mgaligniana |
| fix(profiler): Stop nulling buffer on teardown ( | https://redirect.github.com/mgaligniana/sentry-python/commit/35a07ec095f9671b931574d84fe7995596ff5109 |
| getsentry#6075 | https://github.com/getsentry/sentry-python/pull/6075 |
| ) | https://redirect.github.com/mgaligniana/sentry-python/commit/35a07ec095f9671b931574d84fe7995596ff5109 |
| 35a07ec | https://redirect.github.com/mgaligniana/sentry-python/commit/35a07ec095f9671b931574d84fe7995596ff5109 |
| getsentry#5622 (comment) | https://github.com/getsentry/sentry-python/pull/5622#discussion_r2931508792 |
| getsentry#5673 | https://github.com/getsentry/sentry-python/issues/5673 |
| https://github.co/hiddenchars |
| https://redirect.github.com/getsentry/sentry-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://redirect.github.com/join?source=comment-repo |
| Sign in to comment | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5622 |
|
| https://redirect.github.com/apps/sentry |
|
sentry[bot]
| https://redirect.github.com/apps/sentry |
|
| https://redirect.github.com/getsentry/sentry-python/pull/5622/files/83f5c6e57f96ada2b7e2d2aee2fcc578ca9408e1 |
|
| https://redirect.github.com/Zylphrex |
|
Zylphrex
| https://redirect.github.com/Zylphrex |
|
| https://redirect.github.com/getsentry/sentry-python/pull/5622/files/467b8e498186fdbf9c9f0099ce5cfb86a890007e |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
|
Investigate flaky gevent test
| https://github.com/getsentry/sentry-python/issues/5621 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5622 |
|
| https://redirect.github.com/ericapisani |
|
| https://redirect.github.com/Zylphrex |
|
| 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 |