Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(replay): Ensure replay events go through preprocessEvent hook #9034

Merged
merged 1 commit into from Sep 19, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Sep 15, 2023

See #9022 for how this otherwise fails. Replay events also go through global event processors, so they should also go through this hook (replay events are not sent via the regular baseclient methods).

@JonasBa not sure if something like this also applies to profiles, but they should also go through this hook before prepareEvent() is applied!

@github-actions
Copy link
Contributor

github-actions bot commented Sep 15, 2023

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.49 KB (0%)
@sentry/browser - Webpack (gzipped) 22.09 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.6 KB (+0.01% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 20.66 KB (+0.01% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.15 KB (+0.03% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.64 KB (0%)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.49 KB (0%)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.47 KB (+0.01% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.61 KB (+0.03% 🔺)
@sentry/react - Webpack (gzipped) 22.12 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.49 KB (+0.02% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 51.07 KB (0%)

@mydea mydea force-pushed the fn/ensure-replay-preprocessEvent branch from b71fcb5 to d9075a0 Compare September 15, 2023 14:01
@mydea mydea merged commit 252f450 into develop Sep 19, 2023
74 checks passed
@mydea mydea deleted the fn/ensure-replay-preprocessEvent branch September 19, 2023 09:02
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.

None yet

3 participants