René's URL Explorer Experiment


Title: fix(sessions): Lock pending aggregates in SessionFlusher#add_session by sentry-junior[bot] · Pull Request #3172 · getsentry/sentry-ruby · GitHub

Open Graph Title: fix(sessions): Lock pending aggregates in SessionFlusher#add_session by sentry-junior[bot] · Pull Request #3172 · getsentry/sentry-ruby

X Title: fix(sessions): Lock pending aggregates in SessionFlusher#add_session by sentry-junior[bot] · Pull Request #3172 · getsentry/sentry-ruby

Description: Sentry SDK for Ruby. Contribute to getsentry/sentry-ruby development by creating an account on GitHub.

Open Graph Description: Fixes #3038 SessionFlusher#add_session read and wrote @pending_aggregates in two lookups without holding @mutex. Only the flush swap in #pending_envelope took the lock, so the lock didn't stop ...

X Description: Fixes #3038 SessionFlusher#add_session read and wrote @pending_aggregates in two lookups without holding @mutex. Only the flush swap in #pending_envelope took the lock, so the lock didn't s...

Opengraph URL: https://github.com/getsentry/sentry-ruby/pull/3172

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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:bb132b2e-f945-8512-fdfe-09443a1712b7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA280:12691F:25A05B:3257BD:6B043267
html-safe-nonce812dde37c92ddbcce41a2b76ac21770c715b3200128289c547624afe56832331
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjgwOjEyNjkxRjoyNUEwNUI6MzI1N0JEOjZCMDQzMjY3IiwidmlzaXRvcl9pZCI6IjE0MDk0ODY4MjgxNDIzNDI3NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaceaf8428dd98c6040000bc4ebc5a88cc8ac83e30c174169e5bd0743d1448551a8
hovercard-subject-tagpull_request:5134795029
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-ruby/3172/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6e7e8eb6c18a7b9e194f7ff9fc19530df9e0cf96dfcd37044cfc78b3a5d88e05/getsentry/sentry-ruby/pull/3172
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6e7e8eb6c18a7b9e194f7ff9fc19530df9e0cf96dfcd37044cfc78b3a5d88e05/getsentry/sentry-ruby/pull/3172
og:image:altFixes #3038 SessionFlusher#add_session read and wrote @pending_aggregates in two lookups without holding @mutex. Only the flush swap in #pending_envelope took the lock, so the lock didn't stop ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesentry-junior[bot]
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-ruby git https://github.com/getsentry/sentry-ruby.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3947396
octolytics-dimension-repository_nwogetsentry/sentry-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3947396
octolytics-dimension-repository_network_root_nwogetsentry/sentry-ruby
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-ruby/pull/3172#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F3172
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-ruby%2Fpull%2F3172
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-ruby
Reloadhttps://github.com/getsentry/sentry-ruby/pull/3172
Reloadhttps://github.com/getsentry/sentry-ruby/pull/3172
Reloadhttps://github.com/getsentry/sentry-ruby/pull/3172
getsentryhttps://github.com/getsentry
sentry-rubyhttps://github.com/getsentry/sentry-ruby
Codehttps://github.com/getsentry/sentry-ruby
Issues73 (73)https://github.com/getsentry/sentry-ruby/issues
Pull requests32 (32)https://github.com/getsentry/sentry-ruby/pulls
Actionshttps://github.com/getsentry/sentry-ruby/actions
Security and qualityhttps://github.com/getsentry/sentry-ruby/security
Insightshttps://github.com/getsentry/sentry-ruby/insights
https://github.com/getsentry/sentry-ruby
sl0thentr0pyhttps://github.com/sl0thentr0py
masterhttps://github.com/getsentry/sentry-ruby/tree/master
fix/session-flusher-add-session-racehttps://github.com/getsentry/sentry-ruby/tree/fix/session-flusher-add-session-race
Conversationhttps://github.com/getsentry/sentry-ruby/pull/3172
Commits1 (1)https://github.com/getsentry/sentry-ruby/pull/3172/commits
Checkshttps://github.com/getsentry/sentry-ruby/pull/3172/checks
Files changedhttps://github.com/getsentry/sentry-ruby/pull/3172/files
fix(sessions): Lock pending aggregates in SessionFlusher#add_sessionhttps://github.com/getsentry/sentry-ruby/pull/3172#top
sl0thentr0pyhttps://github.com/sl0thentr0py
masterhttps://github.com/getsentry/sentry-ruby/tree/master
fix/session-flusher-add-session-racehttps://github.com/getsentry/sentry-ruby/tree/fix/session-flusher-add-session-race
https://github.com/apps/sentry-junior
sentry-juniorhttps://github.com/apps/sentry-junior
Nov 3, 2026https://github.com/getsentry/sentry-ruby/pull/3172#issue-6179733958
#3038https://github.com/getsentry/sentry-ruby/issues/3038
getsentry/repro#65https://github.com/getsentry/repro/pull/65
@dingsdaxhttps://github.com/dingsdax
View Sessionhttps://junior-prod.sentry.dev/conversations/slack%3AC09R5R5AZFC%3A1793696654.024719
[Sentry]https://sentry.sentry.io/explore/conversations/slack%3AC09R5R5AZFC%3A1793696654.024719/?project=4510944073809921
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/3172
https://github.com/apps/sentry-junior
https://github.com/dingsdax
fix(sessions): Lock pending aggregates in SessionFlusher#add_sessionhttps://github.com/getsentry/sentry-ruby/pull/3172/commits/603737967d259ac7453449a70b90367696abc451
6037379https://github.com/getsentry/sentry-ruby/pull/3172/commits/603737967d259ac7453449a70b90367696abc451
#3038https://github.com/getsentry/sentry-ruby/issues/3038
https://github.com/apps/sentry-junior
sentry-juniorhttps://github.com/apps/sentry-junior
dingsdaxhttps://github.com/dingsdax
Nov 3, 2026https://github.com/getsentry/sentry-ruby/pull/3172#event-35001872646
https://github.com/apps/sentry-junior
sentry-juniorhttps://github.com/apps/sentry-junior
sl0thentr0pyhttps://github.com/sl0thentr0py
solnichttps://github.com/solnic
November 3, 2026 09:23https://github.com/getsentry/sentry-ruby/pull/3172#event-35001887305
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
Nov 3, 2026 https://github.com/getsentry/sentry-ruby/pull/3172#pullrequestreview-5751574497
View reviewed changes https://github.com/getsentry/sentry-ruby/pull/3172/files/603737967d259ac7453449a70b90367696abc451
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
0c76f63https://github.com/getsentry/sentry-ruby/commit/0c76f63207914d4beb52f4196f1c13493eaf389a
Nov 3, 2026https://github.com/getsentry/sentry-ruby/pull/3172#event-35013527722
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/3172
https://github.com/sl0thentr0py
sl0thentr0pyhttps://github.com/sl0thentr0py
November 3, 2026 11:42https://github.com/getsentry/sentry-ruby/pull/3172#event-35013532388
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Nov 18, 2026 https://github.com/getsentry/sentry-ruby/pull/3172#ref-issue-6464177740
publish: getsentry/sentry-ruby@7.3.0 getsentry/publish#10484 https://github.com/getsentry/publish/issues/10484
https://github.co/hiddenchars
https://github.com/getsentry/sentry-ruby/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-ruby%2Fpull%2F3172
https://github.com/sl0thentr0py
sl0thentr0py https://github.com/sl0thentr0py
https://github.com/getsentry/sentry-ruby/pull/3172/files/603737967d259ac7453449a70b90367696abc451
https://github.com/solnic
solnic https://github.com/solnic
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/3172
https://github.com/dingsdax
dingsdax https://github.com/dingsdax
SessionFlusher#add_session races with the flush swap https://github.com/getsentry/sentry-ruby/issues/3038
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/3172
https://github.com/sl0thentr0py
https://github.com/dingsdax
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.