Skip to content

RUMM-3314: Keep old viewIds for view scope#1448

Merged
0xnm merged 2 commits into
developfrom
nogorodnikov/rumm-3314/keep-old-viewId-for-view-scope
Jun 2, 2023
Merged

RUMM-3314: Keep old viewIds for view scope#1448
0xnm merged 2 commits into
developfrom
nogorodnikov/rumm-3314/keep-old-viewId-for-view-scope

Conversation

@0xnm

@0xnm 0xnm commented Jun 1, 2023

Copy link
Copy Markdown
Member

What does this PR do?

We need to keep old RUM view scope IDs, because viewId can be changed on the session renewal, meaning that events like ActionSent, etc. which do the match by viewId won't match, because they will carry old viewId.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@0xnm
0xnm requested a review from a team as a code owner June 1, 2023 15:25
@0xnm
0xnm force-pushed the nogorodnikov/rumm-3314/keep-old-viewId-for-view-scope branch from 0815e25 to 53c1033 Compare June 1, 2023 15:28
@0xnm
0xnm force-pushed the nogorodnikov/rumm-3314/keep-old-viewId-for-view-scope branch from 53c1033 to 7945b0f Compare June 1, 2023 15:42

@xgouchet xgouchet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #1448 (7945b0f) into nogorodnikov/rumm-3313/set-last-interaction-time-by-sdkinit-event (c409654) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@                                          Coverage Diff                                          @@
##           nogorodnikov/rumm-3313/set-last-interaction-time-by-sdkinit-event    #1448      +/-   ##
=====================================================================================================
- Coverage                                                              82.05%   82.00%   -0.05%     
=====================================================================================================
  Files                                                                    363      363              
  Lines                                                                  12988    12991       +3     
  Branches                                                                2165     2165              
=====================================================================================================
- Hits                                                                   10657    10653       -4     
+ Misses                                                                  1676     1674       -2     
- Partials                                                                 655      664       +9     
Impacted Files Coverage Δ
.../android/rum/internal/domain/scope/RumViewScope.kt 95.66% <100.00%> (+0.02%) ⬆️

... and 6 files with indirect coverage changes

@0xnm
0xnm changed the base branch from nogorodnikov/rumm-3313/set-last-interaction-time-by-sdkinit-event to develop June 2, 2023 08:19
@0xnm
0xnm merged commit 95f3030 into develop Jun 2, 2023
@0xnm
0xnm deleted the nogorodnikov/rumm-3314/keep-old-viewId-for-view-scope branch June 2, 2023 08:35
@xgouchet xgouchet added this to the 2.0.0 milestone Dec 13, 2023
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