Skip to content

RUM-15577: Write CUSTOM RUM actions immediately#3525

Merged
aleksandr-gringauz merged 3 commits into
developfrom
aleksandr-gringauz/RUM-15577/custom-action-fix
Jun 11, 2026
Merged

RUM-15577: Write CUSTOM RUM actions immediately#3525
aleksandr-gringauz merged 3 commits into
developfrom
aleksandr-gringauz/RUM-15577/custom-action-fix

Conversation

@aleksandr-gringauz

@aleksandr-gringauz aleksandr-gringauz commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Custom RUM actions (addAction(CUSTOM, ...)) are now written immediately instead of waiting on an inactivity timeout. Previously, a custom action with no subsequent event was never flushed and got lost.

Motivation

Fixes RUM-15577. This also aligns Android with iOS, where discrete custom actions are sent instantly (regardless of whether another action is ongoing):

Additional Notes

Behavior change: a standalone custom action no longer aggregates resources/errors over the 100ms window; it becomes a discrete immediate event (matching iOS). Non-custom discrete actions (tap/scroll) are unchanged.

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

Copy link
Copy Markdown
Contributor Author

@codex review

@datadog-prod-us1-3

This comment has been minimized.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@aleksandr-gringauz
aleksandr-gringauz marked this pull request as ready for review June 10, 2026 16:15
@aleksandr-gringauz
aleksandr-gringauz requested review from a team as code owners June 10, 2026 16:15
@codecov-commenter

codecov-commenter commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.22%. Comparing base (e0d2f78) to head (8a91ab7).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3525      +/-   ##
===========================================
+ Coverage    72.18%   72.22%   +0.04%     
===========================================
  Files          965      965              
  Lines        35635    35635              
  Branches      5947     5947              
===========================================
+ Hits         25721    25735      +14     
+ Misses        8296     8283      -13     
+ Partials      1618     1617       -1     
Files with missing lines Coverage Δ
.../android/rum/internal/domain/scope/RumViewScope.kt 94.76% <100.00%> (+0.10%) ⬆️

... and 38 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 merged commit 9d93a2d into develop Jun 11, 2026
27 of 28 checks passed
@aleksandr-gringauz
aleksandr-gringauz deleted the aleksandr-gringauz/RUM-15577/custom-action-fix branch June 11, 2026 08:25
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