Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable the use of render events to construct UI load traces for now #1834

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

bidetofevil
Copy link
Collaborator

@bidetofevil bidetofevil commented Jan 21, 2025

Goal

Disable rendering event usage in UI load traces for now, as the way it detects the first frame draw is on the Window's root view, which isn't compatible with Compose navigation.

This means that for now, all versions of Android will end with the onResume event.

Testing

Existing tests pass after adjustments

@bidetofevil bidetofevil force-pushed the hho/disable-render-event branch from a6c6d47 to 4eb3c18 Compare January 21, 2025 21:37
@bidetofevil bidetofevil marked this pull request as ready for review January 21, 2025 21:46
@bidetofevil bidetofevil requested a review from a team as a code owner January 21, 2025 21:46
@bidetofevil bidetofevil requested review from fractalwrench and removed request for a team January 21, 2025 21:46
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.25%. Comparing base (c296d8d) to head (20bc609).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1834      +/-   ##
==========================================
- Coverage   85.53%   85.25%   -0.29%     
==========================================
  Files         473      473              
  Lines       11069    11069              
  Branches     1654     1654              
==========================================
- Hits         9468     9437      -31     
- Misses        865      894      +29     
- Partials      736      738       +2     
Files with missing lines Coverage Δ
.../embracesdk/internal/capture/activity/UiLoadExt.kt 92.04% <100.00%> (-6.82%) ⬇️

... and 5 files with indirect coverage changes

Copy link
Collaborator Author

bidetofevil commented Jan 22, 2025

Merge activity

  • Jan 22, 4:04 PM EST: A user started a stack merge that includes this pull request via Graphite.
  • Jan 22, 4:06 PM EST: Graphite rebased this pull request as part of a merge.
  • Jan 22, 4:18 PM EST: A user merged this pull request with Graphite.

@bidetofevil bidetofevil changed the base branch from hho/ui-api-check to graphite-base/1834 January 22, 2025 21:04
@bidetofevil bidetofevil changed the base branch from graphite-base/1834 to main January 22, 2025 21:04
@bidetofevil bidetofevil force-pushed the hho/disable-render-event branch from 4eb3c18 to 20bc609 Compare January 22, 2025 21:05
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@bidetofevil bidetofevil merged commit f183f02 into main Jan 22, 2025
8 checks passed
@bidetofevil bidetofevil deleted the hho/disable-render-event branch January 22, 2025 21:18
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.

2 participants