Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Oct 10, 2025

This PR refactors almost all occurances of our SDK setting a span status of unknown_error to setting internal_error instead. #17814 explains why we do this.

I left a few selected occurances of unknown_error where I think it's fine to not change them. Worth noting, Relay already converts unknown_error to internal_error, so this is rather a "cleanup" and only has impact on self-hosted Sentry versions for now.

closes #17814

@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.63 kB +0.01% +2 B 🔺
@sentry/browser - with treeshaking flags 23.12 kB +0.02% +3 B 🔺
@sentry/browser (incl. Tracing) 40.97 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Profiling) 45.26 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay) 79.29 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.97 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 83.99 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 96.16 kB -0.01% -1 B 🔽
@sentry/browser (incl. Feedback) 41.3 kB +0.01% +3 B 🔺
@sentry/browser (incl. sendFeedback) 29.3 kB +0.02% +3 B 🔺
@sentry/browser (incl. FeedbackAsync) 34.23 kB +0.01% +3 B 🔺
@sentry/react 26.31 kB +0.02% +3 B 🔺
@sentry/react (incl. Tracing) 42.97 kB -0.01% -1 B 🔽
@sentry/vue 29.12 kB +0.01% +2 B 🔺
@sentry/vue (incl. Tracing) 42.75 kB - -
@sentry/svelte 24.64 kB +0.02% +3 B 🔺
CDN Bundle 26.9 kB -0.01% -1 B 🔽
CDN Bundle (incl. Tracing) 41.62 kB -0.01% -2 B 🔽
CDN Bundle (incl. Tracing, Replay) 77.87 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 83.34 kB -0.01% -1 B 🔽
CDN Bundle - uncompressed 78.86 kB +0.01% +1 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 123.45 kB +0.01% +2 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 238.48 kB +0.01% +2 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 251.25 kB +0.01% +2 B 🔺
@sentry/nextjs (client) 45.11 kB -0.01% -1 B 🔽
@sentry/sveltekit (client) 41.4 kB -0.01% -1 B 🔽
@sentry/node-core 50.81 kB +0.01% +1 B 🔺
@sentry/node 157.88 kB +0.01% +11 B 🔺
@sentry/node - without tracing 92.69 kB +0.01% +3 B 🔺
@sentry/aws-serverless 106.42 kB +0.01% +7 B 🔺

View base workflow run

@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2025

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,447 - 11,574 -27%
GET With Sentry 1,315 16% 1,651 -20%
GET With Sentry (error only) 5,961 71% 7,686 -22%
POST Baseline 1,176 - 1,212 -3%
POST With Sentry 498 42% 561 -11%
POST With Sentry (error only) 1,049 89% 1,051 -0%
MYSQL Baseline 3,277 - 4,061 -19%
MYSQL With Sentry 402 12% 537 -25%
MYSQL With Sentry (error only) 2,672 82% 3,371 -21%

View base workflow run

@Lms24 Lms24 force-pushed the lms/ref-core-span-status-internal-error branch from 3f632a7 to dcd9c05 Compare October 16, 2025 09:15
@Lms24 Lms24 self-assigned this Oct 16, 2025
@Lms24 Lms24 force-pushed the lms/ref-core-span-status-internal-error branch from dcd9c05 to 943783c Compare October 16, 2025 12:05
@Lms24 Lms24 marked this pull request as ready for review October 16, 2025 14:10
@Lms24 Lms24 requested review from a team, RulaKhaled, obostjancic, s1gr1d and stephanie-anderson and removed request for a team and stephanie-anderson October 16, 2025 14:12
Copy link
Member

@obostjancic obostjancic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@Lms24 Lms24 force-pushed the lms/ref-core-span-status-internal-error branch from 7484f01 to f26d8e8 Compare October 28, 2025 12:59
@Lms24 Lms24 force-pushed the lms/ref-core-span-status-internal-error branch from f26d8e8 to 7cefd79 Compare October 28, 2025 16:39
@Lms24 Lms24 merged commit 455c231 into develop Oct 29, 2025
566 of 572 checks passed
@Lms24 Lms24 deleted the lms/ref-core-span-status-internal-error branch October 29, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants