Skip to content

RUM-12046: Pass synthetic ids to RUM earlier in benchmark app#2959

Merged
aleksandr-gringauz merged 1 commit into
developfrom
aleksandr-gringauz/RUM-12046/fix-synthetics-rum-association-in-benchmark-app
Oct 22, 2025
Merged

RUM-12046: Pass synthetic ids to RUM earlier in benchmark app#2959
aleksandr-gringauz merged 1 commit into
developfrom
aleksandr-gringauz/RUM-12046/fix-synthetics-rum-association-in-benchmark-app

Conversation

@aleksandr-gringauz

@aleksandr-gringauz aleksandr-gringauz commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

Right now RUM sessions that correspond to synthetic test runs of the benchmark app don't contain the information about the synthetic test.

The reason is that this code is called on the Activity whose intent doesn't have the necessary ids.

This in turn happens because in the benchmark app we first open LaunchActivity to determine what features of the SDK we want to enable and what test scenario to run. And only after that we launch a scenario-specific Activity. Thus intent for LaunchActivity contains these ids.

Motivation

What inspired you to submit this pull request?

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)

@aleksandr-gringauz
aleksandr-gringauz force-pushed the aleksandr-gringauz/RUM-12046/fix-synthetics-rum-association-in-benchmark-app branch 2 times, most recently from ce34ad5 to d2fbbf5 Compare October 22, 2025 07:36
@datadog-official

datadog-official Bot commented Oct 22, 2025

Copy link
Copy Markdown

🎯 Code Coverage
Patch Coverage: 80.00%
Total Coverage: 70.84% (-0.08%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 63b103b | Docs | Was this helpful? Give us feedback!

@codecov-commenter

codecov-commenter commented Oct 22, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.89%. Comparing base (d493283) to head (d2fbbf5).
⚠️ Report is 1331 commits behind head on develop.

⚠️ Current head d2fbbf5 differs from pull request most recent head 63b103b

Please upload reports for the commit 63b103b to get more accurate results.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2959      +/-   ##
===========================================
+ Coverage    70.79%   70.89%   +0.09%     
===========================================
  Files          829      829              
  Lines        30384    30384              
  Branches      5184     5184              
===========================================
+ Hits         21510    21538      +28     
+ Misses        7392     7372      -20     
+ Partials      1482     1474       -8     
Files with missing lines Coverage Δ
...otlin/com/datadog/android/rum/_RumInternalProxy.kt 73.68% <ø> (ø)

... and 42 files with indirect coverage changes

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

@aleksandr-gringauz
aleksandr-gringauz force-pushed the aleksandr-gringauz/RUM-12046/fix-synthetics-rum-association-in-benchmark-app branch from d2fbbf5 to 63b103b Compare October 22, 2025 13:37
@aleksandr-gringauz
aleksandr-gringauz marked this pull request as ready for review October 22, 2025 15:12
@aleksandr-gringauz
aleksandr-gringauz requested review from a team as code owners October 22, 2025 15:12
@aleksandr-gringauz
aleksandr-gringauz merged commit aeffdcc into develop Oct 22, 2025
25 checks passed
@aleksandr-gringauz
aleksandr-gringauz deleted the aleksandr-gringauz/RUM-12046/fix-synthetics-rum-association-in-benchmark-app branch October 22, 2025 15:38
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