Skip to content
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

Tomandersen/handshake rewrite #6015

Draft
wants to merge 56 commits into
base: tomandersen/abortSnapshotListenersOnTerminate
Choose a base branch
from

Conversation

tom-andersen
Copy link
Contributor

No description provided.

tom-andersen and others added 25 commits May 15, 2024 10:36
Per [b/338407806](https://b.corp.google.com/issues/338407806),

This fixes the issues with the health metrics action failing. It seemed
to stem from a bunch of outdated dependencies in the health metrics sub
projects.
… tomandersen/watchHandshake

# Conflicts:
#	firebase-firestore/src/main/java/com/google/firebase/firestore/remote/RemoteStore.java
…andersen/watchHandshake

# Conflicts:
#	firebase-firestore/src/main/java/com/google/firebase/firestore/remote/RemoteStore.java
Copy link
Contributor

github-actions bot commented Jun 4, 2024

Javadoc Changes:
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/FirebaseFirestore.html	2024-08-16 16:20:42.695732541 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/FirebaseFirestore.html	2024-08-16 16:18:10.756215494 +0000
@@ -1193,7 +1193,7 @@
         <p>After calling <code>terminate()</code> only the <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestore.html#clearPersistence()">clearPersistence</a></code> method may be used. Any other method will throw an <code><a href="https://developer.android.com/reference/kotlin/java/lang/IllegalStateException.html">IllegalStateException</a></code>. </p>
         <p>To restart after termination, simply create a new instance of <code>FirebaseFirestore</code> with <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestore.html#getInstance()">getInstance</a></code> or <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestore.html#getInstance(com.google.firebase.FirebaseApp)">getInstance</a></code>. </p>
         <p><code>terminate()</code> does not cancel any pending writes but any write tasks that are awaiting a response from the server will not be resolved. The next time you start this instance, it will resume attempting to send these writes to the server. </p>
-        <p>Note: Under normal circumstances, calling <code>terminate()</code> is not required. This method is useful only when you want to force this instance to release all of its resources or in combination with clearPersistence to ensure that all local state is destroyed between test runs.</p>
+        <p>Note: Under normal circumstances, calling <code>terminate()</code> is not required. This method is useful only when you want to force this instance to release all of its resources or in combination with <code><a href="/docs/reference/android/com/google/firebase/firestore/FirebaseFirestore.html#clearPersistence()">clearPersistence</a></code> to ensure that all local state is destroyed between test runs.</p>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/FirebaseFirestore.html	2024-08-16 16:20:42.635732732 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/FirebaseFirestore.html	2024-08-16 16:18:10.732215571 +0000
@@ -1152,7 +1152,7 @@
         <p>After calling <code>terminate()</code> only the <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestore.html#clearPersistence()">clearPersistence</a></code> method may be used. Any other method will throw an <code><a href="https://developer.android.com/reference/kotlin/java/lang/IllegalStateException.html">IllegalStateException</a></code>. </p>
         <p>To restart after termination, simply create a new instance of <code>FirebaseFirestore</code> with <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestore.html#getInstance()">getInstance</a></code> or <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestore.html#getInstance(com.google.firebase.FirebaseApp)">getInstance</a></code>. </p>
         <p><code>terminate()</code> does not cancel any pending writes but any write tasks that are awaiting a response from the server will not be resolved. The next time you start this instance, it will resume attempting to send these writes to the server. </p>
-        <p>Note: Under normal circumstances, calling <code>terminate()</code> is not required. This method is useful only when you want to force this instance to release all of its resources or in combination with clearPersistence to ensure that all local state is destroyed between test runs.</p>
+        <p>Note: Under normal circumstances, calling <code>terminate()</code> is not required. This method is useful only when you want to force this instance to release all of its resources or in combination with <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/FirebaseFirestore.html#clearPersistence()">clearPersistence</a></code> to ensure that all local state is destroyed between test runs.</p>
         <div class="devsite-table-wrapper">
           <table class="responsive">
             <colgroup>

@google-oss-bot
Copy link
Contributor

Coverage Report 1

Affected Products

No changes between base commit (6d0f288) and merge commit (d5cde9c).

Test Logs

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

@tom-andersen tom-andersen requested a review from wu-hui June 14, 2024 14:04
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jun 14, 2024

Size Report 1

Affected Products

  • base

    TypeBase (308e688)Merge (8be9505)Diff
    apk (aggressive)?8.80 kB? (?)
    apk (release)?9.77 kB? (?)
  • firebase-firestore

    TypeBase (308e688)Merge (8be9505)Diff
    aar?1.45 MB? (?)
    apk (aggressive)?554 kB? (?)
    apk (release)?11.4 MB? (?)
  • protolite-well-known-types

    TypeBase (308e688)Merge (8be9505)Diff
    aar?1.01 MB? (?)
    apk (aggressive)?134 kB? (?)
    apk (release)?1.68 MB? (?)

Test Logs

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

@tom-andersen tom-andersen changed the base branch from tomandersen/streamRefactor to tomandersen/componentProviderRefactor June 17, 2024 15:58
…actor' into tomandersen/handshakeRewrite

# Conflicts:
#	firebase-firestore/src/androidTest/java/com/google/firebase/firestore/AccessHelper.java
#	firebase-firestore/src/androidTest/java/com/google/firebase/firestore/remote/RemoteStoreTest.java
#	firebase-firestore/src/androidTest/java/com/google/firebase/firestore/testutil/IntegrationTestUtil.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/FirebaseFirestore.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/core/FirestoreClient.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/core/MemoryComponentProvider.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/remote/FirestoreChannel.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/remote/RemoteComponenetProvider.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/remote/RemoteStore.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/remote/WriteStream.java
#	firebase-firestore/src/test/java/com/google/firebase/firestore/spec/MemorySpecTest.java
#	firebase-firestore/src/test/java/com/google/firebase/firestore/spec/SQLiteSpecTest.java
#	firebase-firestore/src/test/java/com/google/firebase/firestore/spec/SpecTestCase.java
…tomandersen/handshakeRewrite

# Conflicts:
#	firebase-firestore/src/test/java/com/google/firebase/firestore/integration/AsyncTaskAccumulator.java
#	firebase-firestore/src/test/java/com/google/firebase/firestore/integration/FirebaseFirestoreTest.java
@tom-andersen tom-andersen changed the base branch from tomandersen/componentProviderRefactor to tomandersen/handshakeTest June 17, 2024 20:37
…der' into tomandersen/handshakeRewrite

# Conflicts:
#	firebase-firestore/src/androidTest/java/com/google/firebase/firestore/ValidationTest.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/FirebaseFirestore.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/FirestoreClientProvider.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/core/FirestoreClient.java
#	firebase-firestore/src/test/java/com/google/firebase/firestore/FirebaseFirestoreIntegrationTestFactory.java
@tom-andersen tom-andersen changed the base branch from tomandersen/handshakeTest to tomandersen/firestoreClientProvider June 19, 2024 16:38
…der' into tomandersen/handshakeRewrite

# Conflicts:
#	firebase-firestore/src/androidTest/java/com/google/firebase/firestore/AccessHelper.java
#	firebase-firestore/src/androidTest/java/com/google/firebase/firestore/CompositeIndexQueryTest.java
#	firebase-firestore/src/androidTest/java/com/google/firebase/firestore/testutil/IntegrationTestUtil.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/FirebaseFirestore.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/FirestoreClientProvider.java
#	firebase-firestore/src/main/java/com/google/firebase/firestore/core/FirestoreClient.java
#	firebase-firestore/src/test/java/com/google/firebase/firestore/FirebaseFirestoreIntegrationTestFactory.java
#	firebase-firestore/src/test/java/com/google/firebase/firestore/integration/FirebaseFirestoreTest.java
…rsOnTerminate' into tomandersen/handshakeRewrite

# Conflicts:
#	firebase-firestore/src/main/java/com/google/firebase/firestore/core/FirestoreClient.java
@tom-andersen tom-andersen changed the base branch from tomandersen/firestoreClientProvider to tomandersen/abortSnapshotListenersOnTerminate July 31, 2024 17:13
Copy link
Contributor

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: v2.0

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants