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
rebuild.py line 82: _SESSION_INSIGHT_REBUILD_PAGE_SIZE = 1 causes the sync rebuild to process ONE conversation per database round-trip. For 4,310 conversations that's ~17,240 SQL queries. The async refresh already uses message-budget chunking.
Fix: increase to 50-200. Also: remove per-call FTS readiness COUNT(*) check on every search (daemon already does this at startup), pre-compute provider metrics from conversation_stats instead of scanning messages table, replace model_copy() with lazy content block lookup during hydration.
Activity
Sinity commentedon May 4, 2026
Folded into #815 (pipeline fixes).
perf(storage): rescue perf items from #809 fold (#1314) (#1334)
audit(governance): closed-issue workload audit (#1310) (#1401)