Skip to content

Some improvements to the task caches #4519

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
Jan 4, 2023

Conversation

lfkellogg
Copy link
Contributor

  • The Task<Void> returned by the setValue(), setException(), etc. methods were not actually being resolved. They weren't being used yet but will be in a followup change.
  • Adds TaskCompletionSourceCache.isOngoing() which will support a followup change
  • Fleshes out the javadocs

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@google-oss-bot
Copy link
Contributor

Coverage Report 1

Affected Products

  • firebase-appdistribution

    Overall coverage changed from ? (0df8309) to 77.14% (3bf4b58) by ?.

    44 individual files with coverage change

    FilenameBase (0df8309)Merge (3bf4b58)Diff
    AabUpdater.java?98.67%?
    ApkInstaller.java?100.00%?
    ApkUpdater.java?93.07%?
    AppDistributionReleaseImpl.java?100.00%?
    AppDistributionReleaseInternal.java?100.00%?
    AppIconSource.java?84.62%?
    AutoValue_AppDistributionReleaseImpl.java?65.45%?
    AutoValue_AppDistributionReleaseInternal.java?71.58%?
    AutoValue_ImageUtils_ImageSize.java?35.00%?
    AutoValue_TesterApiDisabledErrorDetails.java?29.41%?
    AutoValue_TesterApiDisabledErrorDetails_HelpLink.java?54.17%?
    AutoValue_UpdateProgressImpl.java?65.96%?
    ErrorMessages.java?0.00%?
    FeedbackActivity.java?1.12%?
    FeedbackSender.java?84.62%?
    FirebaseAppDistributionExceptions.java?80.00%?
    FirebaseAppDistributionFileProvider.java?0.00%?
    FirebaseAppDistributionImpl.java?89.89%?
    FirebaseAppDistributionLifecycleNotifier.java?92.91%?
    FirebaseAppDistributionNotificationsManager.java?87.18%?
    FirebaseAppDistributionRegistrar.java?86.27%?
    FirebaseAppDistributionTesterApiClient.java?88.54%?
    HttpsUrlConnectionFactory.java?50.00%?
    ImageUtils.java?100.00%?
    InstallActivity.java?2.67%?
    LogWrapper.java?100.00%?
    NewReleaseFetcher.java?85.11%?
    PackageInfoUtils.java?42.86%?
    ReleaseIdentifier.java?85.54%?
    ReleaseUtils.java?83.33%?
    ScreenshotTaker.java?41.18%?
    SequentialReference.java?100.00%?
    SignInResultActivity.java?0.00%?
    SignInStorage.java?100.00%?
    TakeScreenshotAndStartFeedbackActivity.java?0.00%?
    TaskCache.java?100.00%?
    TaskCompletionSourceCache.java?68.97%?
    TaskUtils.java?92.50%?
    TesterApiDisabledErrorDetails.java?93.75%?
    TesterApiHttpClient.java?90.18%?
    TesterSignInManager.java?96.12%?
    UpdateProgressImpl.java?100.00%?
    UpdateTaskCache.java?91.30%?
    UpdateTaskImpl.java?76.00%?

Test Logs

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

@lfkellogg lfkellogg requested a review from kaibolay January 4, 2023 21:34
@github-actions
Copy link
Contributor

github-actions bot commented Jan 4, 2023

Unit Test Results

166 tests   166 ✔️  42s ⏱️
  16 suites      0 💤
  16 files        0

Results for commit a6f79fd.

@google-oss-bot
Copy link
Contributor

Size Report 1

Affected Products

  • base

    TypeBase (0df8309)Merge (3bf4b58)Diff
    apk (aggressive)?8.39 kB? (?)
    apk (release)?8.65 kB? (?)
  • firebase-annotations

    TypeBase (0df8309)Merge (3bf4b58)Diff
    apk (aggressive)?8.39 kB? (?)
    apk (release)?9.46 kB? (?)
  • firebase-appdistribution

    TypeBase (0df8309)Merge (3bf4b58)Diff
    aar?157 kB? (?)
    apk (aggressive)?833 kB? (?)
    apk (release)?2.01 MB? (?)
  • firebase-appdistribution-api

    TypeBase (0df8309)Merge (3bf4b58)Diff
    aar?16.0 kB? (?)
    apk (aggressive)?95.8 kB? (?)
    apk (release)?706 kB? (?)
  • firebase-common

    TypeBase (0df8309)Merge (3bf4b58)Diff
    aar?67.4 kB? (?)
    apk (aggressive)?95.1 kB? (?)
    apk (release)?700 kB? (?)
  • firebase-components

    TypeBase (0df8309)Merge (3bf4b58)Diff
    aar?44.9 kB? (?)
    apk (aggressive)?8.68 kB? (?)
    apk (release)?33.6 kB? (?)
  • firebase-installations

    TypeBase (0df8309)Merge (3bf4b58)Diff
    aar?55.0 kB? (?)
    apk (aggressive)?96.6 kB? (?)
    apk (release)?724 kB? (?)
  • firebase-installations-interop

    TypeBase (0df8309)Merge (3bf4b58)Diff
    aar?8.05 kB? (?)
    apk (aggressive)?65.0 kB? (?)
    apk (release)?651 kB? (?)

Test Logs

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

@lfkellogg lfkellogg merged commit e61f367 into fad/in-app-feedback Jan 4, 2023
@lfkellogg lfkellogg deleted the lk/cache-return-values branch January 4, 2023 21:58
@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.

Startup time comparison between the CI merge commit (3bf4b58) and the base commit (0df8309) are not available.

No macrobenchmark data found for the base commit (0df8309). Analysis for the CI merge commit (3bf4b58) can be found at:

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

lfkellogg added a commit that referenced this pull request Jan 5, 2023
kaibolay pushed a commit that referenced this pull request Jan 23, 2023
lfkellogg added a commit that referenced this pull request Jan 25, 2023
lfkellogg added a commit that referenced this pull request Jan 25, 2023
@firebase firebase locked and limited conversation to collaborators Feb 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants