firebase / firebase-android-sdk

Firebase Android SDK
https://firebase.google.com
Apache License 2.0
2.26k stars 573 forks source link

Add a CrashlyticsWorkers container to manage the workers #6178

Closed mrober closed 1 month ago

mrober commented 1 month ago

Add a CrashlyticsWorkers container to manage the workers, and define what each one is for. Also added a submitTaskOnSuccess method for convenience. This will be useful for any of the user actions that get triggered by send unsent reports.

Also found and fixed a bug in the worker queue. If a task gets cancelled and is followed by a runnable or callable already in the queue, it would have been skipped. Now it's not a problem, and a test case added.

github-actions[bot] commented 1 month ago

Release note changes

No release note changes were detected. If you made changes that should be present in the next release, ensure you've added an entry in the appropriate CHANGELOG.md file(s).

google-oss-bot commented 1 month ago

<!DOCTYPE html>

Coverage Report 1

Affected Products

Test Logs

github-actions[bot] commented 1 month ago

Unit Test Results

  8 files   -    178    8 suites   - 178   27s :stopwatch: - 4m 12s 22 tests  - 1 212  22 :heavy_check_mark:  - 1 196  0 :zzz:  - 16  0 :x: ±0  44 runs   - 2 448  44 :heavy_check_mark:  - 2 416  0 :zzz:  - 32  0 :x: ±0 

Results for commit 03fb48d4. ± Comparison against base commit 08deb691.

:recycle: This comment has been updated with latest results.

google-oss-bot commented 1 month ago

<!DOCTYPE html>

Size Report 1

Affected Products

Test Logs

google-oss-bot commented 1 month ago

<!DOCTYPE html>

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Notes

Startup Times

mrober commented 1 month ago

4345