Phase 4: Read list/search from session_messages, drop JSON fallback
- list_all / list_page / search_list now load messages via _build_sessions()
  which batch-loads session_messages in a single query
- count_all search uses EXISTS (SELECT 1 FROM session_messages ...) instead
  of ILIKE on the JSON text column
- Removed _row_to_session and all legacy JSON column reads from list paths
- get() continues to load session_messages directly (Phase 3)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 16ff513 commit 0c04f08b2a03d40837b52b27b42b086b2be58eaf
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 25 May
Showing 1 changed file
View
navi/core/pg_session_store.py