Skip to content

Conversation

@romtsn
Copy link
Member

@romtsn romtsn commented Feb 19, 2025

📜 Description

  • Added a 5minute hard limit for a replay segment to not generate huge videos and potentially consume many device resources
  • Fix crash when a navigation breadcrumb has no destination

💡 Motivation and Context

See getsentry/sentry-dart#2720

💚 How did you test it?

📝 Checklist

  • I added tests to verify the 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.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 401.06 ms 433.94 ms 32.88 ms
Size 1.58 MiB 2.21 MiB 641.65 KiB

Previous results on branch: rz/fix/session-replay-improvements

Startup times

Revision Plain With Sentry Diff
652f795 361.98 ms 408.85 ms 46.88 ms

App size

Revision Plain With Sentry Diff
652f795 1.58 MiB 2.21 MiB 641.08 KiB

Copy link
Member

@stefanosiano stefanosiano left a comment

Choose a reason for hiding this comment

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

Looks good!
I'd just add a mention of the max duration in the changelog

@romtsn romtsn enabled auto-merge (squash) February 25, 2025 14:18
@romtsn romtsn merged commit 7d08e30 into main Feb 25, 2025
31 of 33 checks passed
@romtsn romtsn deleted the rz/fix/session-replay-improvements branch February 25, 2025 14:25
romtsn added a commit that referenced this pull request Mar 19, 2025
…tination (#4185)

* Do not crash if navigation breadcrumb has not destination

* Changelog
romtsn added a commit that referenced this pull request Mar 19, 2025
…tination (#4185)

* Do not crash if navigation breadcrumb has not destination

* Changelog
romtsn added a commit that referenced this pull request Mar 20, 2025
…tination (#4185) (#4269)

* fix(session-replay):  Do not crash if navigation breadcrumb has no destination (#4185)

* Do not crash if navigation breadcrumb has not destination

* Changelog

* Fix test
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