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
Commit 0b1ef90
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(sessions): gateway becomes unusable when there are many sessions (#113959)
* fix(sessions): add SQLite session entry cache with current-schema support
Rebase PR #113959 cache changes onto current origin/main:
- Replace listSqliteSessionEntries with cached version using
session_nodes table (was session_entries)
- Add connection-identity token for data_version cross-connection safety
- Add light listing variant with LIMIT/OFFSET pagination
- Add file-stat + data_version coherence guards
- Add cache invalidation on all mutation paths
- Add SessionEntryListScope type with light/limit/offset fields
- Restore store-cache.ts (deleted upstream, re-added with cache layer)
* perf(sessions): project lightweight gateway lists
Replace the request-time session cache and freshness probes with an explicit SQL-side list projection. Keep full entry reads as the default, preserve the post-await sharing authorization refresh, and carry the projection through Gateway, TUI, and embedded-tool list paths.
Co-authored-by: Erick Kinnee <[email protected]>
Co-authored-by: gucasbrg <[email protected]>
* test(tui): expect lightweight session projection
---------
Co-authored-by: Erick Kinnee <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: gucasbrg <[email protected]>
0 commit comments