Skip to content

fix more strict mode violation #6937

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
May 5, 2025
Merged

fix more strict mode violation #6937

merged 1 commit into from
May 5, 2025

Conversation

themiswang
Copy link
Contributor

@themiswang themiswang commented May 5, 2025

#no-changelog

@themiswang themiswang requested a review from mrober May 5, 2025 17:38
Copy link
Contributor

github-actions bot commented May 5, 2025

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

Copy link
Contributor

github-actions bot commented May 5, 2025

Vertex AI Mock Responses Check ⚠️

A newer major version of the mock responses for Vertex AI unit tests is available. update_responses.sh should be updated to clone the latest version of the responses: v11.1

@firebase firebase deleted a comment from google-oss-bot May 5, 2025
@google-oss-bot
Copy link
Contributor

Size Report 1

Affected Products

  • firebase-crashlytics

    TypeBase (0a880cc)Merge (d0ed7ec)Diff
    aar415 kB416 kB+167 B (+0.0%)
    apk (aggressive)785 kB785 kB+132 B (+0.0%)
    apk (release)6.65 MB6.65 MB+132 B (+0.0%)

Test Logs

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

Copy link
Contributor

github-actions bot commented May 5, 2025

Test Results

 8 files   -  14   8 suites   - 14   20s ⏱️ -14s
22 tests  -  78  22 ✅  -  78  0 💤 ±0  0 ❌ ±0 
44 runs   - 156  44 ✅  - 156  0 💤 ±0  0 ❌ ±0 

Results for commit 6a3ccbc. ± Comparison against base commit 0a880cc.

This pull request removes 100 and adds 22 tests. Note that renamed tests count towards both.
com.google.firebase.ai.DevAPIStreamingSnapshotTests ‑ citation parsed correctly
com.google.firebase.ai.DevAPIStreamingSnapshotTests ‑ image rejected
com.google.firebase.ai.DevAPIStreamingSnapshotTests ‑ long reply
com.google.firebase.ai.DevAPIStreamingSnapshotTests ‑ prompt blocked for safety
com.google.firebase.ai.DevAPIStreamingSnapshotTests ‑ short reply
com.google.firebase.ai.DevAPIStreamingSnapshotTests ‑ stopped for recitation
com.google.firebase.ai.DevAPIUnarySnapshotTests ‑ citation returns correctly
com.google.firebase.ai.DevAPIUnarySnapshotTests ‑ invalid api key
com.google.firebase.ai.DevAPIUnarySnapshotTests ‑ long reply
com.google.firebase.ai.DevAPIUnarySnapshotTests ‑ response blocked for safety
…
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.DataCollectionArbiterRobolectricTest ‑ testDefaultDataCollection_usedWhenNoOverrideOrManifestSetting
com.google.firebase.crashlytics.internal.common.DataCollectionArbiterRobolectricTest ‑ testManifestMetadata_respectedWhenNoOverride
com.google.firebase.crashlytics.internal.common.DataCollectionArbiterRobolectricTest ‑ testSetCrashlyticsDataCollectionEnabled_overridesOtherSettings
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
…

@themiswang themiswang merged commit f5ec0a6 into main May 5, 2025
45 checks passed
@themiswang themiswang deleted the moreStrictMode branch May 5, 2025 18:07
@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
    Percentile0a880ccd0ed7ecDiffSignificant (?)
    p109.19 ±2 ms8.32 ±0.5 ms-868 μs (-9.4%)NO
    p259.77 ±2 ms8.85 ±0.5 ms-916 μs (-9.4%)NO
    p5010.7 ±2 ms9.66 ±0.6 ms-1.01 ms (-9.5%)NO
    p7511.8 ±2 ms10.6 ±0.7 ms-1.16 ms (-9.9%)NO
    p9013.1 ±2 ms11.9 ±0.8 ms-1.13 ms (-8.7%)NO

    20 test runs in comparison
    CommitTest Runs
    0a880cc
    • 2025-05-01_22:24:39.654561_vcIC
    • 2025-05-01_22:24:39.654622_MJFO
    • 2025-05-01_22:24:39.654634_QIyf
    • 2025-05-01_22:24:39.654642_mpdI
    • 2025-05-01_22:24:39.654649_ZYgA
    • 2025-05-01_22:24:39.654657_jRtF
    • 2025-05-01_22:24:39.654674_NClG
    • 2025-05-01_22:24:39.654682_GTUC
    • 2025-05-01_22:24:39.654688_wHwo
    • 2025-05-01_22:24:39.654694_iiia
    d0ed7ec
    • 2025-05-05_17:56:12.430085_aoAo
    • 2025-05-05_17:56:12.430125_jPOl
    • 2025-05-05_17:56:12.430137_aSlz
    • 2025-05-05_17:56:12.430145_afyx
    • 2025-05-05_17:56:12.430151_QLEe
    • 2025-05-05_17:56:12.430159_LLVy
    • 2025-05-05_17:56:12.430171_XXYY
    • 2025-05-05_17:56:12.430177_WFth
    • 2025-05-05_17:56:12.430184_hLxt
    • 2025-05-05_17:56:12.430190_PISy
    redfin-30
    Percentile0a880ccd0ed7ecDiffSignificant (?)
    p1011.1 ±2 ms11.3 ±4 ms+264 μs (+2.4%)NO
    p2511.7 ±2 ms11.9 ±5 ms+208 μs (+1.8%)NO
    p5012.7 ±3 ms12.8 ±6 ms+141 μs (+1.1%)NO
    p7514.0 ±4 ms14.0 ±7 ms+57.3 μs (+0.4%)NO
    p9015.9 ±5 ms15.8 ±7 ms-139 μs (-0.9%)NO

    20 test runs in comparison
    CommitTest Runs
    0a880cc
    • 2025-05-01_22:24:39.654561_vcIC
    • 2025-05-01_22:24:39.654622_MJFO
    • 2025-05-01_22:24:39.654634_QIyf
    • 2025-05-01_22:24:39.654642_mpdI
    • 2025-05-01_22:24:39.654649_ZYgA
    • 2025-05-01_22:24:39.654657_jRtF
    • 2025-05-01_22:24:39.654674_NClG
    • 2025-05-01_22:24:39.654682_GTUC
    • 2025-05-01_22:24:39.654688_wHwo
    • 2025-05-01_22:24:39.654694_iiia
    d0ed7ec
    • 2025-05-05_17:56:12.430085_aoAo
    • 2025-05-05_17:56:12.430125_jPOl
    • 2025-05-05_17:56:12.430137_aSlz
    • 2025-05-05_17:56:12.430145_afyx
    • 2025-05-05_17:56:12.430151_QLEe
    • 2025-05-05_17:56:12.430159_LLVy
    • 2025-05-05_17:56:12.430171_XXYY
    • 2025-05-05_17:56:12.430177_WFth
    • 2025-05-05_17:56:12.430184_hLxt
    • 2025-05-05_17:56:12.430190_PISy
  • fire-rc

    DeviceStatisticsDistributions
    oriole-32
    Percentile0a880ccd0ed7ecDiffSignificant (?)
    p10473 ±756 μs476 ±743 μs+3.41 μs (+0.7%)NO
    p25504 ±805 μs499 ±769 μs-5.14 μs (-1.0%)NO
    p50556 ±882 μs548 ±835 μs-7.16 μs (-1.3%)NO
    p75638 ±989 μs654 ±968 μs+15.6 μs (+2.5%)NO
    p90790 ±1227 μs821 ±1192 μs+30.9 μs (+3.9%)NO

    20 test runs in comparison
    CommitTest Runs
    0a880cc
    • 2025-05-01_22:24:39.654561_vcIC
    • 2025-05-01_22:24:39.654622_MJFO
    • 2025-05-01_22:24:39.654634_QIyf
    • 2025-05-01_22:24:39.654642_mpdI
    • 2025-05-01_22:24:39.654649_ZYgA
    • 2025-05-01_22:24:39.654657_jRtF
    • 2025-05-01_22:24:39.654674_NClG
    • 2025-05-01_22:24:39.654682_GTUC
    • 2025-05-01_22:24:39.654688_wHwo
    • 2025-05-01_22:24:39.654694_iiia
    d0ed7ec
    • 2025-05-05_17:56:12.430085_aoAo
    • 2025-05-05_17:56:12.430125_jPOl
    • 2025-05-05_17:56:12.430137_aSlz
    • 2025-05-05_17:56:12.430145_afyx
    • 2025-05-05_17:56:12.430151_QLEe
    • 2025-05-05_17:56:12.430159_LLVy
    • 2025-05-05_17:56:12.430171_XXYY
    • 2025-05-05_17:56:12.430177_WFth
    • 2025-05-05_17:56:12.430184_hLxt
    • 2025-05-05_17:56:12.430190_PISy
    redfin-30
    Percentile0a880ccd0ed7ecDiffSignificant (?)
    p10477 ±552 μs167 ±80 μs-310 μs (-65.1%)NO
    p25536 ±639 μs178 ±91 μs-358 μs (-66.7%)NO
    p50627 ±768 μs199 ±116 μs-428 μs (-68.3%)NO
    p75783 ±961 μs248 ±191 μs-535 μs (-68.4%)NO
    p901.04 ±1 ms338 ±325 μs-699 μs (-67.4%)NO

    20 test runs in comparison
    CommitTest Runs
    0a880cc
    • 2025-05-01_22:24:39.654561_vcIC
    • 2025-05-01_22:24:39.654622_MJFO
    • 2025-05-01_22:24:39.654634_QIyf
    • 2025-05-01_22:24:39.654642_mpdI
    • 2025-05-01_22:24:39.654649_ZYgA
    • 2025-05-01_22:24:39.654657_jRtF
    • 2025-05-01_22:24:39.654674_NClG
    • 2025-05-01_22:24:39.654682_GTUC
    • 2025-05-01_22:24:39.654688_wHwo
    • 2025-05-01_22:24:39.654694_iiia
    d0ed7ec
    • 2025-05-05_17:56:12.430085_aoAo
    • 2025-05-05_17:56:12.430125_jPOl
    • 2025-05-05_17:56:12.430137_aSlz
    • 2025-05-05_17:56:12.430145_afyx
    • 2025-05-05_17:56:12.430151_QLEe
    • 2025-05-05_17:56:12.430159_LLVy
    • 2025-05-05_17:56:12.430171_XXYY
    • 2025-05-05_17:56:12.430177_WFth
    • 2025-05-05_17:56:12.430184_hLxt
    • 2025-05-05_17:56:12.430190_PISy
  • fire-sessions

    DeviceStatisticsDistributions
    oriole-32
    Percentile0a880ccd0ed7ecDiffSignificant (?)
    p102.48 ±1 ms1.97 ±0.5 ms-506 μs (-20.4%)NO
    p252.68 ±1 ms2.11 ±0.5 ms-563 μs (-21.0%)NO
    p502.99 ±1 ms2.43 ±0.5 ms-561 μs (-18.7%)NO
    p753.55 ±1 ms2.98 ±0.6 ms-575 μs (-16.2%)NO
    p904.26 ±1 ms3.90 ±0.6 ms-355 μs (-8.3%)NO

    20 test runs in comparison
    CommitTest Runs
    0a880cc
    • 2025-05-01_22:24:39.654561_vcIC
    • 2025-05-01_22:24:39.654622_MJFO
    • 2025-05-01_22:24:39.654634_QIyf
    • 2025-05-01_22:24:39.654642_mpdI
    • 2025-05-01_22:24:39.654649_ZYgA
    • 2025-05-01_22:24:39.654657_jRtF
    • 2025-05-01_22:24:39.654674_NClG
    • 2025-05-01_22:24:39.654682_GTUC
    • 2025-05-01_22:24:39.654688_wHwo
    • 2025-05-01_22:24:39.654694_iiia
    d0ed7ec
    • 2025-05-05_17:56:12.430085_aoAo
    • 2025-05-05_17:56:12.430125_jPOl
    • 2025-05-05_17:56:12.430137_aSlz
    • 2025-05-05_17:56:12.430145_afyx
    • 2025-05-05_17:56:12.430151_QLEe
    • 2025-05-05_17:56:12.430159_LLVy
    • 2025-05-05_17:56:12.430171_XXYY
    • 2025-05-05_17:56:12.430177_WFth
    • 2025-05-05_17:56:12.430184_hLxt
    • 2025-05-05_17:56:12.430190_PISy
    redfin-30
    Percentile0a880ccd0ed7ecDiffSignificant (?)
    p104.56 ±1 ms4.37 ±1 ms-198 μs (-4.3%)NO
    p255.02 ±1 ms4.74 ±1 ms-273 μs (-5.5%)NO
    p505.73 ±2 ms5.46 ±2 ms-269 μs (-4.7%)NO
    p756.64 ±3 ms6.34 ±4 ms-301 μs (-4.5%)NO
    p907.63 ±4 ms7.08 ±4 ms-551 μs (-7.2%)NO

    20 test runs in comparison
    CommitTest Runs
    0a880cc
    • 2025-05-01_22:24:39.654561_vcIC
    • 2025-05-01_22:24:39.654622_MJFO
    • 2025-05-01_22:24:39.654634_QIyf
    • 2025-05-01_22:24:39.654642_mpdI
    • 2025-05-01_22:24:39.654649_ZYgA
    • 2025-05-01_22:24:39.654657_jRtF
    • 2025-05-01_22:24:39.654674_NClG
    • 2025-05-01_22:24:39.654682_GTUC
    • 2025-05-01_22:24:39.654688_wHwo
    • 2025-05-01_22:24:39.654694_iiia
    d0ed7ec
    • 2025-05-05_17:56:12.430085_aoAo
    • 2025-05-05_17:56:12.430125_jPOl
    • 2025-05-05_17:56:12.430137_aSlz
    • 2025-05-05_17:56:12.430145_afyx
    • 2025-05-05_17:56:12.430151_QLEe
    • 2025-05-05_17:56:12.430159_LLVy
    • 2025-05-05_17:56:12.430171_XXYY
    • 2025-05-05_17:56:12.430177_WFth
    • 2025-05-05_17:56:12.430184_hLxt
    • 2025-05-05_17:56:12.430190_PISy
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile0a880ccd0ed7ecDiffSignificant (?)
    p10193 ±2 ms201 ±5 ms+7.69 ms (+4.0%)NO
    p25199 ±2 ms206 ±5 ms+7.49 ms (+3.8%)NO
    p50205 ±2 ms213 ±4 ms+8.09 ms (+3.9%)NO
    p75213 ±3 ms221 ±5 ms+8.40 ms (+3.9%)NO
    p90221 ±3 ms231 ±6 ms+9.89 ms (+4.5%)NO

    20 test runs in comparison
    CommitTest Runs
    0a880cc
    • 2025-05-01_22:24:39.654561_vcIC
    • 2025-05-01_22:24:39.654622_MJFO
    • 2025-05-01_22:24:39.654634_QIyf
    • 2025-05-01_22:24:39.654642_mpdI
    • 2025-05-01_22:24:39.654649_ZYgA
    • 2025-05-01_22:24:39.654657_jRtF
    • 2025-05-01_22:24:39.654674_NClG
    • 2025-05-01_22:24:39.654682_GTUC
    • 2025-05-01_22:24:39.654688_wHwo
    • 2025-05-01_22:24:39.654694_iiia
    d0ed7ec
    • 2025-05-05_17:56:12.430085_aoAo
    • 2025-05-05_17:56:12.430125_jPOl
    • 2025-05-05_17:56:12.430137_aSlz
    • 2025-05-05_17:56:12.430145_afyx
    • 2025-05-05_17:56:12.430151_QLEe
    • 2025-05-05_17:56:12.430159_LLVy
    • 2025-05-05_17:56:12.430171_XXYY
    • 2025-05-05_17:56:12.430177_WFth
    • 2025-05-05_17:56:12.430184_hLxt
    • 2025-05-05_17:56:12.430190_PISy
    redfin-30
    Percentile0a880ccd0ed7ecDiffSignificant (?)
    p10225 ±4 ms250 ±4 ms+24.5 ms (+10.9%)YES
    p25231 ±4 ms256 ±4 ms+25.6 ms (+11.1%)YES
    p50239 ±5 ms263 ±3 ms+24.4 ms (+10.2%)YES
    p75247 ±5 ms272 ±4 ms+24.9 ms (+10.1%)YES
    p90255 ±5 ms283 ±6 ms+27.7 ms (+10.8%)YES

    20 test runs in comparison
    CommitTest Runs
    0a880cc
    • 2025-05-01_22:24:39.654561_vcIC
    • 2025-05-01_22:24:39.654622_MJFO
    • 2025-05-01_22:24:39.654634_QIyf
    • 2025-05-01_22:24:39.654642_mpdI
    • 2025-05-01_22:24:39.654649_ZYgA
    • 2025-05-01_22:24:39.654657_jRtF
    • 2025-05-01_22:24:39.654674_NClG
    • 2025-05-01_22:24:39.654682_GTUC
    • 2025-05-01_22:24:39.654688_wHwo
    • 2025-05-01_22:24:39.654694_iiia
    d0ed7ec
    • 2025-05-05_17:56:12.430085_aoAo
    • 2025-05-05_17:56:12.430125_jPOl
    • 2025-05-05_17:56:12.430137_aSlz
    • 2025-05-05_17:56:12.430145_afyx
    • 2025-05-05_17:56:12.430151_QLEe
    • 2025-05-05_17:56:12.430159_LLVy
    • 2025-05-05_17:56:12.430171_XXYY
    • 2025-05-05_17:56:12.430177_WFth
    • 2025-05-05_17:56:12.430184_hLxt
    • 2025-05-05_17:56:12.430190_PISy

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants