-
Notifications
You must be signed in to change notification settings - Fork 142
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
✨ [RUM-2203] Forward replay records to the bridge #2470
Conversation
f80261a
to
7b13ec1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2470 +/- ##
==========================================
+ Coverage 92.86% 92.90% +0.04%
==========================================
Files 237 238 +1
Lines 6885 6911 +26
Branches 1507 1516 +9
==========================================
+ Hits 6394 6421 +27
+ Misses 491 490 -1 ☔ View full report in Codecov by Sentry. |
d86881d
to
4e3ec9f
Compare
fd84c10
to
33526f4
Compare
b93ed47
to
65e5af0
Compare
65e5af0
to
c878318
Compare
c878318
to
12e30ab
Compare
- Add getPrivacyLevel() - Send current view id
- If not provided in the init configuration use the bridge privacy level
f2edae1
to
b41dba2
Compare
/to-staging |
🚂 Branch Integration: starting soon, merge in < 0s Commit b41dba25a5 will soon be integrated into staging-04. This build is going to start soon! (estimated merge in less than 0s) Use |
🚂 Branch Integration: This commit was successfully integrated Commit b41dba25a5 has been merged into staging-04 in merge commit 85492e9f00. Check out the triggered pipeline on Gitlab 🦊 |
e05cc18
to
8df8521
Compare
c975407
to
080d715
Compare
a24daf4
to
1578088
Compare
1578088
to
681baac
Compare
/to-staging |
🚂 Branch Integration: starting soon, merge in < 0s Commit 681baac5a4 will soon be integrated into staging-09. This build is going to start soon! (estimated merge in less than 0s) Use |
🚂 Branch Integration: This commit was successfully integrated Commit 681baac5a4 has been merged into staging-09 in merge commit 58a85353d3. Check out the triggered pipeline on Gitlab 🦊 |
@@ -65,7 +72,7 @@ export function startRumSessionManager( | |||
export function startRumSessionManagerStub(): RumSessionManager { | |||
const session: RumSession = { | |||
id: '00000000-aaaa-0000-aaaa-000000000000', | |||
sessionReplayAllowed: false, | |||
sessionReplayAllowed: bridgeSupports(BridgeCapability.RECORDS), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 praise: nice!
/to-staging |
🚂 Branch Integration: starting soon, merge in < 9m Commit 63d4812751 will soon be integrated into staging-10. This build is going to start soon! (estimated merge in less than 9m) Use |
🚂 Branch Integration: This commit was successfully integrated Commit 63d4812751 has been merged into staging-10 in merge commit b7b659139e. Check out the triggered pipeline on Gitlab 🦊 |
Motivation
In order to support webviews for Session Replay, the Browser SDK needs to send Replay records through the event bridge.
Changes
getPrivacyLevel()
,getCapabilities()
and addevent.id
in thesend()
API)Testing
I have gone over the contributing documentation.