René's URL Explorer Experiment


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

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

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

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

Open Graph Description: When sampleRate causes an error event to be dropped, the _processEvent method returned early before reaching _updateSessionFromEvent, so the session is never marked crashed/errored. This increased ...

X Description: When sampleRate causes an error event to be dropped, the _processEvent method returned early before reaching _updateSessionFromEvent, so the session is never marked crashed/errored. This increased ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:e23c735a-8141-644f-e495-f3843dedcd9c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id939E:1827E:43F85CA:5AC0B0B:6B040FEC
html-safe-noncea650ea2b5f30fb68484b89894eab0552c63b35c543d2e64f6e9db4f3b9bf156a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzlFOjE4MjdFOjQzRjg1Q0E6NUFDMEIwQjo2QjA0MEZFQyIsInZpc2l0b3JfaWQiOiI4MzU3NTI2MjY0MDcyMTE0MTU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf7fda2c4c68dc81c86e75f6c85032df529544959418806548e4179cf8e10cf48
hovercard-subject-tagpull_request:4141524947
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/22671/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0b8eb2cb5747aa3e6d994498b158aa254f60f9cd0635c808006b7cf3324a341a/getsentry/sentry-javascript/pull/22671
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0b8eb2cb5747aa3e6d994498b158aa254f60f9cd0635c808006b7cf3324a341a/getsentry/sentry-javascript/pull/22671
og:image:altWhen sampleRate causes an error event to be dropped, the _processEvent method returned early before reaching _updateSessionFromEvent, so the session is never marked crashed/errored. This increased ...
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/22671#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F22671
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%2F22671
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/22671
Reloadhttps://github.com/getsentry/sentry-javascript/pull/22671
Reloadhttps://github.com/getsentry/sentry-javascript/pull/22671
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
develophttps://github.com/getsentry/sentry-javascript/tree/develop
sig/fix-session-error-ratehttps://github.com/getsentry/sentry-javascript/tree/sig/fix-session-error-rate
Conversationhttps://github.com/getsentry/sentry-javascript/pull/22671
Commits8 (8)https://github.com/getsentry/sentry-javascript/pull/22671/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/22671/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/22671/files
fix(core): Sample errors after beforeSend while preserving session updateshttps://github.com/getsentry/sentry-javascript/pull/22671#top
s1gr1dhttps://github.com/s1gr1d
develophttps://github.com/getsentry/sentry-javascript/tree/develop
sig/fix-session-error-ratehttps://github.com/getsentry/sentry-javascript/tree/sig/fix-session-error-rate
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 27, 2026https://github.com/getsentry/sentry-javascript/pull/22671#issue-4986945867
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
session update filtering spechttps://develop.sentry.dev/sdk/telemetry/sessions/#session-update-filtering
#22615https://github.com/getsentry/sentry-javascript/issues/22615
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
s1gr1dhttps://github.com/s1gr1d
July 27, 2026 12:03https://github.com/getsentry/sentry-javascript/pull/22671#commits-pushed-342bd89
https://github.com/s1gr1d
fix(core): Update session status before event is dropped or `beforeSe…https://github.com/getsentry/sentry-javascript/pull/22671/commits/342bd89e98eced67fda2af5efba98b802beaec88
342bd89https://github.com/getsentry/sentry-javascript/pull/22671/commits/342bd89e98eced67fda2af5efba98b802beaec88
https://github.com/s1gr1d
fix(core): Update session status before event is dropped or `beforeSe…https://github.com/getsentry/sentry-javascript/pull/22671/commits/b002e45e1a22ac386134c4f5760151e6021935a7
b002e45https://github.com/getsentry/sentry-javascript/pull/22671/commits/b002e45e1a22ac386134c4f5760151e6021935a7
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
code ownerhttps://github.com/getsentry/sentry-javascript/blob/5a0f486bcc866e9c51247225650de9d69ef0ae34/.github/CODEOWNERS#L2
July 27, 2026 10:29https://github.com/getsentry/sentry-javascript/pull/22671#event-28531714778
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Lms24https://github.com/Lms24
logaretmhttps://github.com/logaretm
msonnbhttps://github.com/msonnb
logaretmhttps://github.com/logaretm
msonnbhttps://github.com/msonnb
July 27, 2026 10:29https://github.com/getsentry/sentry-javascript/pull/22671#event-28531715177
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/e0abd9878f1d7837a97a868e88422f945b08b1ed..b002e45e1a22ac386134c4f5760151e6021935a7
e0abd98https://github.com/getsentry/sentry-javascript/commit/e0abd9878f1d7837a97a868e88422f945b08b1ed
b002e45https://github.com/getsentry/sentry-javascript/commit/b002e45e1a22ac386134c4f5760151e6021935a7
Compare https://github.com/getsentry/sentry-javascript/compare/e0abd9878f1d7837a97a868e88422f945b08b1ed..b002e45e1a22ac386134c4f5760151e6021935a7
July 27, 2026 10:40https://github.com/getsentry/sentry-javascript/pull/22671#event-28532163500
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 27, 2026https://github.com/getsentry/sentry-javascript/pull/22671#issuecomment-5090380396
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/30447587686
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 27, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4786131591
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22671/files/b002e45e1a22ac386134c4f5760151e6021935a7
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4786131591
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
dev-packages/browser-integration-tests/suites/sessions/sampled-session-update/test.tshttps://github.com/getsentry/sentry-javascript/pull/22671/files/b002e45e1a22ac386134c4f5760151e6021935a7#diff-c4de252d1832af2a7402144a457a471e4bf934b7c0c643f365b0d72f55bc4c97
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
packages/browser/src/helpers.tshttps://github.com/getsentry/sentry-javascript/pull/22671/files/b002e45e1a22ac386134c4f5760151e6021935a7#diff-e691b0ff89470d7e981add2838fc6ee0c00be7463581ce805e44207cc0632a2e
Lms24https://github.com/Lms24
Jul 27, 2026https://github.com/getsentry/sentry-javascript/pull/22671#discussion_r3656422775
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
s1gr1dhttps://github.com/s1gr1d
Jul 27, 2026https://github.com/getsentry/sentry-javascript/pull/22671#discussion_r3656784299
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
Lms24https://github.com/Lms24
Jul 28, 2026https://github.com/getsentry/sentry-javascript/pull/22671#discussion_r3664530299
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
packages/core/src/client.tshttps://github.com/getsentry/sentry-javascript/pull/22671/files/b002e45e1a22ac386134c4f5760151e6021935a7#diff-858339789c798051d9c13620bffce8ce860e7ad8ba18dba1c8711eb1f7d51a55
Lms24https://github.com/Lms24
Jul 27, 2026https://github.com/getsentry/sentry-javascript/pull/22671#discussion_r3656435892
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Sessions spechttps://develop.sentry.dev/sdk/telemetry/sessions/#session-update-filtering
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/s1gr1d
events dropped via beforeSend do not update a sessionhttps://github.com/getsentry/sentry-javascript/pull/22671/commits/db044d094e98328317674d9c4123c792e56afc44
db044d0https://github.com/getsentry/sentry-javascript/pull/22671/commits/db044d094e98328317674d9c4123c792e56afc44
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Jul 27, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4786740413
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22671/files/db044d094e98328317674d9c4123c792e56afc44
packages/core/src/client.tshttps://github.com/getsentry/sentry-javascript/pull/22671/files/db044d094e98328317674d9c4123c792e56afc44#diff-858339789c798051d9c13620bffce8ce860e7ad8ba18dba1c8711eb1f7d51a55
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 27, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4786757924
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22671/files/db044d094e98328317674d9c4123c792e56afc44
packages/core/test/lib/client.test.tshttps://github.com/getsentry/sentry-javascript/pull/22671/files/db044d094e98328317674d9c4123c792e56afc44#diff-e79bc4038039a6f4140bac84dc7576e6e16f7622aeeb2dbbeb37bac176ccbee6
s1gr1dhttps://github.com/s1gr1d
Jul 27, 2026https://github.com/getsentry/sentry-javascript/pull/22671#discussion_r3656948434
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/s1gr1d
remove unused variablehttps://github.com/getsentry/sentry-javascript/pull/22671/commits/a7cb866f7a02f81961804485954fcf4ceb8f3a85
a7cb866https://github.com/getsentry/sentry-javascript/pull/22671/commits/a7cb866f7a02f81961804485954fcf4ceb8f3a85
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 27, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#ref-issue-4967944702
sampleRate for error events silently prevents crash-free session marking #22615 https://github.com/getsentry/sentry-javascript/issues/22615
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 27, 2026https://github.com/getsentry/sentry-javascript/pull/22671#event-28536724567
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Lms24https://github.com/Lms24
July 27, 2026 12:24https://github.com/getsentry/sentry-javascript/pull/22671#event-28536791835
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 28, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4796021212
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22671/files/a7cb866f7a02f81961804485954fcf4ceb8f3a85
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4796021212
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 28, 2026https://github.com/getsentry/sentry-javascript/pull/22671#event-28598611170
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Jul 28, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4797385705
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22671/files
packages/core/src/client.tshttps://github.com/getsentry/sentry-javascript/pull/22671/files#diff-858339789c798051d9c13620bffce8ce860e7ad8ba18dba1c8711eb1f7d51a55
sentryhttps://github.com/apps/sentry
Jul 28, 2026https://github.com/getsentry/sentry-javascript/pull/22671#discussion_r3665619437
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
s1gr1dhttps://github.com/s1gr1d
Jul 29, 2026https://github.com/getsentry/sentry-javascript/pull/22671#discussion_r3673871634
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
b653230https://github.com/getsentry/sentry-javascript/commit/b653230db7506abd0e621ce82cfabc60dba52501
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/s1gr1d
fix(core): Sample error events after beforeSendhttps://github.com/getsentry/sentry-javascript/pull/22671/commits/f711e80277e759d98b7af40cbb6b9fde4c799292
f711e80https://github.com/getsentry/sentry-javascript/pull/22671/commits/f711e80277e759d98b7af40cbb6b9fde4c799292
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/fc24c429fe2c4b5d142a6570830238a4f4a0f88c..f711e80277e759d98b7af40cbb6b9fde4c799292
fc24c42https://github.com/getsentry/sentry-javascript/commit/fc24c429fe2c4b5d142a6570830238a4f4a0f88c
f711e80https://github.com/getsentry/sentry-javascript/commit/f711e80277e759d98b7af40cbb6b9fde4c799292
Compare https://github.com/getsentry/sentry-javascript/compare/fc24c429fe2c4b5d142a6570830238a4f4a0f88c..f711e80277e759d98b7af40cbb6b9fde4c799292
July 28, 2026 12:53https://github.com/getsentry/sentry-javascript/pull/22671#event-28598822059
s1gr1dhttps://github.com/s1gr1d
July 29, 2026 13:26https://github.com/getsentry/sentry-javascript/pull/22671#commits-pushed-ae2228e
https://github.com/s1gr1d
fix integration testhttps://github.com/getsentry/sentry-javascript/pull/22671/commits/ae2228e648c6b0a21a69d64d931796726871644d
ae2228ehttps://github.com/getsentry/sentry-javascript/pull/22671/commits/ae2228e648c6b0a21a69d64d931796726871644d
https://github.com/s1gr1d
Merge branch 'develop' into sig/fix-session-error-ratehttps://github.com/getsentry/sentry-javascript/pull/22671/commits/6cc6285162308c059eb79894ca5746fbd6deb97a
6cc6285https://github.com/getsentry/sentry-javascript/pull/22671/commits/6cc6285162308c059eb79894ca5746fbd6deb97a
https://github.com/Lms24
Lms24https://github.com/Lms24
Jul 29, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4807577115
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22671/files/6cc6285162308c059eb79894ca5746fbd6deb97a
https://github.com/s1gr1d
add testhttps://github.com/getsentry/sentry-javascript/pull/22671/commits/b653230db7506abd0e621ce82cfabc60dba52501
b653230https://github.com/getsentry/sentry-javascript/pull/22671/commits/b653230db7506abd0e621ce82cfabc60dba52501
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
July 29, 2026 11:46https://github.com/getsentry/sentry-javascript/pull/22671#event-28657203312
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Jul 29, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#pullrequestreview-4807718569
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/22671/files/b653230db7506abd0e621ce82cfabc60dba52501
packages/core/src/client.tshttps://github.com/getsentry/sentry-javascript/pull/22671/files/b653230db7506abd0e621ce82cfabc60dba52501#diff-858339789c798051d9c13620bffce8ce860e7ad8ba18dba1c8711eb1f7d51a55
sentryhttps://github.com/apps/sentry
Jul 29, 2026https://github.com/getsentry/sentry-javascript/pull/22671#discussion_r3673886150
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
f6e91d8https://github.com/getsentry/sentry-javascript/commit/f6e91d812132b82a6e736ab41585e581f11276af
Jul 29, 2026https://github.com/getsentry/sentry-javascript/pull/22671#event-28658061003
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
July 29, 2026 12:02https://github.com/getsentry/sentry-javascript/pull/22671#event-28658062845
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Jul 29, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#ref-pullrequest-5009172943
fix(v10/core): Sample errors after beforeSend while preserving session updates #22819 https://github.com/getsentry/sentry-javascript/pull/22819
s1gr1dhttps://github.com/s1gr1d
Jul 29, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#ref-commit-045d07e
https://github.com/s1gr1d
fix(v10/core): Sample errors after beforeSend while preserving sess…https://github.com/getsentry/sentry-javascript/commit/045d07e4ec1794e086185c4d4fb1891c387ece5c
045d07ehttps://github.com/getsentry/sentry-javascript/commit/045d07e4ec1794e086185c4d4fb1891c387ece5c
#22819https://github.com/getsentry/sentry-javascript/pull/22819
#22671https://github.com/getsentry/sentry-javascript/pull/22671
#22615https://github.com/getsentry/sentry-javascript/issues/22615
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Sep 16, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#ref-issue-5474005562
publish: getsentry/sentry-javascript@11.0.0-rc.0 getsentry/publish#9545 https://github.com/getsentry/publish/issues/9545
https://github.com/4ktLuffy
4ktLuffyhttps://github.com/4ktLuffy
Oct 21, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#ref-issue-5958341594
Request sessions count errors dropped by ignoreErrors or beforeSend #25605 https://github.com/getsentry/sentry-javascript/issues/25605
https://github.com/s1gr1d
s1gr1dhttps://github.com/s1gr1d
Oct 21, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#ref-pullrequest-5964112370
fix(core): Do not count dropped errors in request sessions #25632 https://github.com/getsentry/sentry-javascript/pull/25632
https://github.com/logaretm
logaretmhttps://github.com/logaretm
Oct 27, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#ref-pullrequest-6051888587
fix(core): Drop sampled-out errors before they take a promise buffer slot #25751 https://github.com/getsentry/sentry-javascript/pull/25751
logaretmhttps://github.com/logaretm
Oct 27, 2026 https://github.com/getsentry/sentry-javascript/pull/22671#ref-commit-fea30a2
https://github.com/logaretm
fix(core): Drop sampled-out errors before they take a promise buffer …https://github.com/getsentry/sentry-javascript/commit/fea30a2f579da64e87953e3ff1e01fb301c9089e
fea30a2https://github.com/getsentry/sentry-javascript/commit/fea30a2f579da64e87953e3ff1e01fb301c9089e
#25751https://github.com/getsentry/sentry-javascript/pull/25751
#22671https://github.com/getsentry/sentry-javascript/pull/22671
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%2F22671
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-javascript/pull/22671/files/b653230db7506abd0e621ce82cfabc60dba52501
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/22671/files/6cc6285162308c059eb79894ca5746fbd6deb97a
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
sampleRate for error events silently prevents crash-free session marking https://github.com/getsentry/sentry-javascript/issues/22615
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/22671
https://github.com/s1gr1d
https://github.com/Lms24
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.