Skip to content

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Oct 15, 2025

Change to record an outcome when failed to add to replay event buffer due to size limitations. This also moves up the internal_sdk_error outcome to be recorded before we stop the replay.

Note we use the buffer_overflow outcome as it is the closest in meaning (source https://github.com/getsentry/snuba/blob/6c73be60716c2fb1c30ca627883207887c733cbd/rust_snuba/src/processors/outcomes.rs#L39)

Change to record an outcome when failed to add to replay event buffer due to size limitations. This also moves up the `internal_sdk_error` outcome to be recorded before we stop the replay.

Note we use the `buffer_overflow` outcome as it is the closest in meaning (source https://github.com/getsentry/snuba/blob/6c73be60716c2fb1c30ca627883207887c733cbd/rust_snuba/src/processors/outcomes.rs#L39)
@linear
Copy link

linear bot commented Oct 15, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Oct 15, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.64 kB - -
@sentry/browser - with treeshaking flags 23.14 kB - -
@sentry/browser (incl. Tracing) 40.99 kB - -
@sentry/browser (incl. Tracing, Replay) 79.31 kB +0.03% +19 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.99 kB +0.02% +12 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 84.02 kB +0.03% +19 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 96.17 kB +0.02% +17 B 🔺
@sentry/browser (incl. Feedback) 41.33 kB - -
@sentry/browser (incl. sendFeedback) 29.3 kB - -
@sentry/browser (incl. FeedbackAsync) 34.26 kB - -
@sentry/react 26.35 kB - -
@sentry/react (incl. Tracing) 42.99 kB +0.02% +5 B 🔺
@sentry/vue 29.13 kB - -
@sentry/vue (incl. Tracing) 42.79 kB - -
@sentry/svelte 24.66 kB - -
CDN Bundle 26.94 kB - -
CDN Bundle (incl. Tracing) 41.65 kB - -
CDN Bundle (incl. Tracing, Replay) 77.91 kB +0.03% +18 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 83.37 kB +0.02% +15 B 🔺
CDN Bundle - uncompressed 78.95 kB - -
CDN Bundle (incl. Tracing) - uncompressed 123.53 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 238.57 kB +0.02% +27 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 251.33 kB +0.02% +27 B 🔺
@sentry/nextjs (client) 45.06 kB - -
@sentry/sveltekit (client) 41.42 kB - -
@sentry/node-core 50.78 kB - -
@sentry/node 154.4 kB - -
@sentry/node - without tracing 92.65 kB - -
@sentry/aws-serverless 106.34 kB - -

View base workflow run

@billyvg billyvg marked this pull request as ready for review October 16, 2025 15:21
@billyvg billyvg requested a review from a team as a code owner October 16, 2025 15:22
@billyvg billyvg merged commit 24ecd3a into develop Oct 17, 2025
144 checks passed
@billyvg billyvg deleted the billy/replay-779-replay-sdk-missing-outcome-when-event-buffer-exceeded branch October 17, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants