Skip to content

Fix semver check #5241

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 2 commits into from
Aug 15, 2023
Merged

Fix semver check #5241

merged 2 commits into from
Aug 15, 2023

Conversation

VinayGuthal
Copy link
Contributor

@VinayGuthal VinayGuthal commented Aug 15, 2023

During the m134 release we were releasing firebase-sessions for the first time and due to which the semver test was broken. Hence the if conditions were added. These if conditions were not being evaluated correctly since it dependend on a malleable state of things. So now it's moved to checking in Gmaven itself if the project exists instead of depending on a malleable state which keeps being updated by the gradle tasks.

@VinayGuthal VinayGuthal requested a review from rlazo August 15, 2023 15:48
@github-actions
Copy link
Contributor

github-actions bot commented Aug 15, 2023

📝 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.

@rlazo
Copy link
Collaborator

rlazo commented Aug 15, 2023

Please add a more descriptive title/description to know what was the error.

@github-actions
Copy link
Contributor

buildSrc Test Results

33 tests   33 ✔️  1m 18s ⏱️
  7 suites    0 💤
  7 files      0

Results for commit ee6ec6e.

@VinayGuthal
Copy link
Contributor Author

Please add a more descriptive title/description to know what was the error.

Updated

@github-actions
Copy link
Contributor

Unit Test Results

   820 files  +   818     820 suites  +818   39m 8s ⏱️ + 38m 49s
4 995 tests +4 994  4 974 ✔️ +4 973  21 💤 +21  0 ±0 
9 899 runs  +9 897  9 857 ✔️ +9 855  42 💤 +42  0 ±0 

Results for commit ee6ec6e. ± Comparison against base commit da631d2.

@google-oss-bot
Copy link
Contributor

@google-oss-bot
Copy link
Contributor

Startup Time Report 1

The report is too large (122,548 chars) to be displayed on GitHub. Please check this report on GCS.

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

@VinayGuthal VinayGuthal merged commit 1ffc328 into master Aug 15, 2023
@VinayGuthal VinayGuthal deleted the fix_semver_check branch August 15, 2023 16:45
@google-oss-bot
Copy link
Contributor

Coverage Report 1

Affected Products

  • firebase-database

    Overall coverage changed from 50.22% (da631d2) to 50.18% (4485429) by -0.04%.

    FilenameBase (da631d2)Merge (4485429)Diff
    ChildChangeAccumulator.java96.67%83.33%-13.33%
  • firebase-firestore

    Overall coverage changed from 44.63% (da631d2) to 44.63% (4485429) by -0.00%.

    FilenameBase (da631d2)Merge (4485429)Diff
    SetMutation.java97.22%94.44%-2.78%
  • firebase-installations

    Overall coverage changed from ? (da631d2) to 58.61% (4485429) by ?.

    22 individual files with coverage change

    FilenameBase (da631d2)Merge (4485429)Diff
    AutoValue_InstallationResponse.java?58.93%?
    AutoValue_PersistedInstallationEntry.java?61.18%?
    AutoValue_TokenResult.java?45.65%?
    AwaitListener.java?0.00%?
    Clock.java?0.00%?
    CrossProcessLock.java?51.85%?
    FirebaseInstallations.java?96.62%?
    FirebaseInstallationServiceClient.java?4.80%?
    FirebaseInstallationsException.java?78.57%?
    FirebaseInstallationsRegistrar.java?100.00%?
    GetAuthTokenListener.java?100.00%?
    GetIdListener.java?70.00%?
    IidStore.java?22.39%?
    InstallationResponse.java?100.00%?
    PersistedInstallation.java?97.01%?
    PersistedInstallationEntry.java?100.00%?
    RandomFidGenerator.java?20.00%?
    RequestLimiter.java?100.00%?
    StateListener.java?0.00%?
    SystemClock.java?100.00%?
    TokenResult.java?100.00%?
    Utils.java?95.00%?

  • firebase-messaging

    Overall coverage changed from 84.29% (da631d2) to 84.21% (4485429) by -0.08%.

    FilenameBase (da631d2)Merge (4485429)Diff
    FirebaseMessaging.java73.13%73.57%+0.44%
    Metadata.java41.27%36.51%-4.76%
  • firebase-ml-modeldownloader

    Overall coverage changed from ? (da631d2) to 83.46% (4485429) by ?.

    35 individual files with coverage change

    FilenameBase (da631d2)Merge (4485429)Diff
    AutoFirebaseMlLogEventEncoder.java?100.00%?
    AutoValue_FirebaseMlLogEvent.java?58.18%?
    AutoValue_FirebaseMlLogEvent_DeleteModelLogEvent.java?66.67%?
    AutoValue_FirebaseMlLogEvent_ModelDownloadLogEvent.java?65.82%?
    AutoValue_FirebaseMlLogEvent_ModelDownloadLogEvent_ModelOptions.java?62.96%?
    AutoValue_FirebaseMlLogEvent_ModelDownloadLogEvent_ModelOptions_ModelInfo.java?64.58%?
    AutoValue_FirebaseMlLogEvent_SystemInfo.java?63.38%?
    CustomModel.java?72.13%?
    CustomModelDownloadConditions.java?88.46%?
    CustomModelDownloadService.java?79.89%?
    CustomModelDownloadService_Factory.java?0.00%?
    CustomModel_Factory.java?0.00%?
    CustomModel_Factory_Impl.java?0.00%?
    DaggerModelDownloaderComponent.java?100.00%?
    DataTransportMlEventSender.java?100.00%?
    DataTransportMlEventSender_Factory.java?0.00%?
    DownloadType.java?100.00%?
    FirebaseMlException.java?100.00%?
    FirebaseMlLogEvent.java?97.92%?
    FirebaseMlLogger.java?88.89%?
    FirebaseMlLogger_Factory.java?0.00%?
    FirebaseModelDownloader.java?84.66%?
    FirebaseModelDownloaderRegistrar.java?100.00%?
    FirebaseModelDownloader_Factory.java?0.00%?
    ModelDownloaderComponent.java?25.00%?
    ModelDownloaderComponent_MainModule_AppPackageNameFactory.java?0.00%?
    ModelDownloaderComponent_MainModule_AppVersionCodeFactory.java?0.00%?
    ModelDownloaderComponent_MainModule_FirebaseOptionsFactory.java?0.00%?
    ModelDownloaderComponent_MainModule_PersistenceKeyFactory.java?0.00%?
    ModelFileDownloadService.java?88.76%?
    ModelFileDownloadService_Factory.java?0.00%?
    ModelFileManager.java?82.28%?
    ModelFileManager_Factory.java?0.00%?
    SharedPreferencesUtil.java?97.26%?
    SharedPreferencesUtil_Factory.java?0.00%?

  • firebase-storage

    Overall coverage changed from 86.16% (da631d2) to 85.90% (4485429) by -0.26%.

    FilenameBase (da631d2)Merge (4485429)Diff
    StorageTask.java83.99%83.69%-0.30%
    UploadTask.java83.17%81.52%-1.65%

Test Logs

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

limsaehyun pushed a commit to limsaehyun/firebase-android-sdk that referenced this pull request Sep 5, 2023
During the m134 release we were releasing firebase-sessions for the
first time and due to which the semver test was broken. Hence the if
conditions were added. These if conditions were not being evaluated
correctly since it dependend on a malleable state of things. So now it's
moved to checking in Gmaven itself if the project exists instead of
depending on a malleable state which keeps being updated by the gradle
tasks.
@firebase firebase locked and limited conversation to collaborators Sep 15, 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