Skip to content

RUM-9746: Resolve file orchestrator for write operation from DatadogContext#2624

Merged
0xnm merged 1 commit into
nogorodnikov/rum-8170/feature-context-syncfrom
nogorodnikov/rum-9746/resolve-write-orchestrator-from-datadogcontext
May 2, 2025
Merged

RUM-9746: Resolve file orchestrator for write operation from DatadogContext#2624
0xnm merged 1 commit into
nogorodnikov/rum-8170/feature-context-syncfrom
nogorodnikov/rum-9746/resolve-write-orchestrator-from-datadogcontext

Conversation

@0xnm

@0xnm 0xnm commented Apr 30, 2025

Copy link
Copy Markdown
Member

What does this PR do?

This change makes the logic to resolve file orchestrator for the event write operation to read tracking consent from DatadogContext passed with withWriteContext call instead of doing the resolution independently.

This makes an alignment with iOS SDK.

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 30, 2025 08:53
@codecov-commenter

codecov-commenter commented Apr 30, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.07%. Comparing base (10c7f1f) to head (cac8f54).
⚠️ Report is 220 commits behind head on nogorodnikov/rum-8170/feature-context-sync.

Additional details and impacted files
@@                              Coverage Diff                               @@
##           nogorodnikov/rum-8170/feature-context-sync    #2624      +/-   ##
==============================================================================
+ Coverage                                       70.03%   70.07%   +0.04%     
==============================================================================
  Files                                             818      818              
  Lines                                           30561    30557       -4     
  Branches                                         5129     5129              
==============================================================================
+ Hits                                            21401    21410       +9     
+ Misses                                           7724     7723       -1     
+ Partials                                         1436     1424      -12     
Files with missing lines Coverage Δ
...in/com/datadog/android/core/internal/SdkFeature.kt 91.09% <ø> (-0.04%) ⬇️
...droid/core/internal/persistence/AbstractStorage.kt 100.00% <100.00%> (ø)
...d/core/internal/persistence/ConsentAwareStorage.kt 97.65% <100.00%> (-0.05%) ⬇️

... and 23 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 ac90182 into nogorodnikov/rum-8170/feature-context-sync May 2, 2025
@0xnm
0xnm deleted the nogorodnikov/rum-9746/resolve-write-orchestrator-from-datadogcontext branch May 2, 2025 08:32
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