Skip to content

Add logic to use the apk hash #2994

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 4 commits into from
Sep 22, 2021
Merged

Conversation

rachaprince
Copy link

@rachaprince rachaprince commented Sep 21, 2021

Update the SDK to use the apk zip hash returned by the backend. Fall back to the map of the external code hash until we've backfilled the apk hash in our backend.

Also renames some functions and variables for clarity.

@googlebot googlebot added the cla: yes Override cla label Sep 21, 2021
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Sep 21, 2021

Coverage Report

Affected SDKs

  • firebase-app-distribution

    SDK overall coverage changed from 69.43% (9815e45) to 69.46% (4b739051) by +0.03%.

    Filename Base (9815e45) Head (4b739051) Diff
    AutoValue_AppDistributionReleaseInternal.java 67.53% 66.67% -0.87%
    CheckForNewReleaseClient.java 77.38% 79.07% +1.69%
    FirebaseAppDistributionTesterApiClient.java 78.21% 78.75% +0.54%
    ReleaseIdentifierStorage.java 50.00% 40.00% -10.00%

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (4b739051) is created by Prow via merging commits: 9815e45 889d14e.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Sep 21, 2021

Binary Size Report

Affected SDKs

  • firebase-app-distribution

    Type Base (9815e45) Head (4b739051) Diff
    aar 111 kB 111 kB +356 B (+0.3%)
    apk (release) 1.54 MB 1.54 MB +328 B (+0.0%)

Test Logs

Notes

Head commit (4b739051) is created by Prow via merging commits: 9815e45 889d14e.

@rachaprince
Copy link
Author

/retest

}
}

private AppDistributionReleaseInternal.Builder getTestNewRelease() {
Copy link
Author

Choose a reason for hiding this comment

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

I modified this test to use the pattern described in: https://testing.googleblog.com/2018/02/testing-on-toilet-cleanly-create-test.html

@rachaprince
Copy link
Author

/retest

1 similar comment
@rachaprince
Copy link
Author

/retest

@rachaprince rachaprince merged commit b0a78ba into master Sep 22, 2021
@rachaprince rachaprince deleted the fad-add-support-for-apk-hash branch September 22, 2021 21:40
@firebase firebase locked and limited conversation to collaborators Oct 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants