René's URL Explorer Experiment


Title: fix(v10/core): Sample errors after `beforeSend` while preserving session updates by s1gr1d · Pull Request #22819 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(v10/core): Sample errors after `beforeSend` while preserving session updates by s1gr1d · Pull Request #22819 · getsentry/sentry-javascript

X Title: fix(v10/core): Sample errors after `beforeSend` while preserving session updates by s1gr1d · Pull Request #22819 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: backport of #22671 Closes #22615

X Description: backport of #22671 Closes #22615

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/22819

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:ac8a33ea-024a-ff73-7815-6d890ffcab07
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB306:28DAC6:2B31052:37E838D:6B041240
html-safe-nonce7f264b0cbd517228940b319304e78c74081b7af2ff82f864f2c6eb2e50a0259e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzA2OjI4REFDNjoyQjMxMDUyOjM3RTgzOEQ6NkIwNDEyNDAiLCJ2aXNpdG9yX2lkIjoiMzQwNTk1NDcwMTU1MDk0ODkyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8779cfbe0f7163185588a8a3822f3519991f890d512e002385461e6240a1ce4f
hovercard-subject-tagpull_request:4160363088
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-javascript/22819/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/97cb0013ed3fcc1e59ce4778f78df520d7aaeb18734bbb01eeeda6f64b058663/getsentry/sentry-javascript/pull/22819
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/97cb0013ed3fcc1e59ce4778f78df520d7aaeb18734bbb01eeeda6f64b058663/getsentry/sentry-javascript/pull/22819
og:image:altbackport of #22671 Closes #22615
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernames1gr1d
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/22819#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F22819
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-javascript%2Fpull%2F22819
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-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/22819
Reloadhttps://github.com/getsentry/sentry-javascript/pull/22819
Reloadhttps://github.com/getsentry/sentry-javascript/pull/22819
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues342 (342)https://github.com/getsentry/sentry-javascript/issues
Pull requests56 (56)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
s1gr1dhttps://github.com/s1gr1d
v10https://github.com/getsentry/sentry-javascript/tree/v10
sig/error-sampling-after-beforeSendhttps://github.com/getsentry/sentry-javascript/tree/sig/error-sampling-after-beforeSend
Conversationhttps://github.com/getsentry/sentry-javascript/pull/22819
Commits3 (3)https://github.com/getsentry/sentry-javascript/pull/22819/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/22819/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/22819/files
fix(v10/core): Sample errors after beforeSend while preserving session updateshttps://github.com/getsentry/sentry-javascript/pull/22819#top
s1gr1dhttps://github.com/s1gr1d
v10https://github.com/getsentry/sentry-javascript/tree/v10
sig/error-sampling-after-beforeSendhttps://github.com/getsentry/sentry-javascript/tree/sig/error-sampling-after-beforeSend
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 29, 2026https://github.com/getsentry/sentry-javascript/pull/22819#issue-5009172943
#22671https://github.com/getsentry/sentry-javascript/pull/22671
#22615https://github.com/getsentry/sentry-javascript/issues/22615
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22819
https://github.com/s1gr1d
fix(core): Sample errors after beforeSend while preserving session …https://github.com/getsentry/sentry-javascript/pull/22819/commits/54e839726a6203d5606ce13db2047769e8eeb1d5
54e8397https://github.com/getsentry/sentry-javascript/pull/22819/commits/54e839726a6203d5606ce13db2047769e8eeb1d5
#22671https://github.com/getsentry/sentry-javascript/pull/22671
https://develop.sentry.dev/sdk/telemetry/sessions/#session-update-filteringhttps://develop.sentry.dev/sdk/telemetry/sessions/#session-update-filtering
#22615https://github.com/getsentry/sentry-javascript/issues/22615
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
code ownerhttps://github.com/getsentry/sentry-javascript/blob/12071f3235eeeec3ff29bd5f65ca35e6f6077550/.github/CODEOWNERS#L8
July 29, 2026 12:22https://github.com/getsentry/sentry-javascript/pull/22819#event-28659136683
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Lms24https://github.com/Lms24
logaretmhttps://github.com/logaretm
msonnbhttps://github.com/msonnb
July 29, 2026 12:22https://github.com/getsentry/sentry-javascript/pull/22819#event-28659137073
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Jul 29, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#pullrequestreview-4808080378
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22819/files/54e839726a6203d5606ce13db2047769e8eeb1d5
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 29, 2026https://github.com/getsentry/sentry-javascript/pull/22819#issuecomment-5117793620
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22819
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22819
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 29, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#pullrequestreview-4808243798
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22819/files/54e839726a6203d5606ce13db2047769e8eeb1d5
dev-packages/browser-integration-tests/suites/sessions/sampled-session-update/test.tshttps://github.com/getsentry/sentry-javascript/pull/22819/files/54e839726a6203d5606ce13db2047769e8eeb1d5#diff-c4de252d1832af2a7402144a457a471e4bf934b7c0c643f365b0d72f55bc4c97
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22819
https://github.com/s1gr1d
Apply suggestion fromhttps://github.com/getsentry/sentry-javascript/pull/22819/commits/559e5412ef28516cd88e856f7b88d0b989d81121
@s1gr1dhttps://github.com/s1gr1d
559e541https://github.com/getsentry/sentry-javascript/pull/22819/commits/559e5412ef28516cd88e856f7b88d0b989d81121
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
July 29, 2026 12:45https://github.com/getsentry/sentry-javascript/pull/22819#event-28660390102
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 29, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#pullrequestreview-4808657277
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22819/files/559e5412ef28516cd88e856f7b88d0b989d81121
dev-packages/browser-integration-tests/suites/sessions/sampled-session-update/test.tshttps://github.com/getsentry/sentry-javascript/pull/22819/files/559e5412ef28516cd88e856f7b88d0b989d81121#diff-c4de252d1832af2a7402144a457a471e4bf934b7c0c643f365b0d72f55bc4c97
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22819
https://github.com/s1gr1d
https://github.com/Lms24
Update dev-packages/browser-integration-tests/suites/sessions/sampled…https://github.com/getsentry/sentry-javascript/pull/22819/commits/aad6d2d371d52231d47bf2f4a9745f23d2921719
aad6d2dhttps://github.com/getsentry/sentry-javascript/pull/22819/commits/aad6d2d371d52231d47bf2f4a9745f23d2921719
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
045d07ehttps://github.com/getsentry/sentry-javascript/commit/045d07e4ec1794e086185c4d4fb1891c387ece5c
Jul 29, 2026https://github.com/getsentry/sentry-javascript/pull/22819#event-28664032907
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22819
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
July 29, 2026 13:47https://github.com/getsentry/sentry-javascript/pull/22819#event-28664034265
https://github.com/Lms24
Lms24https://github.com/Lms24
Aug 4, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#ref-pullrequest-5063616973
fix(v10/sveltekit): Export metrics from worker entry point #23027 https://github.com/getsentry/sentry-javascript/pull/23027
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Aug 10, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#ref-issue-5109083231
publish: getsentry/sentry-javascript@10.70.0 getsentry/publish#9188 https://github.com/getsentry/publish/issues/9188
chore(deps): bump @sentry/cloudflare from 10.63.0 to 10.70.0 brandhaug/b2b-saas-starter#25 https://github.com/brandhaug/b2b-saas-starter/pull/25
chore(deps): bump @sentry/react from 10.63.0 to 10.70.0 brandhaug/b2b-saas-starter#26 https://github.com/brandhaug/b2b-saas-starter/pull/26
https://github.com/antonis
antonishttps://github.com/antonis
Aug 21, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#ref-issue-5212956638
On-error mobile replay orphaned when its error is dropped by sampleRate getsentry/sentry-react-native#6598 https://github.com/getsentry/sentry-react-native/issues/6598
https://github.com/antonis
antonishttps://github.com/antonis
Sep 10, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#ref-issue-5410817582
Buffered replay can leave an orphaned replay_id link on a replaysOnErrorSampleRate miss getsentry/sentry-react-native#6696 https://github.com/getsentry/sentry-react-native/issues/6696
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 8, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#ref-pullrequest-5761867481
meta(changelog): Update changelog for 10.76.2 #25181 https://github.com/getsentry/sentry-javascript/pull/25181
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 28, 2026 https://github.com/getsentry/sentry-javascript/pull/22819#ref-pullrequest-6081646157
meta(changelog): Update changelog for 10.78.0 #25831 https://github.com/getsentry/sentry-javascript/pull/25831
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/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-javascript%2Fpull%2F22819
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/22819/files/559e5412ef28516cd88e856f7b88d0b989d81121
https://github.com/nicohrubec
nicohrubec https://github.com/nicohrubec
https://github.com/getsentry/sentry-javascript/pull/22819/files/54e839726a6203d5606ce13db2047769e8eeb1d5
https://github.com/logaretm
logaretm https://github.com/logaretm
https://github.com/msonnb
msonnb https://github.com/msonnb
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22819
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22819
https://github.com/s1gr1d
https://github.com/Lms24
https://github.com/nicohrubec
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.