[REQUIRED] Environment info
Firebase-cli 15.21.x
MacOS
[REQUIRED] Expected behavior
Do not block the Dart main isolate
[REQUIRED] Actual behavior
connector.yaml enabl the Data Connect SDK's persistent client cache (clientCache: maxAge: 5s). In firebase_data_connect 0.3.0, every query on a cache-enabled connector — even serverOnly — synchronously dehydrates the entire response and writes one SQLite transaction per entity on the main isolate before returning. With the 1000 payloads that meant thousands of main-thread SQLite writes (measured: 1.7–3.3 s hard freeze, growing with cache size). The cache served nothing: 5 s maxAge, all other reads serverOnly, no cacheOnly/subscribe usage.
[REQUIRED] Environment info
Firebase-cli 15.21.x
MacOS
[REQUIRED] Expected behavior
Do not block the Dart main isolate
[REQUIRED] Actual behavior
connector.yaml enabl the Data Connect SDK's persistent client cache (clientCache: maxAge: 5s). In firebase_data_connect 0.3.0, every query on a cache-enabled connector — even serverOnly — synchronously dehydrates the entire response and writes one SQLite transaction per entity on the main isolate before returning. With the 1000 payloads that meant thousands of main-thread SQLite writes (measured: 1.7–3.3 s hard freeze, growing with cache size). The cache served nothing: 5 s maxAge, all other reads serverOnly, no cacheOnly/subscribe usage.