Skip to content

RUM-9510: RumManual scenario for android benchmark app#2644

Merged
aleksandr-gringauz merged 1 commit into
developfrom
aleksandr-gringauz/RUM-9510/rummanual-scenario-android-benchmarks-2
May 13, 2025
Merged

RUM-9510: RumManual scenario for android benchmark app#2644
aleksandr-gringauz merged 1 commit into
developfrom
aleksandr-gringauz/RUM-9510/rummanual-scenario-android-benchmarks-2

Conversation

@aleksandr-gringauz

@aleksandr-gringauz aleksandr-gringauz commented May 12, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

  1. Implemented RumManual scenario for Android Benchmarking app that is described here. demo: link

  2. created a synthetics test described here. Link. I checked that is works for my local build.

Some links to the results:

  1. session
  2. action
  3. resource
  4. error
  5. view

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-9510/rummanual-scenario-android-benchmarks-2 branch from 87efd8d to acd58ee Compare May 12, 2025 15:08
@codecov-commenter

codecov-commenter commented May 12, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.06%. Comparing base (af2861f) to head (acd58ee).
⚠️ Report is 2105 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2644      +/-   ##
===========================================
+ Coverage    70.05%   70.06%   +0.01%     
===========================================
  Files          820      820              
  Lines        30598    30598              
  Branches      5136     5136              
===========================================
+ Hits         21434    21437       +3     
+ Misses        7735     7730       -5     
- Partials      1429     1431       +2     

see 31 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 marked this pull request as ready for review May 12, 2025 15:53
@aleksandr-gringauz
aleksandr-gringauz requested review from a team as code owners May 12, 2025 15:53
is RumManualScenarioScreenAction.EventSendingTaskFinished -> {
if (prev.sendingTask != null) {
val (task, _) = prev.sendingTask
if (task === action.task) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is reference-based comparison here on purpose?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes.

EventSendingTask acts as an identifier of the async job.

In case the previous job is still executing and managed to dispatch EventSendingTaskFinished while we already have a new one, we need to ignore this EventSendingTaskFinished from the old job.

It theoretically can happen if we click "cancel" and then "send" buttons very fast and the first job is already past its last coroutine cancellation point.

@aleksandr-gringauz
aleksandr-gringauz merged commit e366b79 into develop May 13, 2025
@aleksandr-gringauz
aleksandr-gringauz deleted the aleksandr-gringauz/RUM-9510/rummanual-scenario-android-benchmarks-2 branch May 13, 2025 06:28
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