Skip to content

RUM-2245 Generate wireframe ids as 32bit Int#1736

Merged
jonathanmos merged 1 commit into
developfrom
jmoskovich/rum-2245/wireframe-id-as-int
Nov 21, 2023
Merged

RUM-2245 Generate wireframe ids as 32bit Int#1736
jonathanmos merged 1 commit into
developfrom
jmoskovich/rum-2245/wireframe-id-as-int

Conversation

@jonathanmos

@jonathanmos jonathanmos commented Nov 21, 2023

Copy link
Copy Markdown
Member

What does this PR do?

Generates wireframe IDs as Int instead of as Long. Also modify the forgery factories to do the same so that tests will reflect this change.

Motivation

Generating the IDs as Long caused an issue on the backend because there the IDs are being parsed as Int. When the ID was out of bounds it would be rounded and this could cause problems with removals of wireframes or duplicated wireframes.

Additional Notes

Anything else we should know when reviewing?

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)

@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-2245/wireframe-id-as-int branch 2 times, most recently from 3957178 to 9f5da2b Compare November 21, 2023 12:09
@codecov-commenter

codecov-commenter commented Nov 21, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.31%. Comparing base (764129c) to head (21b12e7).
Report is 1931 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1736      +/-   ##
===========================================
- Coverage    83.35%   83.31%   -0.04%     
===========================================
  Files          465      465              
  Lines        16182    16182              
  Branches      2412     2412              
===========================================
- Hits         13487    13481       -6     
- Misses        2031     2039       +8     
+ Partials       664      662       -2     
Files with missing lines Coverage Δ
...d/sessionreplay/utils/UniqueIdentifierGenerator.kt 100.00% <100.00%> (ø)

... and 17 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-2245/wireframe-id-as-int branch from 9f5da2b to f6b7d37 Compare November 21, 2023 12:40
@jonathanmos
jonathanmos marked this pull request as ready for review November 21, 2023 12:40
@jonathanmos
jonathanmos requested review from a team as code owners November 21, 2023 12:40
@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-2245/wireframe-id-as-int branch from f6b7d37 to 21b12e7 Compare November 21, 2023 13:13
@jonathanmos
jonathanmos merged commit f48127c into develop Nov 21, 2023
@jonathanmos
jonathanmos deleted the jmoskovich/rum-2245/wireframe-id-as-int branch November 21, 2023 13:41
@xgouchet xgouchet added this to the 2.3.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.

5 participants