firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

Realtime rc failsafe

Open qdpham13 opened this issue 3 years ago • 4 comments
trafficstars

Add back off flag to Realtime. If enabled, this will prevent Realtime from working until the app restarts. Backend will have a new field called featureDisabled added to stream response. If this field is enabled, this will set stop Realtime from working until the next time the app is restarted. The current back off state in the SDK will be represented by the flag isBackoffEnabled.

qdpham13 avatar Aug 03 '22 22:08 qdpham13

Unit Test Results

1 214 tests  +2   1 214 :heavy_check_mark: +2   1m 58s :stopwatch: -16s      61 suites ±0          0 :zzz: ±0       61 files   ±0          0 :x: ±0 

Results for commit d6d03d4c. ± Comparison against base commit 6150f7b2.

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

github-actions[bot] avatar Aug 03 '22 22:08 github-actions[bot]

Coverage Report 1

Affected Products

  • firebase-config

    Overall coverage changed from ? (6150f7b) to 77.23% (6abb00b) by ?.

    30 individual files with coverage change

    FilenameBase (6150f7b)Merge (6abb00b)Diff
    Code.java?0.00%?
    ConfigAutoFetch.java?91.01%?
    ConfigCacheClient.java?93.33%?
    ConfigContainer.java?93.06%?
    ConfigFetchHandler.java?95.36%?
    ConfigFetchHttpClient.java?84.83%?
    ConfigGetParameterHandler.java?96.45%?
    ConfigMetadataClient.java?90.11%?
    ConfigRealtimeHandler.java?23.40%?
    ConfigRealtimeHttpClient.java?0.00%?
    ConfigStorageClient.java?100.00%?
    ConfigUpdateListener.java?0.00%?
    ConfigUpdateListenerRegistration.java?0.00%?
    DefaultsXmlParser.java?0.00%?
    FirebaseRemoteConfig.java?89.38%?
    FirebaseRemoteConfigClientException.java?100.00%?
    FirebaseRemoteConfigException.java?100.00%?
    FirebaseRemoteConfigFetchThrottledException.java?100.00%?
    FirebaseRemoteConfigInfo.java?0.00%?
    FirebaseRemoteConfigInfoImpl.java?100.00%?
    FirebaseRemoteConfigRealtimeUpdateFetchException.java?100.00%?
    FirebaseRemoteConfigRealtimeUpdateStreamException.java?50.00%?
    FirebaseRemoteConfigServerException.java?100.00%?
    FirebaseRemoteConfigSettings.java?61.54%?
    FirebaseRemoteConfigValue.java?0.00%?
    FirebaseRemoteConfigValueImpl.java?84.62%?
    Personalization.java?91.43%?
    RemoteConfigComponent.java?75.31%?
    RemoteConfigConstants.java?0.00%?
    RemoteConfigRegistrar.java?100.00%?

Test Logs

Notes

  • Commit (6abb00b) is created by Prow via merging PR base commit (6150f7b) and head commit (d6d03d4).
  • Run gradle <product>:checkCoverage to produce HTML coverage reports locally. After gradle commands finished, report files can be found under <product-build-dir>/reports/jacoco/.

google-oss-bot avatar Aug 03 '22 22:08 google-oss-bot

Size Report 1

Affected Products

  • firebase-config

    TypeBase (6150f7b)Merge (6abb00b)Diff
    aar81.6 kB82.5 kB+883 B (+1.1%)
    apk (release)749 kB750 kB+448 B (+0.1%)

Test Logs

Notes

  • Commit (6abb00b) is created by Prow via merging PR base commit (6150f7b) and head commit (d6d03d4).

google-oss-bot avatar Aug 03 '22 22:08 google-oss-bot

/test smoke-tests

qdpham13 avatar Aug 03 '22 22:08 qdpham13

/test smoke-tests

qdpham13 avatar Aug 12 '22 22:08 qdpham13