René's URL Explorer Experiment


Title: Fix threading by carrying forward span reference in `use_scope` by sl0thentr0py · Pull Request #3851 · getsentry/sentry-python · GitHub

Open Graph Title: Fix threading by carrying forward span reference in `use_scope` by sl0thentr0py · Pull Request #3851 · getsentry/sentry-python

X Title: Fix threading by carrying forward span reference in `use_scope` by sl0thentr0py · Pull Request #3851 · 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: Since the otel context span reference is the source of truth for the current active span, we need to explicitly pass the span reference on the scope through when we use use_scope since we are chang...

X Description: Since the otel context span reference is the source of truth for the current active span, we need to explicitly pass the span reference on the scope through when we use use_scope since we are chang...

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

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:27580ce7-585e-2365-2077-f55a266839a2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91E8:2E2180:CAA610:116584B:6B00B14F
html-safe-nonced8a6ef4ac246e678782f4aee42a5221b6f3cfe3ececa9d28273435e4bbe78e4c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUU4OjJFMjE4MDpDQUE2MTA6MTE2NTg0Qjo2QjAwQjE0RiIsInZpc2l0b3JfaWQiOiI4NTMxNjk0OTM5MzE3NjYwOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc5193d1d41b5e1ab09bd1c28be8d68bd732c041ed600fb86063a0fb68e7ab26a
hovercard-subject-tagpull_request:2216198353
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/3851/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e12c8e7e3f6acb302ff94b842c10e30aff4e41a142b2c48f27409988262c817f/getsentry/sentry-python/pull/3851
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e12c8e7e3f6acb302ff94b842c10e30aff4e41a142b2c48f27409988262c817f/getsentry/sentry-python/pull/3851
og:image:altSince the otel context span reference is the source of truth for the current active span, we need to explicitly pass the span reference on the scope through when we use use_scope since we are chang...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesl0thentr0py
hostnamegithub.com
expected-hostnamegithub.com
Nonec0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e
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
release729d8cda69b3d267995675dfbf89ff27ccf61bf6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/3851#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F3851
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%2F3851
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/3851
Reloadhttps://github.com/getsentry/sentry-python/pull/3851
Reloadhttps://github.com/getsentry/sentry-python/pull/3851
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
sl0thentr0pyhttps://github.com/sl0thentr0py
neel/potel/move-scope-inithttps://github.com/getsentry/sentry-python/tree/neel/potel/move-scope-init
neel/potel/fix-threadinghttps://github.com/getsentry/sentry-python/tree/neel/potel/fix-threading
Conversationhttps://github.com/getsentry/sentry-python/pull/3851
Commits1 (1)https://github.com/getsentry/sentry-python/pull/3851/commits
Checkshttps://github.com/getsentry/sentry-python/pull/3851/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/3851/files
Fix threading by carrying forward span reference in use_scopehttps://github.com/getsentry/sentry-python/pull/3851#top
sl0thentr0pyhttps://github.com/sl0thentr0py
neel/potel/move-scope-inithttps://github.com/getsentry/sentry-python/tree/neel/potel/move-scope-init
neel/potel/fix-threadinghttps://github.com/getsentry/sentry-python/tree/neel/potel/fix-threading
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
Dec 4, 2024https://github.com/getsentry/sentry-python/pull/3851#issue-2718773800
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/3851
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/3851
https://github.com/sl0thentr0py
Fix ThreadingIntegration by carrying forward span reference inhttps://github.com/getsentry/sentry-python/pull/3851/commits/f23f8b7b37225ffbe1ff998255c1585876e0b887
f23f8b7https://github.com/getsentry/sentry-python/pull/3851/commits/f23f8b7b37225ffbe1ff998255c1585876e0b887
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
Dec 4, 2024https://github.com/getsentry/sentry-python/pull/3851#event-15532431440
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
sentrivanahttps://github.com/sentrivana
December 4, 2024 20:58https://github.com/getsentry/sentry-python/pull/3851#event-15532432535
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Dec 4, 2024https://github.com/getsentry/sentry-python/pull/3851#issuecomment-2518550302
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/3851
Test Analytics Dashboardhttps://app.codecov.io/gh/getsentry/sentry-python/tests/neel%2Fpotel%2Ffix-threading
Let us know!https://github.com/codecov/feedback/issues/304
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/3851
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
Dec 4, 2024 https://github.com/getsentry/sentry-python/pull/3851#pullrequestreview-2479894272
View reviewed changes https://github.com/getsentry/sentry-python/pull/3851/files/f23f8b7b37225ffbe1ff998255c1585876e0b887
sentry_sdk/integrations/threading.pyhttps://github.com/getsentry/sentry-python/pull/3851/files/f23f8b7b37225ffbe1ff998255c1585876e0b887#diff-0b1ea412615fb9f2383679598c1dce3757fd2d2421524ddc6678b2d8e2a9add9
sl0thentr0pyhttps://github.com/sl0thentr0py
Dec 4, 2024https://github.com/getsentry/sentry-python/pull/3851#discussion_r1870273991
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/3851
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Dec 5, 2024 https://github.com/getsentry/sentry-python/pull/3851#pullrequestreview-2481308001
View reviewed changes https://github.com/getsentry/sentry-python/pull/3851/files/f23f8b7b37225ffbe1ff998255c1585876e0b887
sentrivanahttps://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/3851#pullrequestreview-2481308001
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/3851
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
92f5f0ahttps://github.com/getsentry/sentry-python/commit/92f5f0a7c2aee2b4ecb89eba9723a9375bbc358e
Dec 5, 2024https://github.com/getsentry/sentry-python/pull/3851#event-15544058934
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
December 5, 2024 13:20https://github.com/getsentry/sentry-python/pull/3851#event-15544059717
sl0thentr0pyhttps://github.com/sl0thentr0py
Dec 5, 2024 https://github.com/getsentry/sentry-python/pull/3851#ref-commit-65fbd50
https://github.com/sl0thentr0py
Move scope context init outside integration (https://github.com/getsentry/sentry-python/commit/65fbd508f45371d0b5d6a6d888819c69b3777075
#3850https://github.com/getsentry/sentry-python/pull/3850
)https://github.com/getsentry/sentry-python/commit/65fbd508f45371d0b5d6a6d888819c69b3777075
65fbd50https://github.com/getsentry/sentry-python/commit/65fbd508f45371d0b5d6a6d888819c69b3777075
#3851https://github.com/getsentry/sentry-python/pull/3851
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
Dec 5, 2024 https://github.com/getsentry/sentry-python/pull/3851#ref-pullrequest-2344614538
POtel implementation base branch (aka SDK 3.0.0) #3152 https://github.com/getsentry/sentry-python/pull/3152
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%2F3851
https://github.com/sentrivana
sentrivana https://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/3851/files/f23f8b7b37225ffbe1ff998255c1585876e0b887
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/3851
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/3851
https://github.com/sl0thentr0py
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.