Skip to content

RUM-15334: Add id to RumAnrEvent and RumLongTaskEvent#3309

Merged
ambushwork merged 1 commit into
feature/continuous-profilingfrom
yl/profiling/add-id-into-profiling-rum-event
Mar 31, 2026
Merged

RUM-15334: Add id to RumAnrEvent and RumLongTaskEvent#3309
ambushwork merged 1 commit into
feature/continuous-profilingfrom
yl/profiling/add-id-into-profiling-rum-event

Conversation

@ambushwork

Copy link
Copy Markdown
Member

What does this PR do?

RumAnrEvent and RumLongTaskEvent should have unique id when sending them to ProfilingFeature.

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)

@datadog-official

This comment has been minimized.

@codecov-commenter

codecov-commenter commented Mar 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.49%. Comparing base (dd3ebbc) to head (19c032f).

Files with missing lines Patch % Lines
...atadog/android/internal/profiling/ProfilerEvent.kt 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                       Coverage Diff                        @@
##           feature/continuous-profiling    #3309      +/-   ##
================================================================
- Coverage                         71.53%   71.49%   -0.04%     
================================================================
  Files                               948      948              
  Lines                             35032    35038       +6     
  Branches                           5937     5937              
================================================================
- Hits                              25058    25047      -11     
- Misses                             8298     8315      +17     
  Partials                           1676     1676              
Files with missing lines Coverage Δ
.../android/rum/internal/domain/scope/RumViewScope.kt 94.29% <100.00%> (+0.02%) ⬆️
...atadog/android/internal/profiling/ProfilerEvent.kt 0.00% <0.00%> (ø)

... 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.

@ambushwork
ambushwork force-pushed the yl/profiling/add-id-into-profiling-rum-event branch from 728ec87 to 19c032f Compare March 31, 2026 13:31
@ambushwork
ambushwork marked this pull request as ready for review March 31, 2026 13:32
@ambushwork
ambushwork requested review from a team as code owners March 31, 2026 13:32

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: rename to ProfilerEventRumAnrEventForgeryFactory for consistency.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

good point, I will fix it in the following PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as above.

@ambushwork
ambushwork merged commit d1234e5 into feature/continuous-profiling Mar 31, 2026
26 checks passed
@ambushwork
ambushwork deleted the yl/profiling/add-id-into-profiling-rum-event branch March 31, 2026 14:24
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