René's URL Explorer Experiment


Title: fix(tracing): Serialize spans outside the SpanBatcher lock (#8023) by ansh-rohilla · Pull Request #8170 · getsentry/sentry-python · GitHub

Open Graph Title: fix(tracing): Serialize spans outside the SpanBatcher lock (#8023) by ansh-rohilla · Pull Request #8170 · getsentry/sentry-python

X Title: fix(tracing): Serialize spans outside the SpanBatcher lock (#8023) by ansh-rohilla · Pull Request #8170 · 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: Problem In SpanBatcher._flush(), self._lock was held while calling _dynamic_sampling_context() and serializing spans via _to_transport_format(). This blocked concurrent additions to the buffer for ...

X Description: Problem In SpanBatcher._flush(), self._lock was held while calling _dynamic_sampling_context() and serializing spans via _to_transport_format(). This blocked concurrent additions to the buffer for ...

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

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:be579e6a-f3f1-3a68-8d45-29776da4e54e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC012:96DDF:C7A5B8:FE024F:6B00FC30
html-safe-nonce213cfef43952a4b5798d7b1b48de5876d29e3f02f4dc54d7e45037530240642c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDEyOjk2RERGOkM3QTVCODpGRTAyNEY6NkIwMEZDMzAiLCJ2aXNpdG9yX2lkIjoiNTc1MzY0MDY0Nzk2MTY3Mjc1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1d99e01986922dac53c887bf7ca0826f922a93401819e84ae26ff26956f55c68
hovercard-subject-tagpull_request:5083785878
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/8170/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d464a2b7227f336e9c186dbb099ab62f32c0c9db1ca100a2fe8f57e3fa08c113/getsentry/sentry-python/pull/8170
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d464a2b7227f336e9c186dbb099ab62f32c0c9db1ca100a2fe8f57e3fa08c113/getsentry/sentry-python/pull/8170
og:image:altProblem In SpanBatcher._flush(), self._lock was held while calling _dynamic_sampling_context() and serializing spans via _to_transport_format(). This blocked concurrent additions to the buffer for ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameansh-rohilla
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/8170#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F8170
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%2F8170
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/8170
Reloadhttps://github.com/getsentry/sentry-python/pull/8170
Reloadhttps://github.com/getsentry/sentry-python/pull/8170
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
ansh-rohillahttps://github.com/ansh-rohilla
getsentry:masterhttps://github.com/getsentry/sentry-python/tree/master
ansh-rohilla:fix/span-batcher-lock-outside-serialization-8023https://github.com/ansh-rohilla/sentry-python/tree/fix/span-batcher-lock-outside-serialization-8023
Conversationhttps://github.com/getsentry/sentry-python/pull/8170
Commits1 (1)https://github.com/getsentry/sentry-python/pull/8170/commits
Checkshttps://github.com/getsentry/sentry-python/pull/8170/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/8170/files
fix(tracing): Serialize spans outside the SpanBatcher lock (#8023)https://github.com/getsentry/sentry-python/pull/8170#top
ansh-rohillahttps://github.com/ansh-rohilla
getsentry:masterhttps://github.com/getsentry/sentry-python/tree/master
ansh-rohilla:fix/span-batcher-lock-outside-serialization-8023https://github.com/ansh-rohilla/sentry-python/tree/fix/span-batcher-lock-outside-serialization-8023
https://github.com/ansh-rohilla
ansh-rohillahttps://github.com/ansh-rohilla
Oct 30, 2026https://github.com/getsentry/sentry-python/pull/8170#issue-6118402062
#7776https://github.com/getsentry/sentry-python/pull/7776
#8023https://github.com/getsentry/sentry-python/issues/8023
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8170
https://github.com/ansh-rohilla
fix(tracing): serialize spans outside the SpanBatcher lock (https://github.com/getsentry/sentry-python/pull/8170/commits/78a84a6977ce46a8e160a9bd94ef4160e3fedf3c
getsentry…https://github.com/getsentry/sentry-python/issues/8023
78a84a6https://github.com/getsentry/sentry-python/pull/8170/commits/78a84a6977ce46a8e160a9bd94ef4160e3fedf3c
…#8023https://github.com/getsentry/sentry-python/issues/8023
getsentry#7776https://github.com/getsentry/sentry-python/pull/7776
getsentry#8023https://github.com/getsentry/sentry-python/issues/8023
https://github.com/ansh-rohilla
ansh-rohillahttps://github.com/ansh-rohilla
code ownerhttps://github.com/getsentry/sentry-python/blob/7ad4e1a4270b3c79a41b42b0596b7092bcf976d9/.github/CODEOWNERS#L1
October 30, 2026 11:43https://github.com/getsentry/sentry-python/pull/8170#event-34685962386
https://github.com/ansh-rohilla
ansh-rohillahttps://github.com/ansh-rohilla
Oct 30, 2026https://github.com/getsentry/sentry-python/pull/8170#event-34686015671
https://github.com/ansh-rohilla
ansh-rohillahttps://github.com/ansh-rohilla
October 30, 2026 11:44https://github.com/getsentry/sentry-python/pull/8170#event-34686023367
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%2F8170
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8170
SpanBatcher serializes spans while holding its buffer lock https://github.com/getsentry/sentry-python/issues/8023
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8170
https://github.com/ansh-rohilla
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.