Skip to content

RUM-9711: Resolve batch file only during the actual write call#2619

Merged
0xnm merged 1 commit into
nogorodnikov/rum-8170/feature-context-syncfrom
nogorodnikov/rum-9711/resolve-batch-file-only-during-write-call
Apr 29, 2025
Merged

RUM-9711: Resolve batch file only during the actual write call#2619
0xnm merged 1 commit into
nogorodnikov/rum-8170/feature-context-syncfrom
nogorodnikov/rum-9711/resolve-batch-file-only-during-write-call

Conversation

@0xnm

@0xnm 0xnm commented Apr 28, 2025

Copy link
Copy Markdown
Member

What does this PR do?

This is a first step for a better feature context synchronization: we are resolving batch file at the beginning of the withWriteContext call, but instead this PR moves this resolution to the point where the actual write happens, so that later we can better separate event processing and event writing stages.

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 review from a team as code owners April 28, 2025 14:46
@0xnm
0xnm force-pushed the nogorodnikov/rum-9711/resolve-batch-file-only-during-write-call branch from a29a393 to d9d5cbd Compare April 28, 2025 14:57
@0xnm
0xnm force-pushed the nogorodnikov/rum-9711/resolve-batch-file-only-during-write-call branch from d9d5cbd to 00b3f6e Compare April 28, 2025 15:21
@codecov-commenter

codecov-commenter commented Apr 28, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.11%. Comparing base (ef654e8) to head (00b3f6e).
⚠️ Report is 224 commits behind head on nogorodnikov/rum-8170/feature-context-sync.

Additional details and impacted files
@@                              Coverage Diff                               @@
##           nogorodnikov/rum-8170/feature-context-sync    #2619      +/-   ##
==============================================================================
- Coverage                                       70.16%   70.11%   -0.05%     
==============================================================================
  Files                                             820      820              
  Lines                                           30571    30571              
  Branches                                         5132     5130       -2     
==============================================================================
- Hits                                            21449    21433      -16     
- Misses                                           7708     7716       +8     
- Partials                                         1414     1422       +8     
Files with missing lines Coverage Δ
...d/core/internal/persistence/ConsentAwareStorage.kt 97.73% <100.00%> (+1.69%) ⬆️
.../core/internal/persistence/FileEventBatchWriter.kt 98.18% <100.00%> (+0.56%) ⬆️

... and 34 files with indirect coverage changes

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

@0xnm
0xnm merged commit 1480798 into nogorodnikov/rum-8170/feature-context-sync Apr 29, 2025
@0xnm
0xnm deleted the nogorodnikov/rum-9711/resolve-batch-file-only-during-write-call branch April 29, 2025 08:35
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.

4 participants