Skip to content

m163 release #6885

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

Closed
wants to merge 14 commits into from
Closed

m163 release #6885

wants to merge 14 commits into from

Conversation

github-actions[bot]
Copy link
Contributor

Auto-generated PR for release m163

Copy link

google-cla bot commented Apr 16, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Contributor Author

Vertex AI Mock Responses Check ⚠️

A newer major version of the mock responses for Vertex AI unit tests is available. update_responses.sh should be updated to clone the latest version of the responses: v10.0

Copy link
Contributor Author

github-actions bot commented Apr 16, 2025

Test Results

 1 034 files  ±0   1 034 suites  ±0   34m 54s ⏱️ +19s
 5 874 tests ±0   5 852 ✅ ±0  22 💤 ±0  0 ❌ ±0 
11 811 runs  ±0  11 767 ✅ ±0  44 💤 ±0  0 ❌ ±0 

Results for commit f277b6b. ± Comparison against base commit e98dd2c.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 16, 2025

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 16, 2025

Coverage Report 1

Affected Products

  • firebase-config

    Overall coverage changed from ? (7b1855d) to 84.31% (a93226a) by ?.

    34 individual files with coverage change

    FilenameBase (7b1855d)Merge (a93226a)Diff
    AutoValue_ConfigUpdate.java?29.41%?
    Code.java?0.00%?
    ConfigAutoFetch.java?86.73%?
    ConfigCacheClient.java?93.33%?
    ConfigContainer.java?94.29%?
    ConfigFetchHandler.java?92.94%?
    ConfigFetchHttpClient.java?86.27%?
    ConfigGetParameterHandler.java?96.45%?
    ConfigRealtimeHandler.java?41.38%?
    ConfigRealtimeHttpClient.java?73.57%?
    ConfigSharedPrefsClient.java?87.50%?
    ConfigStorageClient.java?100.00%?
    ConfigUpdate.java?100.00%?
    ConfigUpdateListener.java?0.00%?
    ConfigUpdateListenerRegistration.java?0.00%?
    CustomSignals.java?100.00%?
    DefaultsXmlParser.java?0.00%?
    FirebaseRemoteConfig.java?89.76%?
    FirebaseRemoteConfigClientException.java?75.00%?
    FirebaseRemoteConfigException.java?95.65%?
    FirebaseRemoteConfigFetchThrottledException.java?100.00%?
    FirebaseRemoteConfigInfo.java?0.00%?
    FirebaseRemoteConfigInfoImpl.java?100.00%?
    FirebaseRemoteConfigServerException.java?68.42%?
    FirebaseRemoteConfigSettings.java?61.54%?
    FirebaseRemoteConfigValue.java?0.00%?
    FirebaseRemoteConfigValueImpl.java?84.62%?
    Personalization.java?91.43%?
    RemoteConfig.kt?31.58%?
    RemoteConfigComponent.java?90.70%?
    RemoteConfigConstants.java?0.00%?
    RemoteConfigRegistrar.java?100.00%?
    RolloutsStateFactory.java?95.24%?
    RolloutsStateSubscriptionsHandler.java?100.00%?

  • firebase-database

    Overall coverage changed from 50.18% (7b1855d) to 50.16% (a93226a) by -0.02%.

    FilenameBase (7b1855d)Merge (a93226a)Diff
    ChildChangeAccumulator.java96.67%83.33%-13.33%
    DoubleNode.java88.24%100.00%+11.76%
  • firebase-firestore

    Overall coverage changed from 45.77% (7b1855d) to 45.78% (a93226a) by +0.01%.

    FilenameBase (7b1855d)Merge (a93226a)Diff
    DeleteMutation.java90.48%95.24%+4.76%
    SetMutation.java94.44%97.22%+2.78%
  • firebase-messaging

    Overall coverage changed from 83.99% (7b1855d) to 84.10% (a93226a) by +0.11%.

    FilenameBase (7b1855d)Merge (a93226a)Diff
    Metadata.java36.51%41.27%+4.76%

Test Logs

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

google-oss-bot and others added 13 commits May 1, 2025 14:49
Auto-generated PR for cleaning up release m163

NO_RELEASE_CHANGE

---------

Co-authored-by: emilypgoogle <[email protected]>
Added Java compile tests for VertexAI's bidi support. Notably
b/412743328 was filed due to `LiveContentResponse.Status` being
inaccessible properly for Java.

In addition, minor non-bidi testing for `GenerationContent` being
inaccessible was added, relating to a previous bug.
Due to a bug in the backend, it's possible that we receive an invalid
`SafetyRating` value, without either category or probability. We return
null in those cases to enable filtering by the higher level types.
Fixes all Firebase AI builder patterns to be properly usable by Java
consumers. Small breaking binary change, no breaking source change.
Additionally, now that the builder pattern can be used, compile tests
for the builders and other classes like `Schema` have been implemented.
The devAPI helper method should read from the `googleai/` directory
instead of the `vertexai/` one.

Additionally, fixed tests broken by the change.
Instead of verifying vertexAI, we should do the verification on
firebase-ai only.
Originally we were not tracking bidi usage in android. This PR enables
it by adding certain headers when the initial websocket connection is
made. There was some refractoring done wrt to extract out the part which
just adds the headers from the applyCommonConfiguration function
…ShadowLooper.runToEndOfTasks (#6927)

The Robolectric Scheduler APIs are designed for LEGACY Looper mode,
where tasks were controlled by Scheduler objects. LEGACY Looper mode has
been deprecated for 5+ years. Migrate from
Robolectric.flushForegroundThreadScheduler to ShadowLooper APIs.

See cl/752917858 for reference

---------

Co-authored-by: Daymon <[email protected]>
This change addresses a ``NetworkOnMainThreadException`` that was
observed on Android API levels below 26.
The crash happened during background transitions when disconnecting an
``HttpURLConnection`` because background callbacks on these older OS
versions could run on the main thread. The fix restricts the disconnect
logic to run only on API level 26 (Android 8.0) and higher.
Per [b/414829218](https://b.corp.google.com/issues/414829218),

This ensures the Vertex AI SDK is properly aligned for the upcoming
release. More specifically, this PR does the following:

- Adds deprecation notices for all the public classes and interfaces,
**besides** the root `FirebaseVertexAI` class and the relevant extension
methods.
- Updates the golden file version.
- Adds the change from #6925 for working around invalid
`SafetyRating`(s).
- Adds a changelog entry that aligns with the deprecation notices.
- Adds the changes from #6939 for tracking bidi usage.
- Adds the changes from #6910 for aligning the bidi protos.

---------

Co-authored-by: Rodrigo Lazo <[email protected]>
@github-actions github-actions bot force-pushed the releases/m163.release branch from f277b6b to 65c0240 Compare May 7, 2025 20:49
@daymxn daymxn closed this May 7, 2025
@daymxn daymxn reopened this May 7, 2025
@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

@daymxn daymxn closed this May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants