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(astro): Make Replay and BrowserTracing integrations tree-shakeable #9287

Merged
merged 3 commits into from
Oct 17, 2023

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Oct 17, 2023

This PR fixes a Sentry.init code generation bug that always added BrowserTracing and Replay to the client init code, even if sample rates were specifically set to 0. This prohibited tree shaking of these integrations if users disabled them by setting the respective sample rates.

@Lms24 Lms24 requested review from mydea and lforst October 17, 2023 16:08
@Lms24 Lms24 changed the title fix(astro): Make Replay and Browsertracing integrations tree-shakeable fix(astro): Make Replay and BrowserTracing integrations tree-shakeable Oct 17, 2023
@Lms24 Lms24 enabled auto-merge (squash) October 17, 2023 16:10
@Lms24 Lms24 merged commit 441f702 into develop Oct 17, 2023
47 checks passed
@Lms24 Lms24 deleted the lms/fix-astro-treeshake-integrations branch October 17, 2023 16:23
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