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

Support async init of features #1053

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Conversation

fractalwrench
Copy link
Contributor

Goal

Supports the async initialization of features in Embrace. While this changeset does not alter any feature to be initialized async it creates the infrastructure to do so.

Testing

Added unit test coverage.

@fractalwrench fractalwrench requested a review from a team as a code owner July 5, 2024 08:11
Copy link

codecov bot commented Jul 5, 2024

Codecov Report

Attention: Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.71%. Comparing base (cb516cb) to head (f74be1c).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1053   +/-   ##
=======================================
  Coverage   79.70%   79.71%           
=======================================
  Files         416      416           
  Lines       10776    10786   +10     
  Branches     1764     1766    +2     
=======================================
+ Hits         8589     8598    +9     
+ Misses       1405     1404    -1     
- Partials      782      784    +2     
Files Coverage Δ
...roid/embracesdk/arch/datasource/DataSourceState.kt 91.30% <100.00%> (+0.39%) ⬆️
...e/android/embracesdk/injection/DataSourceModule.kt 100.00% <100.00%> (ø)
...android/embracesdk/arch/DataCaptureOrchestrator.kt 79.16% <88.88%> (+6.94%) ⬆️

... and 1 file with indirect coverage changes

Copy link
Collaborator

@bidetofevil bidetofevil left a comment

Choose a reason for hiding this comment

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

LGTM. Can't wait to see the init perfetto trace

@fractalwrench fractalwrench force-pushed the avoid-eager-init branch 2 times, most recently from d877205 to cb516cb Compare July 9, 2024 08:26
Base automatically changed from avoid-eager-init to master July 9, 2024 09:00
@fractalwrench fractalwrench force-pushed the poc-async-feature-init branch from 3adaa47 to f74be1c Compare July 9, 2024 09:00
Copy link
Contributor

github-actions bot commented Jul 9, 2024

Dependency Review

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

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@fractalwrench fractalwrench merged commit cc3d2c8 into master Jul 9, 2024
5 checks passed
@fractalwrench fractalwrench deleted the poc-async-feature-init branch July 9, 2024 09:19
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