René's URL Explorer Experiment


Title: fix(tests): proper dummy transport clean up for hub cloning by solnic · Pull Request #2957 · getsentry/sentry-ruby · GitHub

Open Graph Title: fix(tests): proper dummy transport clean up for hub cloning by solnic · Pull Request #2957 · getsentry/sentry-ruby

X Title: fix(tests): proper dummy transport clean up for hub cloning by solnic · Pull Request #2957 · getsentry/sentry-ruby

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

Open Graph Description: Fixes #295

X Description: Fixes #295

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:bbf0f0aa-ffde-c310-aee2-94dd781341be
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCA42:263B78:322F65:44D0E8:6B044D93
html-safe-noncedbcad806fc98dcb78ae174a92833577f315ad78f491790850a759f7a903a7d0a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTQyOjI2M0I3ODozMjJGNjU6NDREMEU4OjZCMDQ0RDkzIiwidmlzaXRvcl9pZCI6IjYyODk0ODU2MzQwMDg3OTY1NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac808e1ee7e9e8be9bcdf75aae9adb9b7c1b4cdb28639f5a276aaccd3b7eff6414
hovercard-subject-tagpull_request:3708500418
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/2957/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dbb6f93f98b18a71af62ac6ea3989bfdab9f1792789ccb1a5dca8e341e8c5912/getsentry/sentry-ruby/pull/2957
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dbb6f93f98b18a71af62ac6ea3989bfdab9f1792789ccb1a5dca8e341e8c5912/getsentry/sentry-ruby/pull/2957
og:image:altFixes #295
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesolnic
hostnamegithub.com
expected-hostnamegithub.com
None002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730
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
release059f24c781e3a0d7df3f27a97da0e93fab06ae39
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-ruby/pull/2957#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F2957
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%2F2957
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/2957
Reloadhttps://github.com/getsentry/sentry-ruby/pull/2957
Reloadhttps://github.com/getsentry/sentry-ruby/pull/2957
getsentryhttps://github.com/getsentry
sentry-rubyhttps://github.com/getsentry/sentry-ruby
Codehttps://github.com/getsentry/sentry-ruby
Issues72 (72)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
solnichttps://github.com/solnic
masterhttps://github.com/getsentry/sentry-ruby/tree/master
2951-testhelper-setup_sentry_test-ineffective-in-request-specs-due-to-clone_hub_to_current_thread-overwriting-thread-local-hubhttps://github.com/getsentry/sentry-ruby/tree/2951-testhelper-setup_sentry_test-ineffective-in-request-specs-due-to-clone_hub_to_current_thread-overwriting-thread-local-hub
Conversationhttps://github.com/getsentry/sentry-ruby/pull/2957
Commits5 (5)https://github.com/getsentry/sentry-ruby/pull/2957/commits
Checkshttps://github.com/getsentry/sentry-ruby/pull/2957/checks
Files changedhttps://github.com/getsentry/sentry-ruby/pull/2957/files
fix(tests): proper dummy transport clean up for hub cloninghttps://github.com/getsentry/sentry-ruby/pull/2957#top
solnichttps://github.com/solnic
masterhttps://github.com/getsentry/sentry-ruby/tree/master
2951-testhelper-setup_sentry_test-ineffective-in-request-specs-due-to-clone_hub_to_current_thread-overwriting-thread-local-hubhttps://github.com/getsentry/sentry-ruby/tree/2951-testhelper-setup_sentry_test-ineffective-in-request-specs-due-to-clone_hub_to_current_thread-overwriting-thread-local-hub
https://github.com/solnic
solnichttps://github.com/solnic
May 19, 2026https://github.com/getsentry/sentry-ruby/pull/2957#issue-4476942973
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2957
#295https://github.com/getsentry/sentry-ruby/issues/295
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2957
https://github.com/solnic
solnichttps://github.com/solnic
May 19, 2026https://github.com/getsentry/sentry-ruby/pull/2957#event-25703032545
TestHelper: setup_sentry_test ineffective in request specs due to clone_hub_to_current_thread overwriting thread-local hub #2951 https://github.com/getsentry/sentry-ruby/issues/2951
https://github.com/solnic
https://github.com/claude
test(test_helper): add failing regression specs for clone_hub event l…https://github.com/getsentry/sentry-ruby/pull/2957/commits/1e9e34267ca16d2c14acfc8bcb556a0471241fef
1e9e342https://github.com/getsentry/sentry-ruby/pull/2957/commits/1e9e34267ca16d2c14acfc8bcb556a0471241fef
#2951https://github.com/getsentry/sentry-ruby/issues/2951
https://github.com/dingsdax
dingsdaxhttps://github.com/dingsdax
May 19, 2026 https://github.com/getsentry/sentry-ruby/pull/2957#pullrequestreview-4318521666
View reviewed changes https://github.com/getsentry/sentry-ruby/pull/2957/files
solnichttps://github.com/solnic
May 19, 2026 11:45https://github.com/getsentry/sentry-ruby/pull/2957#commits-pushed-839e017
https://github.com/solnic
https://github.com/claude
feat(test_helper): add DummyTransport#clear to empty captured eventshttps://github.com/getsentry/sentry-ruby/pull/2957/commits/839e01715513454f4ba268163531ad49f00f9c59
839e017https://github.com/getsentry/sentry-ruby/pull/2957/commits/839e01715513454f4ba268163531ad49f00f9c59
#2951https://github.com/getsentry/sentry-ruby/issues/2951
https://github.com/solnic
https://github.com/claude
fix(test_helper): anchor setup/teardown to the main hub (https://github.com/getsentry/sentry-ruby/pull/2957/commits/67be7e1ec820d03c4c91e98846c5ee38f0bc35eb
#2951https://github.com/getsentry/sentry-ruby/issues/2951
)https://github.com/getsentry/sentry-ruby/pull/2957/commits/67be7e1ec820d03c4c91e98846c5ee38f0bc35eb
67be7e1https://github.com/getsentry/sentry-ruby/pull/2957/commits/67be7e1ec820d03c4c91e98846c5ee38f0bc35eb
https://github.com/solnic
https://github.com/claude
test(test_helper): add Rack two-request leak regression spec (https://github.com/getsentry/sentry-ruby/pull/2957/commits/197417242cebdacbed4ef38f42502fb3d3d763c1
#2951https://github.com/getsentry/sentry-ruby/issues/2951
)https://github.com/getsentry/sentry-ruby/pull/2957/commits/197417242cebdacbed4ef38f42502fb3d3d763c1
1974172https://github.com/getsentry/sentry-ruby/pull/2957/commits/197417242cebdacbed4ef38f42502fb3d3d763c1
#2951https://github.com/getsentry/sentry-ruby/issues/2951
https://github.com/solnic
https://github.com/claude
refactor(test_helper): use public Hub#clients instead ofhttps://github.com/getsentry/sentry-ruby/pull/2957/commits/12db6274293f5ca16c3eb76cd8ed399d541e08b9
@stackhttps://github.com/stack
ivar (https://github.com/getsentry/sentry-ruby/pull/2957/commits/12db6274293f5ca16c3eb76cd8ed399d541e08b9
#…https://github.com/getsentry/sentry-ruby/issues/2951
12db627https://github.com/getsentry/sentry-ruby/pull/2957/commits/12db6274293f5ca16c3eb76cd8ed399d541e08b9
…2951https://github.com/getsentry/sentry-ruby/issues/2951
#2951https://github.com/getsentry/sentry-ruby/issues/2951
@stackhttps://github.com/stack
#2951https://github.com/getsentry/sentry-ruby/issues/2951
https://github.com/solnic
solnichttps://github.com/solnic
force-pushedhttps://github.com/getsentry/sentry-ruby/compare/041229bafb8db55c3b88df76db023a922ccb8c0f..12db6274293f5ca16c3eb76cd8ed399d541e08b9
041229bhttps://github.com/getsentry/sentry-ruby/commit/041229bafb8db55c3b88df76db023a922ccb8c0f
12db627https://github.com/getsentry/sentry-ruby/commit/12db6274293f5ca16c3eb76cd8ed399d541e08b9
Compare https://github.com/getsentry/sentry-ruby/compare/041229bafb8db55c3b88df76db023a922ccb8c0f..12db6274293f5ca16c3eb76cd8ed399d541e08b9
May 19, 2026 11:49https://github.com/getsentry/sentry-ruby/pull/2957#event-25703800763
https://github.com/solnic
solnichttps://github.com/solnic
May 19, 2026 11:50https://github.com/getsentry/sentry-ruby/pull/2957#event-25703806233
https://github.com/solnic
solnichttps://github.com/solnic
427612bhttps://github.com/getsentry/sentry-ruby/commit/427612b56072f37c597154657b7c1dcc2bba300d
May 19, 2026https://github.com/getsentry/sentry-ruby/pull/2957#event-25704194550
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2957
https://github.com/solnic
solnichttps://github.com/solnic
May 19, 2026 12:00https://github.com/getsentry/sentry-ruby/pull/2957#event-25704196229
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Jun 1, 2026 https://github.com/getsentry/sentry-ruby/pull/2957#ref-issue-4564475615
publish: getsentry/sentry-ruby@6.6.0 getsentry/publish#8352 https://github.com/getsentry/publish/issues/8352
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%2F2957
https://github.com/dingsdax
dingsdax https://github.com/dingsdax
https://github.com/getsentry/sentry-ruby/pull/2957/files/041229bafb8db55c3b88df76db023a922ccb8c0f
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2957
TestHelper: setup_sentry_test ineffective in request specs due to clone_hub_to_current_thread overwriting thread-local hub https://github.com/getsentry/sentry-ruby/issues/2951
editing the list of fields to sanitize https://github.com/getsentry/sentry-ruby/issues/295
Please reload this pagehttps://github.com/getsentry/sentry-ruby/pull/2957
https://github.com/solnic
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.