Skip to content

Fix return type of Builder.set #5161

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
Jul 17, 2023
Merged

Fix return type of Builder.set #5161

merged 4 commits into from
Jul 17, 2023

Conversation

wu-hui
Copy link
Contributor

@wu-hui wu-hui commented Jul 14, 2023

Return type of MemoryLruGcSettings$Builder.setSizeBytes() should be the Builder itself, not void.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 14, 2023

Javadoc Changes:
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryEagerGcSettings.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryEagerGcSettings.html	2023-07-17 14:27:40.000000000 +0000
@@ -11,6 +11,10 @@
       <pre>public final class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a> implements <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
     </p>
     <hr>
+    <p>Configures the SDK to use an eager garbage collector for memory cache. The eager garbage collector will attempt to remove any documents from SDK's memory cache as soon as it is no longer used. </p>
+    <p>This is the default garbage collector unless specified explicitly otherwise. </p>
+    <p>To use, create an instance using <code>MemoryEagerGcSettings#newBuilder().build()</code>, then set the instance to <code>MemoryCacheSettings.Builder#setGcSettings</code>, and use the built <code>
+MemoryCacheSettings</code> instance to configure the Firestore SDK.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html	2023-07-17 14:27:40.000000000 +0000
@@ -23,11 +23,15 @@
             <tbody class="list">
               <tr>
                 <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
-                <td></td>
+                <td>
+                  <p>Configures the SDK to use an eager garbage collector for memory cache.</p>
+                </td>
               </tr>
               <tr>
                 <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
-                <td></td>
+                <td>
+                  <p>Configures the SDK to use a Least-Recently-Used garbage collector for memory cache.</p>
+                </td>
               </tr>
             </tbody>
           </table>
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html	2023-07-17 14:27:40.000000000 +0000
@@ -31,9 +31,10 @@
             </td>
           </tr>
           <tr>
-            <td><code>void</code></td>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
             <td>
               <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(long&nbsp;size)</code></div>
+              <p>Sets an approximate cache size threshold for the memory cache.</p>
             </td>
           </tr>
         </tbody>
@@ -47,7 +48,30 @@
       </div>
       <div class="api-item"><a name="setSizeBytes-long-"></a><a name="setsizebytes"></a>
         <h3 class="api-name" id="setSizeBytes(long)">setSizeBytes</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;void&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(long&nbsp;size)</pre>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(long&nbsp;size)</pre>
+        <p>Sets an approximate cache size threshold for the memory cache. If the cache grows beyond this size, Firestore SDK will start removing data that hasn't been recently used. The size is not a guarantee that the cache will stay below that size, only that if the cache exceeds the given size, cleanup will be attempted. </p>
+        <p>A default size of 100MB (100 * 1024 * 1024) is used if unset. The minimum value to set is 1 MB (1024 * 1024).</p>
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <thead>
+              <tr>
+                <th colspan="100%">Returns</th>
+              </tr>
+            </thead>
+            <tbody class="list">
+              <tr>
+                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
+                <td>
+                  <p>this <code>Builder</code> instance.</p>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
       </div>
     </div>
   </body>
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryLruGcSettings.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryLruGcSettings.html	2023-07-17 14:27:40.000000000 +0000
@@ -11,6 +11,9 @@
       <pre>public final class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a> implements <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
     </p>
     <hr>
+    <p>Configures the SDK to use a Least-Recently-Used garbage collector for memory cache. </p>
+    <p>To use, create an instance using <code>MemoryLruGcSettings#newBuilder().build()</code>, then set the instance to <code>MemoryCacheSettings.Builder#setGcSettings</code>, and use the built <code>
+MemoryCacheSettings</code> instance to configure the Firestore SDK.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
@@ -75,6 +78,7 @@
             <td><code>long</code></td>
             <td>
               <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#getSizeBytes()">getSizeBytes</a>()</code></div>
+              <p>Returns cache size threshold for the memory cache.</p>
             </td>
           </tr>
           <tr>
@@ -87,6 +91,7 @@
             <td><code>static @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
             <td>
               <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#newBuilder()">newBuilder</a>()</code></div>
+              <p>Returns a new instance of <code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code> with default configurations.</p>
             </td>
           </tr>
           <tr>
@@ -114,6 +119,8 @@
       <div class="api-item"><a name="getSizeBytes--"></a><a name="getsizebytes"></a>
         <h3 class="api-name" id="getSizeBytes()">getSizeBytes</h3>
         <pre class="api-signature no-pretty-print">public&nbsp;long&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#getSizeBytes()">getSizeBytes</a>()</pre>
+        <p>Returns cache size threshold for the memory cache. If the cache grows beyond this size, Firestore SDK will start removing data that hasn't been recently used. The size is not a guarantee that the cache will stay below that size, only that if the cache exceeds the given size, cleanup will be attempted. </p>
+        <p>By default, memory LRU cache is enabled with a cache size of 100MB (100 * 1024 * 1024). The minimum value is 1 MB (1024 * 1024).</p>
       </div>
       <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
         <h3 class="api-name" id="hashCode()">hashCode</h3>
@@ -122,6 +129,7 @@
       <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
         <h3 class="api-name" id="newBuilder()">newBuilder</h3>
         <pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#newBuilder()">newBuilder</a>()</pre>
+        <p>Returns a new instance of <code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code> with default configurations.</p>
       </div>
       <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
         <h3 class="api-name" id="toString()">toString</h3>
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/package-summary.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/package-summary.html	2023-07-17 14:27:40.000000000 +0000
@@ -223,7 +223,9 @@
           </tr>
           <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
-            <td></td>
+            <td>
+              <p>Configures the SDK to use an eager garbage collector for memory cache.</p>
+            </td>
           </tr>
           <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></code></td>
@@ -231,7 +233,9 @@
           </tr>
           <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
-            <td></td>
+            <td>
+              <p>Configures the SDK to use a Least-Recently-Used garbage collector for memory cache.</p>
+            </td>
           </tr>
           <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html	2023-07-17 14:27:40.000000000 +0000
@@ -11,6 +11,10 @@
       <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a> : <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
     </p>
     <hr>
+    <p>Configures the SDK to use an eager garbage collector for memory cache. The eager garbage collector will attempt to remove any documents from SDK's memory cache as soon as it is no longer used. </p>
+    <p>This is the default garbage collector unless specified explicitly otherwise. </p>
+    <p>To use, create an instance using <code>MemoryEagerGcSettings#newBuilder().build()</code>, then set the instance to <code>MemoryCacheSettings.Builder#setGcSettings</code>, and use the built <code>
+MemoryCacheSettings</code> instance to configure the Firestore SDK.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html	2023-07-17 14:27:40.000000000 +0000
@@ -23,11 +23,15 @@
             <tbody class="list">
               <tr>
                 <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
-                <td></td>
+                <td>
+                  <p>Configures the SDK to use an eager garbage collector for memory cache.</p>
+                </td>
               </tr>
               <tr>
                 <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
-                <td></td>
+                <td>
+                  <p>Configures the SDK to use a Least-Recently-Used garbage collector for memory cache.</p>
+                </td>
               </tr>
             </tbody>
           </table>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html	2023-07-17 14:27:40.000000000 +0000
@@ -31,9 +31,10 @@
             </td>
           </tr>
           <tr>
-            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></code></td>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
             <td>
               <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(size:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>)</code></div>
+              <p>Sets an approximate cache size threshold for the memory cache.</p>
             </td>
           </tr>
         </tbody>
@@ -47,7 +48,30 @@
       </div>
       <div class="api-item"><a name="setSizeBytes-long-"></a><a name="setsizebytes"></a>
         <h3 class="api-name" id="setSizeBytes(long)">setSizeBytes</h3>
-        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(size:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(size:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></pre>
+        <p>Sets an approximate cache size threshold for the memory cache. If the cache grows beyond this size, Firestore SDK will start removing data that hasn't been recently used. The size is not a guarantee that the cache will stay below that size, only that if the cache exceeds the given size, cleanup will be attempted. </p>
+        <p>A default size of 100MB (100 * 1024 * 1024) is used if unset. The minimum value to set is 1 MB (1024 * 1024).</p>
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <thead>
+              <tr>
+                <th colspan="100%">Returns</th>
+              </tr>
+            </thead>
+            <tbody class="list">
+              <tr>
+                <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
+                <td>
+                  <p>this <code>Builder</code> instance.</p>
+                </td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
       </div>
     </div>
   </body>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html	2023-07-17 14:27:40.000000000 +0000
@@ -11,6 +11,9 @@
       <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a> : <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
     </p>
     <hr>
+    <p>Configures the SDK to use a Least-Recently-Used garbage collector for memory cache. </p>
+    <p>To use, create an instance using <code>MemoryLruGcSettings#newBuilder().build()</code>, then set the instance to <code>MemoryCacheSettings.Builder#setGcSettings</code>, and use the built <code>
+MemoryCacheSettings</code> instance to configure the Firestore SDK.</p>
     <h2>Summary</h2>
     <div class="devsite-table-wrapper">
       <table class="responsive">
@@ -60,6 +63,7 @@
             <td><code>java-static <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
             <td>
               <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#newBuilder()">newBuilder</a>()</code></div>
+              <p>Returns a new instance of <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code> with default configurations.</p>
             </td>
           </tr>
           <tr>
@@ -105,6 +109,7 @@
       <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
         <h3 class="api-name" id="newBuilder()">newBuilder</h3>
         <pre class="api-signature no-pretty-print">java-static&nbsp;fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#newBuilder()">newBuilder</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></pre>
+        <p>Returns a new instance of <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code> with default configurations.</p>
       </div>
       <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
         <h3 class="api-name" id="toString()">toString</h3>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/package-summary.html	2023-07-17 14:33:06.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/package-summary.html	2023-07-17 14:27:40.000000000 +0000
@@ -176,7 +176,9 @@
           </tr>
           <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
-            <td></td>
+            <td>
+              <p>Configures the SDK to use an eager garbage collector for memory cache.</p>
+            </td>
           </tr>
           <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></code></td>
@@ -184,7 +186,9 @@
           </tr>
           <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
-            <td></td>
+            <td>
+              <p>Configures the SDK to use a Least-Recently-Used garbage collector for memory cache.</p>
+            </td>
           </tr>
           <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>

@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

@wu-hui wu-hui requested a review from dconeybe July 14, 2023 15:59
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 14, 2023

Coverage Report 1

Affected Products

  • firebase-firestore

    Overall coverage changed from 44.35% (392da5f) to 44.33% (ea65181) by -0.02%.

    FilenameBase (392da5f)Merge (ea65181)Diff
    LruGarbageCollector.java97.27%93.64%-3.64%
    SetMutation.java97.22%94.44%-2.78%

Test Logs

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

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Method com.google.firebase.firestore.MemoryLruGcSettings.Builder.setSizeBytes has changed return type from void to com.google.firebase.firestore.MemoryLruGcSettings.Builder [ChangedType]

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.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 14, 2023

Unit Test Results

   162 files   -    656     162 suites   - 656   2m 11s ⏱️ - 35m 6s
1 164 tests  - 3 792  1 148 ✔️  - 3 787  16 💤  -   5  0 ±0 
2 328 runs   - 7 493  2 296 ✔️  - 7 483  32 💤  - 10  0 ±0 

Results for commit ca667ef. ± Comparison against base commit bb0ac26.

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Method com.google.firebase.firestore.MemoryLruGcSettings.Builder.setSizeBytes has changed return type from void to com.google.firebase.firestore.MemoryLruGcSettings.Builder [ChangedType]

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 Jul 14, 2023

Size Report 1

Affected Products

  • firebase-firestore

    TypeBase (392da5f)Merge (ea65181)Diff
    aar1.36 MB1.36 MB+6 B (+0.0%)
    apk (release)3.95 MB3.95 MB-204 B (-0.0%)

Test Logs

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

@dconeybe dconeybe assigned wu-hui and unassigned dconeybe Jul 14, 2023
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 14, 2023

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Notes

Startup Times

  • fire-fst

    DeviceStatisticsDistributions
    oriole-32
    Percentile392da5fea65181DiffSignificant (?)
    p10331 ±20 μs319 ±11 μs-12.0 μs (-3.6%)NO
    p25343 ±23 μs331 ±14 μs-11.7 μs (-3.4%)NO
    p50364 ±27 μs358 ±32 μs-5.97 μs (-1.6%)NO
    p75434 ±80 μs402 ±83 μs-32.0 μs (-7.4%)NO
    p90515 ±173 μs467 ±117 μs-48.6 μs (-9.4%)NO

    20 test runs in comparison
    CommitTest Runs
    392da5f
    • 2023-07-14_23:51:23.445357_ZPNP
    • 2023-07-14_23:51:23.448233_rbxz
    • 2023-07-14_23:51:23.448246_RCiN
    • 2023-07-14_23:51:23.448254_jckp
    • 2023-07-14_23:51:23.448260_PLGy
    • 2023-07-14_23:51:23.448267_zeFu
    • 2023-07-14_23:51:23.448273_GBtC
    • 2023-07-14_23:51:23.448280_nXuc
    • 2023-07-14_23:51:23.448286_bXSF
    • 2023-07-14_23:51:23.448293_SjyG
    ea65181
    • 2023-07-17_14:36:47.312366_Kokb
    • 2023-07-17_14:36:47.316142_oRpY
    • 2023-07-17_14:36:47.316155_gnsO
    • 2023-07-17_14:36:47.316161_NCts
    • 2023-07-17_14:36:47.316167_KDfR
    • 2023-07-17_14:36:47.316173_ftNH
    • 2023-07-17_14:36:47.316179_FwiS
    • 2023-07-17_14:36:47.316184_sPZh
    • 2023-07-17_14:36:47.316190_YFun
    • 2023-07-17_14:36:47.316196_DlwR
    redfin-30
    Percentile392da5fea65181DiffSignificant (?)
    p10595 ±34 μs641 ±72 μs+45.3 μs (+7.6%)NO
    p25613 ±42 μs659 ±77 μs+46.3 μs (+7.5%)NO
    p50638 ±52 μs685 ±86 μs+47.4 μs (+7.4%)NO
    p75669 ±65 μs724 ±106 μs+55.6 μs (+8.3%)NO
    p90713 ±82 μs793 ±184 μs+80.7 μs (+11.3%)NO

    20 test runs in comparison
    CommitTest Runs
    392da5f
    • 2023-07-14_23:51:23.445357_ZPNP
    • 2023-07-14_23:51:23.448233_rbxz
    • 2023-07-14_23:51:23.448246_RCiN
    • 2023-07-14_23:51:23.448254_jckp
    • 2023-07-14_23:51:23.448260_PLGy
    • 2023-07-14_23:51:23.448267_zeFu
    • 2023-07-14_23:51:23.448273_GBtC
    • 2023-07-14_23:51:23.448280_nXuc
    • 2023-07-14_23:51:23.448286_bXSF
    • 2023-07-14_23:51:23.448293_SjyG
    ea65181
    • 2023-07-17_14:36:47.312366_Kokb
    • 2023-07-17_14:36:47.316142_oRpY
    • 2023-07-17_14:36:47.316155_gnsO
    • 2023-07-17_14:36:47.316161_NCts
    • 2023-07-17_14:36:47.316167_KDfR
    • 2023-07-17_14:36:47.316173_ftNH
    • 2023-07-17_14:36:47.316179_FwiS
    • 2023-07-17_14:36:47.316184_sPZh
    • 2023-07-17_14:36:47.316190_YFun
    • 2023-07-17_14:36:47.316196_DlwR
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile392da5fea65181DiffSignificant (?)
    p10201 ±6 ms206 ±5 ms+4.61 ms (+2.3%)NO
    p25208 ±5 ms212 ±6 ms+4.65 ms (+2.2%)NO
    p50216 ±5 ms220 ±6 ms+4.09 ms (+1.9%)NO
    p75224 ±4 ms229 ±7 ms+5.03 ms (+2.2%)NO
    p90232 ±4 ms242 ±12 ms+9.64 ms (+4.1%)NO

    20 test runs in comparison
    CommitTest Runs
    392da5f
    • 2023-07-14_23:51:23.445357_ZPNP
    • 2023-07-14_23:51:23.448233_rbxz
    • 2023-07-14_23:51:23.448246_RCiN
    • 2023-07-14_23:51:23.448254_jckp
    • 2023-07-14_23:51:23.448260_PLGy
    • 2023-07-14_23:51:23.448267_zeFu
    • 2023-07-14_23:51:23.448273_GBtC
    • 2023-07-14_23:51:23.448280_nXuc
    • 2023-07-14_23:51:23.448286_bXSF
    • 2023-07-14_23:51:23.448293_SjyG
    ea65181
    • 2023-07-17_14:36:47.312366_Kokb
    • 2023-07-17_14:36:47.316142_oRpY
    • 2023-07-17_14:36:47.316155_gnsO
    • 2023-07-17_14:36:47.316161_NCts
    • 2023-07-17_14:36:47.316167_KDfR
    • 2023-07-17_14:36:47.316173_ftNH
    • 2023-07-17_14:36:47.316179_FwiS
    • 2023-07-17_14:36:47.316184_sPZh
    • 2023-07-17_14:36:47.316190_YFun
    • 2023-07-17_14:36:47.316196_DlwR
    redfin-30
    Percentile392da5fea65181DiffSignificant (?)
    p10245 ±3 ms278 ±35 ms+32.7 ms (+13.3%)NO
    p25252 ±3 ms285 ±37 ms+33.1 ms (+13.2%)NO
    p50259 ±4 ms293 ±39 ms+34.2 ms (+13.2%)NO
    p75267 ±3 ms303 ±39 ms+35.9 ms (+13.4%)NO
    p90276 ±4 ms315 ±37 ms+39.5 ms (+14.3%)NO

    20 test runs in comparison
    CommitTest Runs
    392da5f
    • 2023-07-14_23:51:23.445357_ZPNP
    • 2023-07-14_23:51:23.448233_rbxz
    • 2023-07-14_23:51:23.448246_RCiN
    • 2023-07-14_23:51:23.448254_jckp
    • 2023-07-14_23:51:23.448260_PLGy
    • 2023-07-14_23:51:23.448267_zeFu
    • 2023-07-14_23:51:23.448273_GBtC
    • 2023-07-14_23:51:23.448280_nXuc
    • 2023-07-14_23:51:23.448286_bXSF
    • 2023-07-14_23:51:23.448293_SjyG
    ea65181
    • 2023-07-17_14:36:47.312366_Kokb
    • 2023-07-17_14:36:47.316142_oRpY
    • 2023-07-17_14:36:47.316155_gnsO
    • 2023-07-17_14:36:47.316161_NCts
    • 2023-07-17_14:36:47.316167_KDfR
    • 2023-07-17_14:36:47.316173_ftNH
    • 2023-07-17_14:36:47.316179_FwiS
    • 2023-07-17_14:36:47.316184_sPZh
    • 2023-07-17_14:36:47.316190_YFun
    • 2023-07-17_14:36:47.316196_DlwR

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

@wu-hui wu-hui assigned dconeybe and unassigned wu-hui Jul 17, 2023
@dconeybe dconeybe assigned wu-hui and unassigned dconeybe Jul 17, 2023
@wu-hui wu-hui merged commit 77ab6f7 into master Jul 17, 2023
@wu-hui wu-hui deleted the wuandy/FixSetterReturn branch July 17, 2023 18:07
@firebase firebase locked and limited conversation to collaborators Aug 17, 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