Skip to content

Ml logging #2355

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 14 commits into from
Jan 28, 2021
Merged

Ml logging #2355

merged 14 commits into from
Jan 28, 2021

Conversation

annzimmer
Copy link
Contributor

No description provided.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 25, 2021

Coverage Report

Affected SDKs

  • firebase-ml-modeldownloader

    SDK overall coverage changed from 85.08% (843b963) to 84.55% (975d26f0) by -0.53%.

    Filename Base (843b963) Head (975d26f0) Diff
    CustomModelDownloadService.java 89.66% 86.03% -3.63%
    FirebaseMlException.java 57.14% 100.00% +42.86%
    FirebaseMlLogEvent.java 97.47% 97.65% +0.18%
    FirebaseMlLogger.java 88.42% 88.89% +0.47%
    FirebaseModelDownloader.java 88.51% 84.38% -4.14%
    FirebaseModelDownloaderRegistrar.java 91.67% 94.87% +3.21%
    ModelFileDownloadService.java 91.70% 90.76% -0.95%

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 (975d26f0) is created by Prow via merging commits: 843b963 e12615d.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-ml-modeldownloader:
error: Added field com.google.firebase.ml.modeldownloader.FirebaseMlException.DOWNLOAD_URL_EXPIRED [AddedField]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 25, 2021

Binary Size Report

Affected SDKs

  • firebase-ml-modeldownloader

    Type Base (843b963) Head (975d26f0) Diff
    aar 84.4 kB 85.9 kB +1.56 kB (+1.9%)
    apk (aggressive) 128 kB 128 kB +160 B (+0.1%)
    apk (release) 786 kB 787 kB +924 B (+0.1%)

Test Logs

Notes

Head commit (975d26f0) is created by Prow via merging commits: 843b963 e12615d.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-ml-modeldownloader:
error: Method com.google.firebase.ml.modeldownloader.CustomModel.getFile no longer throws exception com.google.firebase.ml.modeldownloader.FirebaseMlException [ChangedThrows]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@annzimmer annzimmer marked this pull request as ready for review January 27, 2021 14:39
@annzimmer annzimmer requested review from rlazo and vkryachko January 27, 2021 14:39
@rlazo
Copy link
Collaborator

rlazo commented Jan 27, 2021

Looks like you're also removing transport from the deps. Is it no longer needed?

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-ml-modeldownloader:
error: Added field com.google.firebase.ml.modeldownloader.FirebaseMlException.MODEL_HASH_MISMATCH [AddedField]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@annzimmer
Copy link
Contributor Author

I moved the transport dep to the FirebaseMlLogger - that way I won't have to pass it into every class - just have each class that needed logging get an instance of the FirebaseMlLogger. Hoping that was appropriate.

@rlazo
Copy link
Collaborator

rlazo commented Jan 27, 2021

I moved the transport dep to the FirebaseMlLogger - that way I won't have to pass it into every class - just have each class that needed logging get an instance of the FirebaseMlLogger. Hoping that was appropriate.

Yes, definitely. Just checking 👍

@annzimmer
Copy link
Contributor Author

/retest

@annzimmer annzimmer merged commit b6d8cd4 into master Jan 28, 2021
@annzimmer annzimmer deleted the mlLogging branch January 28, 2021 19:12
@firebase firebase locked and limited conversation to collaborators Feb 28, 2021
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.

6 participants