You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1][doc-drift] Streaming/event architecture described in ARCHITECTURE is not implemented #284
There is a single execute_query Tauri command that returns the full QueryResult after the query completes. No execute_stream, no chunk events, no progress events. A 1M-row result blocks in the JSON IPC payload until complete, defeating the design promise of streaming and likely OOMing the renderer.
Run SELECT * FROM large_table; on a 1M-row table — UI is unresponsive until the query returns full result, several seconds later.
Expected
Rows stream into the grid as they arrive, header info first, then row chunks via Tauri events. UI stays responsive.
Proposed fix
Scope L. Add execute_query_stream Tauri command emitting query_started / query_chunk / query_complete events with a handle. Frontend: resultStore accumulates chunks into the grid via the existing render path. Land test_large_result_set_streaming from TESTING_STRATEGY §4.
Acceptance
1M-row query streams chunks to the grid; renderer responsive throughout; total time ≤ 3s on test_db_large.
Activity