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

feat!: Remove autoSessionTracking option #14802

Merged
merged 5 commits into from
Jan 8, 2025
Merged

Conversation

lforst
Copy link
Member

@lforst lforst commented Dec 19, 2024

Ref #14609

Copy link
Contributor

github-actions bot commented Dec 19, 2024

size-limit report 📦

Path Size % Change Change
@sentry/browser 22.75 KB -0.14% -31 B 🔽
@sentry/browser - with treeshaking flags 21.51 KB -0.15% -33 B 🔽
@sentry/browser (incl. Tracing) 35.39 KB -0.02% -6 B 🔽
@sentry/browser (incl. Tracing, Replay) 72.09 KB -0.05% -30 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.62 KB -0.07% -41 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 76.36 KB -0.04% -29 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 88.38 KB -0.03% -21 B 🔽
@sentry/browser (incl. Feedback) 39.08 KB -0.01% -2 B 🔽
@sentry/browser (incl. sendFeedback) 27.43 KB -0.04% -9 B 🔽
@sentry/browser (incl. FeedbackAsync) 32.25 KB +0.05% +14 B 🔺
@sentry/react 25.5 KB -0.21% -54 B 🔽
@sentry/react (incl. Tracing) 38.15 KB -0.14% -51 B 🔽
@sentry/vue 27.08 KB -0.1% -26 B 🔽
@sentry/vue (incl. Tracing) 37.24 KB -0.06% -21 B 🔽
@sentry/svelte 22.87 KB -0.34% -79 B 🔽
CDN Bundle 24.12 KB -0.11% -26 B 🔽
CDN Bundle (incl. Tracing) 35.7 KB -0.06% -20 B 🔽
CDN Bundle (incl. Tracing, Replay) 70.25 KB -0.05% -31 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 75.45 KB -0.04% -30 B 🔽
CDN Bundle - uncompressed 70.49 KB -0.1% -70 B 🔽
CDN Bundle (incl. Tracing) - uncompressed 106.06 KB -0.07% -70 B 🔽
CDN Bundle (incl. Tracing, Replay) - uncompressed 216.94 KB -0.04% -70 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.69 KB -0.03% -70 B 🔽
@sentry/nextjs (client) 38.28 KB -0.06% -21 B 🔽
@sentry/sveltekit (client) 35.9 KB -0.08% -26 B 🔽
@sentry/node 161.66 KB -0.02% -25 B 🔽
@sentry/node - without tracing 97.46 KB -0.03% -25 B 🔽
@sentry/aws-serverless 127.31 KB -0.02% -22 B 🔽

View base workflow run

@lforst lforst marked this pull request as ready for review January 7, 2025 12:16
@lforst lforst requested review from a team as code owners January 7, 2025 12:16
@lforst lforst requested review from mydea, Lms24 and chargome January 7, 2025 13:35
@@ -6,6 +6,5 @@ window.Sentry = Sentry;
Sentry.init({
dsn: 'https://[email protected]/1337',
integrations: [captureConsoleIntegration()],
autoSessionTracking: false,
Copy link
Member

Choose a reason for hiding this comment

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

iirc, we opted out of session tracking for some tests due to session envelopes colliding with the envelope we're waiting for. Do we need to filter on browserSessionIntegration instead here? Might as well be old code and this is no longer a concern. I guess we'd find out with the flaky test detector 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point actually. I didn't consider that. I agree though that we would probably catch anything weird in the flakey test detector. Maybe the autoSessionTrackings here are also from copy and pasting tests.

I will merge this as is cause I'd err on removing unneeded logic. If there are any CI failures coming up we may attribute it to this.

@lforst lforst merged commit e8e84ea into develop Jan 8, 2025
152 checks passed
@lforst lforst deleted the lforst-rm-autosessiontracking branch January 8, 2025 09:55
@mydea mydea linked an issue Jan 9, 2025 that may be closed by this pull request
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.

[v9] Remove autoSessionTracking
2 participants