Skip to content

Conversation

@lucas-zimerman
Copy link
Collaborator

@lucas-zimerman lucas-zimerman commented Apr 7, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Web has a new integration for session tracking, this PR simply adds this integration when running on a non-mobile project and when enableAutoSessionTracking is set to true

💡 Motivation and Context

Fixes: #4729

💚 How did you test it?

Tests, Locally

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 9153381

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 438.52 ms 420.64 ms -17.88 ms
Size 17.75 MiB 20.15 MiB 2.40 MiB

Baseline results on branch: lz/bump/jsv9

Startup times

Revision Plain With Sentry Diff
345e497 397.98 ms 423.40 ms 25.42 ms
e468cd4 403.30 ms 404.98 ms 1.68 ms
987dc4d 422.12 ms 478.34 ms 56.22 ms
39a9ff3 428.71 ms 429.00 ms 0.29 ms
35eb9e7 383.45 ms 415.65 ms 32.21 ms
49f1a9c 423.64 ms 411.10 ms -12.54 ms
71f7309 412.45 ms 431.62 ms 19.18 ms
e54b1ed 434.79 ms 429.52 ms -5.27 ms

App size

Revision Plain With Sentry Diff
345e497 17.75 MiB 20.10 MiB 2.36 MiB
e468cd4 17.75 MiB 20.15 MiB 2.40 MiB
987dc4d 17.75 MiB 20.10 MiB 2.36 MiB
39a9ff3 17.75 MiB 20.15 MiB 2.40 MiB
35eb9e7 17.75 MiB 20.10 MiB 2.36 MiB
49f1a9c 17.75 MiB 20.15 MiB 2.40 MiB
71f7309 17.75 MiB 20.10 MiB 2.36 MiB
e54b1ed 17.75 MiB 20.10 MiB 2.36 MiB

Previous results on branch: lz/jsv9/add-browserSessionIntegration

Startup times

Revision Plain With Sentry Diff
22e86ad 431.46 ms 443.31 ms 11.85 ms

App size

Revision Plain With Sentry Diff
22e86ad 17.75 MiB 20.15 MiB 2.40 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1209.08 ms 1212.02 ms 2.94 ms
Size 3.19 MiB 4.32 MiB 1.13 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
9da5c4e+dirty 1215.41 ms 1226.38 ms 10.97 ms

App size

Revision Plain With Sentry Diff
9da5c4e+dirty 3.19 MiB 4.33 MiB 1.14 MiB

Previous results on branch: lz/jsv9/add-browserSessionIntegration

Startup times

Revision Plain With Sentry Diff
22e86ad+dirty 1212.31 ms 1210.38 ms -1.93 ms
1aa988e+dirty 1220.29 ms 1219.00 ms -1.29 ms

App size

Revision Plain With Sentry Diff
22e86ad+dirty 3.19 MiB 4.32 MiB 1.13 MiB
1aa988e+dirty 3.19 MiB 4.32 MiB 1.13 MiB

@lucas-zimerman lucas-zimerman marked this pull request as ready for review April 8, 2025 08:24
@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1211.06 ms 1213.92 ms 2.86 ms
Size 2.63 MiB 3.75 MiB 1.12 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
9da5c4e+dirty 1231.84 ms 1235.49 ms 3.65 ms

App size

Revision Plain With Sentry Diff
9da5c4e+dirty 2.63 MiB 3.76 MiB 1.13 MiB

Previous results on branch: lz/jsv9/add-browserSessionIntegration

Startup times

Revision Plain With Sentry Diff
22e86ad+dirty 1225.04 ms 1210.44 ms -14.60 ms
1aa988e+dirty 1216.29 ms 1221.92 ms 5.63 ms

App size

Revision Plain With Sentry Diff
22e86ad+dirty 2.63 MiB 3.75 MiB 1.12 MiB
1aa988e+dirty 2.63 MiB 3.75 MiB 1.12 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 360.18 ms 372.52 ms 12.34 ms
Size 7.15 MiB 8.41 MiB 1.26 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
9da5c4e+dirty 399.70 ms 407.34 ms 7.64 ms

App size

Revision Plain With Sentry Diff
9da5c4e+dirty 7.15 MiB 8.42 MiB 1.27 MiB

Previous results on branch: lz/jsv9/add-browserSessionIntegration

Startup times

Revision Plain With Sentry Diff
1aa988e+dirty 408.25 ms 410.33 ms 2.08 ms
22e86ad+dirty 464.98 ms 462.24 ms -2.74 ms

App size

Revision Plain With Sentry Diff
1aa988e+dirty 7.15 MiB 8.41 MiB 1.26 MiB
22e86ad+dirty 7.15 MiB 8.41 MiB 1.26 MiB

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

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

The code changes LGTM 🚀

Added a minor comment on the placement of the PR link in the changelog.

@krystofwoldrich
Copy link
Contributor

Looks good, just the changelog needs a minor fix.

lucas-zimerman and others added 2 commits April 9, 2025 12:05
Co-authored-by: Antonis Lilis <[email protected]>
Co-authored-by: Antonis Lilis <[email protected]>
Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

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

LGTM 🎸

Copy link
Contributor

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 Ty!

Base automatically changed from lz/bump/jsv9 to v7 April 15, 2025 08:26
@lucas-zimerman lucas-zimerman merged commit 90aa098 into v7 Apr 15, 2025
66 of 68 checks passed
@lucas-zimerman lucas-zimerman deleted the lz/jsv9/add-browserSessionIntegration branch April 15, 2025 09:17
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.

3 participants