Skip to content

Fix a bunch of warnings on this class so that bryan can continue to have vimean superpowers. #5413

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

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

jrothfeder
Copy link
Contributor

No description provided.

@jrothfeder jrothfeder changed the base branch from master to sessions-nine October 12, 2023 21:07
@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 2023

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).

Copy link
Contributor

@bryanatkinson bryanatkinson left a comment

Choose a reason for hiding this comment

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

Haha, thanks :)

@google-oss-bot
Copy link
Contributor

Coverage Report 1

Affected Products

  • firebase-sessions

    Overall coverage changed from 75.04% (15c3197) to 59.95% (6da1784) by -15.09%.

    FilenameBase (15c3197)Merge (6da1784)Diff
    Comparisons.kt?0.00%?
    Emitters.kt?0.00%?
    FirebaseSessionsRegistrar.kt76.00%76.19%+0.19%
    SafeCollector.common.kt?0.00%?
    SessionDatastore.kt?0.00%?
    SessionFirelogPublisher.kt?66.67%?
    SessionLifecycleClient.kt?0.00%?
    SessionLifecycleService.kt?0.00%?
    SessionMaintainer.kt?0.00%?

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/MBX7rOwhLK.html

@github-actions
Copy link
Contributor

Unit Test Results

     83 files  +  21       83 suites  +21   2m 38s ⏱️ - 4m 38s
1 044 tests +571  1 043 ✔️ +570  0 💤 ±0  1 +1 
1 113 runs  +161  1 112 ✔️ +160  0 💤 ±0  1 +1 

For more details on these failures, see this check.

Results for commit 6d09ed6. ± Comparison against base commit 15c3197.

This pull request removes 473 and adds 1044 tests. Note that renamed tests count towards both.
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testBindsService_oAndTargetingO
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testNoWrappedIntent
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testNullIntent
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_OTargetingO_highPriority
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_fallsBackToBindService
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO[19]
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO[21]
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO[22]
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO[23]
…
com.google.firebase.crashlytics.internal.common.CrashlyticsControllerRobolectricTest ‑ testDoCloseSession_disabledAnrs_doesNotPersistsAppExitInfo
com.google.firebase.crashlytics.internal.common.CrashlyticsControllerRobolectricTest ‑ testDoCloseSession_enabledAnrs_doesNotPersistsAppExitInfoIfItDoesntExist
com.google.firebase.crashlytics.internal.common.CrashlyticsControllerRobolectricTest ‑ testDoCloseSession_enabledAnrs_persistsAppExitInfoIfItExists
com.google.firebase.crashlytics.internal.common.SessionReportingCoordinatorRobolectricTest ‑ testAppExitInfoEvent_notPersistIfAnrBeforeSession
com.google.firebase.crashlytics.internal.common.SessionReportingCoordinatorRobolectricTest ‑ testAppExitInfoEvent_notPersistIfAppExitInfoNotAnrButWithinSession
com.google.firebase.crashlytics.internal.common.SessionReportingCoordinatorRobolectricTest ‑ testAppExitInfoEvent_persistIfAnrWithinSession
com.google.firebase.crashlytics.internal.common.SessionReportingCoordinatorRobolectricTest ‑ testAppExitInfoEvent_persistIfAnrWithinSession_multipleAppExitInfo
com.google.firebase.crashlytics.internal.common.SessionReportingCoordinatorRobolectricTest ‑ testconvertInputStreamToString_worksSuccessfully
com.google.firebase.crashlytics.internal.model.CrashlyticsReportTest ‑ testGetBinaryImageUuidUtf8Bytes_returnsNullWhenUuidIsNull
com.google.firebase.crashlytics.internal.model.CrashlyticsReportTest ‑ testGetBinaryImageUuidUtf8Bytes_returnsProperBytes
…

@google-oss-bot
Copy link
Contributor

Size Report 1

Affected Products

  • firebase-sessions

    TypeBase (15c3197)Merge (6da1784)Diff
    aar108 kB140 kB+32.3 kB (+29.9%)
    apk (aggressive)365 kB366 kB+960 B (+0.3%)
    apk (release)2.07 MB2.08 MB+10.4 kB (+0.5%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/k9yOm1VQS6.html

@google-oss-bot
Copy link
Contributor

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

  • fire-cls

    DeviceStatisticsDistributions
    oriole-32
    Percentile15c31976da1784DiffSignificant (?)
    p1017.4 ±6 ms13.1 ±6 ms-4.27 ms (-24.5%)NO
    p2518.6 ±6 ms14.1 ±6 ms-4.50 ms (-24.2%)NO
    p5020.0 ±6 ms15.6 ±7 ms-4.46 ms (-22.2%)NO
    p7521.7 ±6 ms17.6 ±8 ms-4.10 ms (-18.9%)NO
    p9023.5 ±7 ms19.7 ±8 ms-3.82 ms (-16.2%)NO

    20 test runs in comparison
    CommitTest Runs
    15c3197
    • 2023-10-12_20:00:58.341116_envM
    • 2023-10-12_20:00:58.344468_FIwZ
    • 2023-10-12_20:00:58.344483_xSun
    • 2023-10-12_20:00:58.344491_aLZt
    • 2023-10-12_20:00:58.344497_uIdG
    • 2023-10-12_20:00:58.344508_Ubra
    • 2023-10-12_20:00:58.344515_nRAr
    • 2023-10-12_20:00:58.344521_bsGK
    • 2023-10-12_20:00:58.344528_TQfk
    • 2023-10-12_20:00:58.344534_wQeT
    6da1784
    • 2023-10-12_21:25:31.940159_eKOL
    • 2023-10-12_21:25:31.944055_MCVM
    • 2023-10-12_21:25:31.944068_VZXQ
    • 2023-10-12_21:25:31.944075_ckiv
    • 2023-10-12_21:25:31.944081_hJlx
    • 2023-10-12_21:25:31.944086_yCru
    • 2023-10-12_21:25:31.944092_Lsdk
    • 2023-10-12_21:25:31.944097_zOnU
    • 2023-10-12_21:25:31.944103_cqgF
    • 2023-10-12_21:25:31.944108_TgsQ
    redfin-30
    Percentile15c31976da1784DiffSignificant (?)
    p1022.6 ±10 ms21.0 ±9.7 ms-1.55 ms (-6.9%)NO
    p2523.8 ±11 ms22.4 ±11 ms-1.39 ms (-5.9%)NO
    p5025.6 ±12 ms24.6 ±12 ms-989 μs (-3.9%)NO
    p7528.3 ±13 ms27.6 ±14 ms-677 μs (-2.4%)NO
    p9031.9 ±14 ms30.4 ±15 ms-1.53 ms (-4.8%)NO

    20 test runs in comparison
    CommitTest Runs
    15c3197
    • 2023-10-12_20:00:58.341116_envM
    • 2023-10-12_20:00:58.344468_FIwZ
    • 2023-10-12_20:00:58.344483_xSun
    • 2023-10-12_20:00:58.344491_aLZt
    • 2023-10-12_20:00:58.344497_uIdG
    • 2023-10-12_20:00:58.344508_Ubra
    • 2023-10-12_20:00:58.344515_nRAr
    • 2023-10-12_20:00:58.344521_bsGK
    • 2023-10-12_20:00:58.344528_TQfk
    • 2023-10-12_20:00:58.344534_wQeT
    6da1784
    • 2023-10-12_21:25:31.940159_eKOL
    • 2023-10-12_21:25:31.944055_MCVM
    • 2023-10-12_21:25:31.944068_VZXQ
    • 2023-10-12_21:25:31.944075_ckiv
    • 2023-10-12_21:25:31.944081_hJlx
    • 2023-10-12_21:25:31.944086_yCru
    • 2023-10-12_21:25:31.944092_Lsdk
    • 2023-10-12_21:25:31.944097_zOnU
    • 2023-10-12_21:25:31.944103_cqgF
    • 2023-10-12_21:25:31.944108_TgsQ
  • fire-perf

    DeviceStatisticsDistributions
    oriole-32
    Percentile15c31976da1784DiffSignificant (?)
    p10267 ±19 μs254 ±21 μs-13.2 μs (-4.9%)NO
    p25282 ±19 μs264 ±19 μs-17.3 μs (-6.1%)NO
    p50302 ±20 μs283 ±20 μs-19.0 μs (-6.3%)NO
    p75338 ±23 μs316 ±19 μs-21.9 μs (-6.5%)NO
    p90393 ±43 μs371 ±24 μs-22.0 μs (-5.6%)NO

    20 test runs in comparison
    CommitTest Runs
    15c3197
    • 2023-10-12_20:00:58.341116_envM
    • 2023-10-12_20:00:58.344468_FIwZ
    • 2023-10-12_20:00:58.344483_xSun
    • 2023-10-12_20:00:58.344491_aLZt
    • 2023-10-12_20:00:58.344497_uIdG
    • 2023-10-12_20:00:58.344508_Ubra
    • 2023-10-12_20:00:58.344515_nRAr
    • 2023-10-12_20:00:58.344521_bsGK
    • 2023-10-12_20:00:58.344528_TQfk
    • 2023-10-12_20:00:58.344534_wQeT
    6da1784
    • 2023-10-12_21:25:31.940159_eKOL
    • 2023-10-12_21:25:31.944055_MCVM
    • 2023-10-12_21:25:31.944068_VZXQ
    • 2023-10-12_21:25:31.944075_ckiv
    • 2023-10-12_21:25:31.944081_hJlx
    • 2023-10-12_21:25:31.944086_yCru
    • 2023-10-12_21:25:31.944092_Lsdk
    • 2023-10-12_21:25:31.944097_zOnU
    • 2023-10-12_21:25:31.944103_cqgF
    • 2023-10-12_21:25:31.944108_TgsQ
    redfin-30
    Percentile15c31976da1784DiffSignificant (?)
    p10724 ±90 μs703 ±83 μs-20.5 μs (-2.8%)NO
    p25757 ±84 μs748 ±80 μs-8.77 μs (-1.2%)NO
    p50817 ±77 μs814 ±72 μs-2.74 μs (-0.3%)NO
    p75897 ±82 μs936 ±105 μs+39.0 μs (+4.4%)NO
    p901.05 ±0.09 ms1.07 ±0.1 ms+26.7 μs (+2.5%)NO

    20 test runs in comparison
    CommitTest Runs
    15c3197
    • 2023-10-12_20:00:58.341116_envM
    • 2023-10-12_20:00:58.344468_FIwZ
    • 2023-10-12_20:00:58.344483_xSun
    • 2023-10-12_20:00:58.344491_aLZt
    • 2023-10-12_20:00:58.344497_uIdG
    • 2023-10-12_20:00:58.344508_Ubra
    • 2023-10-12_20:00:58.344515_nRAr
    • 2023-10-12_20:00:58.344521_bsGK
    • 2023-10-12_20:00:58.344528_TQfk
    • 2023-10-12_20:00:58.344534_wQeT
    6da1784
    • 2023-10-12_21:25:31.940159_eKOL
    • 2023-10-12_21:25:31.944055_MCVM
    • 2023-10-12_21:25:31.944068_VZXQ
    • 2023-10-12_21:25:31.944075_ckiv
    • 2023-10-12_21:25:31.944081_hJlx
    • 2023-10-12_21:25:31.944086_yCru
    • 2023-10-12_21:25:31.944092_Lsdk
    • 2023-10-12_21:25:31.944097_zOnU
    • 2023-10-12_21:25:31.944103_cqgF
    • 2023-10-12_21:25:31.944108_TgsQ
  • fire-sessions

    DeviceStatisticsDistributions
    oriole-32
    Percentile15c31976da1784DiffSignificant (?)
    p108.06 ±1 ms9.43 ±1 ms+1.37 ms (+17.0%)NO
    p258.57 ±1 ms9.93 ±1 ms+1.36 ms (+15.9%)NO
    p509.25 ±1 ms10.8 ±1 ms+1.58 ms (+17.0%)NO
    p7510.2 ±1 ms12.2 ±2 ms+2.06 ms (+20.3%)NO
    p9011.3 ±1 ms14.1 ±3 ms+2.74 ms (+24.2%)NO

    20 test runs in comparison
    CommitTest Runs
    15c3197
    • 2023-10-12_20:00:58.341116_envM
    • 2023-10-12_20:00:58.344468_FIwZ
    • 2023-10-12_20:00:58.344483_xSun
    • 2023-10-12_20:00:58.344491_aLZt
    • 2023-10-12_20:00:58.344497_uIdG
    • 2023-10-12_20:00:58.344508_Ubra
    • 2023-10-12_20:00:58.344515_nRAr
    • 2023-10-12_20:00:58.344521_bsGK
    • 2023-10-12_20:00:58.344528_TQfk
    • 2023-10-12_20:00:58.344534_wQeT
    6da1784
    • 2023-10-12_21:25:31.940159_eKOL
    • 2023-10-12_21:25:31.944055_MCVM
    • 2023-10-12_21:25:31.944068_VZXQ
    • 2023-10-12_21:25:31.944075_ckiv
    • 2023-10-12_21:25:31.944081_hJlx
    • 2023-10-12_21:25:31.944086_yCru
    • 2023-10-12_21:25:31.944092_Lsdk
    • 2023-10-12_21:25:31.944097_zOnU
    • 2023-10-12_21:25:31.944103_cqgF
    • 2023-10-12_21:25:31.944108_TgsQ
    redfin-30
    Percentile15c31976da1784DiffSignificant (?)
    p1013.0 ±3 ms15.3 ±3 ms+2.31 ms (+17.8%)NO
    p2514.0 ±4 ms16.9 ±4 ms+2.96 ms (+21.2%)NO
    p5015.8 ±5 ms19.9 ±5 ms+4.09 ms (+25.8%)NO
    p7519.4 ±6 ms24.2 ±4 ms+4.87 ms (+25.2%)NO
    p9023.3 ±5 ms27.3 ±5 ms+4.10 ms (+17.6%)NO

    20 test runs in comparison
    CommitTest Runs
    15c3197
    • 2023-10-12_20:00:58.341116_envM
    • 2023-10-12_20:00:58.344468_FIwZ
    • 2023-10-12_20:00:58.344483_xSun
    • 2023-10-12_20:00:58.344491_aLZt
    • 2023-10-12_20:00:58.344497_uIdG
    • 2023-10-12_20:00:58.344508_Ubra
    • 2023-10-12_20:00:58.344515_nRAr
    • 2023-10-12_20:00:58.344521_bsGK
    • 2023-10-12_20:00:58.344528_TQfk
    • 2023-10-12_20:00:58.344534_wQeT
    6da1784
    • 2023-10-12_21:25:31.940159_eKOL
    • 2023-10-12_21:25:31.944055_MCVM
    • 2023-10-12_21:25:31.944068_VZXQ
    • 2023-10-12_21:25:31.944075_ckiv
    • 2023-10-12_21:25:31.944081_hJlx
    • 2023-10-12_21:25:31.944086_yCru
    • 2023-10-12_21:25:31.944092_Lsdk
    • 2023-10-12_21:25:31.944097_zOnU
    • 2023-10-12_21:25:31.944103_cqgF
    • 2023-10-12_21:25:31.944108_TgsQ
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile15c31976da1784DiffSignificant (?)
    p10204 ±5 ms209 ±3 ms+5.25 ms (+2.6%)NO
    p25209 ±6 ms215 ±4 ms+6.07 ms (+2.9%)NO
    p50217 ±6 ms223 ±5 ms+6.14 ms (+2.8%)NO
    p75225 ±7 ms233 ±7 ms+7.63 ms (+3.4%)NO
    p90234 ±6 ms242 ±9 ms+8.07 ms (+3.4%)NO

    20 test runs in comparison
    CommitTest Runs
    15c3197
    • 2023-10-12_20:00:58.341116_envM
    • 2023-10-12_20:00:58.344468_FIwZ
    • 2023-10-12_20:00:58.344483_xSun
    • 2023-10-12_20:00:58.344491_aLZt
    • 2023-10-12_20:00:58.344497_uIdG
    • 2023-10-12_20:00:58.344508_Ubra
    • 2023-10-12_20:00:58.344515_nRAr
    • 2023-10-12_20:00:58.344521_bsGK
    • 2023-10-12_20:00:58.344528_TQfk
    • 2023-10-12_20:00:58.344534_wQeT
    6da1784
    • 2023-10-12_21:25:31.940159_eKOL
    • 2023-10-12_21:25:31.944055_MCVM
    • 2023-10-12_21:25:31.944068_VZXQ
    • 2023-10-12_21:25:31.944075_ckiv
    • 2023-10-12_21:25:31.944081_hJlx
    • 2023-10-12_21:25:31.944086_yCru
    • 2023-10-12_21:25:31.944092_Lsdk
    • 2023-10-12_21:25:31.944097_zOnU
    • 2023-10-12_21:25:31.944103_cqgF
    • 2023-10-12_21:25:31.944108_TgsQ
    redfin-30
    Percentile15c31976da1784DiffSignificant (?)
    p10247 ±12 ms270 ±6 ms+23.2 ms (+9.4%)NO
    p25254 ±13 ms278 ±8 ms+24.1 ms (+9.5%)NO
    p50262 ±14 ms288 ±8 ms+25.7 ms (+9.8%)NO
    p75272 ±16 ms298 ±9 ms+26.2 ms (+9.6%)NO
    p90285 ±23 ms312 ±11 ms+27.4 ms (+9.6%)NO

    20 test runs in comparison
    CommitTest Runs
    15c3197
    • 2023-10-12_20:00:58.341116_envM
    • 2023-10-12_20:00:58.344468_FIwZ
    • 2023-10-12_20:00:58.344483_xSun
    • 2023-10-12_20:00:58.344491_aLZt
    • 2023-10-12_20:00:58.344497_uIdG
    • 2023-10-12_20:00:58.344508_Ubra
    • 2023-10-12_20:00:58.344515_nRAr
    • 2023-10-12_20:00:58.344521_bsGK
    • 2023-10-12_20:00:58.344528_TQfk
    • 2023-10-12_20:00:58.344534_wQeT
    6da1784
    • 2023-10-12_21:25:31.940159_eKOL
    • 2023-10-12_21:25:31.944055_MCVM
    • 2023-10-12_21:25:31.944068_VZXQ
    • 2023-10-12_21:25:31.944075_ckiv
    • 2023-10-12_21:25:31.944081_hJlx
    • 2023-10-12_21:25:31.944086_yCru
    • 2023-10-12_21:25:31.944092_Lsdk
    • 2023-10-12_21:25:31.944097_zOnU
    • 2023-10-12_21:25:31.944103_cqgF
    • 2023-10-12_21:25:31.944108_TgsQ

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/pkSyOFVjHE/index.html

@jrothfeder jrothfeder merged commit 42ec418 into sessions-nine Oct 13, 2023
@jrothfeder jrothfeder deleted the fix-bryans-warnings branch October 13, 2023 13:32
@firebase firebase locked and limited conversation to collaborators Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants