Skip to content

feat(replay): Freeze replay while feedback is open - #24256

Draft
sentry-junior[bot] wants to merge 3 commits into
developfrom
feat/freeze-replay-on-feedback-open
Draft

feat(replay): Freeze replay while feedback is open#24256
sentry-junior[bot] wants to merge 3 commits into
developfrom
feat/freeze-replay-on-feedback-open

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Pause Replay when the Feedback widget opens so the replay remains anchored to the context that prompted the report. On submission, send that frozen replay without promoting buffer mode to session mode, then resume the original recording mode when the widget closes.

This keeps the existing API-driven feedback behavior unchanged and preserves an already-paused replay.

Fixes #16541

via james.keane.

--

View Junior Session [Sentry]

Co-Authored-By: James Keane <james.keane@sentry.io>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.81 kB - -
@sentry/browser - with treeshaking flags 27.12 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.01 kB - -
@sentry/browser (incl. Tracing) 49.27 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 49.28 kB - -
@sentry/browser (incl. Tracing, Profiling) 52.21 kB - -
@sentry/browser (incl. Tracing, Replay) 88.86 kB +0.07% +56 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 78.04 kB +0.08% +56 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 93.55 kB +0.07% +57 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 106.5 kB +0.06% +57 B 🔺
@sentry/browser (incl. Feedback) 46.31 kB +0.02% +7 B 🔺
@sentry/browser (incl. sendFeedback) 33.87 kB - -
@sentry/browser (incl. FeedbackAsync) 38.99 kB - -
@sentry/browser (incl. Metrics) 29.84 kB - -
@sentry/browser (incl. Logs) 30.1 kB - -
@sentry/browser (incl. Metrics & Logs) 30.78 kB - -
@sentry/react 30.57 kB - -
@sentry/react (incl. Tracing) 51.64 kB - -
@sentry/vue 36.07 kB - -
@sentry/vue (incl. Tracing) 51.56 kB - -
@sentry/svelte 28.85 kB - -
CDN Bundle 30.56 kB - -
CDN Bundle (incl. Tracing) 49.81 kB - -
CDN Bundle (incl. Logs, Metrics) 32.83 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 51.77 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 73.53 kB +0.08% +57 B 🔺
CDN Bundle (incl. Tracing, Replay) 87.4 kB +0.06% +47 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 89.31 kB +0.06% +48 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 93.32 kB +0.06% +49 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 95.32 kB +0.06% +48 B 🔺
CDN Bundle - uncompressed 90.47 kB - -
CDN Bundle (incl. Tracing) - uncompressed 148.36 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 97.04 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 154.32 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 226.46 kB +0.07% +158 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 268.11 kB +0.06% +158 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 274.06 kB +0.06% +158 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 281.81 kB +0.06% +158 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 287.75 kB +0.06% +158 B 🔺
@sentry/nextjs (client) 54.09 kB - -
@sentry/sveltekit (client) 49.73 kB - -
@sentry/core/server 36.99 kB - -
@sentry/core/browser 13.55 kB - -
@sentry/node 127.95 kB +0.02% +24 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.61 kB - -
@sentry/node - without tracing 88.73 kB +0.03% +21 B 🔺
@sentry/node - without channel injection 107.16 kB +0.02% +18 B 🔺
@sentry/aws-serverless 97.12 kB +0.03% +26 B 🔺
@sentry/cloudflare (withSentry) - minified 202.05 kB - -
@sentry/cloudflare (withSentry) 502.91 kB - -

View base workflow run

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.

Replays from user feedback not including 30s before the widget is opened

0 participants