Skip to content

RUM-10143: Stop posting recorded data item from main thread#2763

Merged
ambushwork merged 1 commit into
developfrom
yl/remove-main-thread-post
Jun 25, 2025
Merged

RUM-10143: Stop posting recorded data item from main thread#2763
ambushwork merged 1 commit into
developfrom
yl/remove-main-thread-post

Conversation

@ambushwork

@ambushwork ambushwork commented Jun 25, 2025

Copy link
Copy Markdown
Member

What does this PR do?

It turns out we are posting the task from main thread for nothing, and it causes item dropped if the client's UI thread is busy, see in the ticket RUM-10143.

Motivation

RUM-10143

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)

@ambushwork
ambushwork force-pushed the yl/remove-main-thread-post branch from 3040819 to b7167aa Compare June 25, 2025 11:32
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.88%. Comparing base (7e96c45) to head (b7167aa).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2763      +/-   ##
===========================================
+ Coverage    69.78%   69.88%   +0.10%     
===========================================
  Files          824      824              
  Lines        30878    30877       -1     
  Branches      5196     5196              
===========================================
+ Hits         21546    21577      +31     
+ Misses        7852     7835      -17     
+ Partials      1480     1465      -15     
Files with missing lines Coverage Δ
...nreplay/internal/async/RecordedDataQueueHandler.kt 95.24% <ø> (ø)
...sionreplay/internal/async/RecordedDataQueueRefs.kt 66.67% <100.00%> (-4.76%) ⬇️

... and 30 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 marked this pull request as ready for review June 25, 2025 14:42
@ambushwork
ambushwork requested review from a team as code owners June 25, 2025 14:42
@ambushwork
ambushwork merged commit e72f453 into develop Jun 25, 2025
25 checks passed
@ambushwork
ambushwork deleted the yl/remove-main-thread-post branch June 25, 2025 15:06
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