Skip to content

RUM-1202: Make FeatureFileOrchesrator use file persistence config created from user/feature settings#1643

Merged
0xnm merged 1 commit into
developfrom
nogorodnikov/rum-1202/make-featurefileorchestrator-use-persistence-config-from-user-settings
Sep 27, 2023
Merged

RUM-1202: Make FeatureFileOrchesrator use file persistence config created from user/feature settings#1643
0xnm merged 1 commit into
developfrom
nogorodnikov/rum-1202/make-featurefileorchestrator-use-persistence-config-from-user-settings

Conversation

@0xnm

@0xnm 0xnm commented Sep 27, 2023

Copy link
Copy Markdown
Member

What does this PR do?

It turns out that FeatureFileOrchesrator was using default file persistence config which didn't reflect user settings and feature settings for batch size, max item size, etc. This PR fixes it.

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 September 27, 2023 09:07
@codecov-commenter

codecov-commenter commented Sep 27, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1643 (6776158) into develop (c6d7291) will decrease coverage by 0.00%.
Report is 2 commits behind head on develop.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #1643      +/-   ##
===========================================
- Coverage    83.65%   83.64%   -0.00%     
===========================================
  Files          456      456              
  Lines        15703    15700       -3     
  Branches      2342     2341       -1     
===========================================
- Hits         13135    13132       -3     
- Misses        1937     1940       +3     
+ Partials       631      628       -3     
Files Coverage Δ
...in/com/datadog/android/core/internal/SdkFeature.kt 89.06% <100.00%> (+0.09%) ⬆️
...d/core/internal/persistence/ConsentAwareStorage.kt 98.78% <100.00%> (ø)
...rsistence/file/advanced/FeatureFileOrchestrator.kt 100.00% <100.00%> (ø)
...al/persistence/file/batch/BatchFileOrchestrator.kt 94.94% <100.00%> (ø)

... and 20 files with indirect coverage changes

@mariusc83 mariusc83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice !!

@0xnm
0xnm merged commit 3b83aa4 into develop Sep 27, 2023
@0xnm
0xnm deleted the nogorodnikov/rum-1202/make-featurefileorchestrator-use-persistence-config-from-user-settings branch September 27, 2023 11:42
@xgouchet xgouchet added this to the 2.2.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