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
fix(pipeline): move FTS repair and cache invalidation before commit — post-commit failure leaves inconsistent state #815
ingest_batch/_core.py: conn.commit() runs at line 642, then _commit_sync_ingest_side_effects() runs at line 722 AFTER commit. If side effects fail (FTS repair, trigger restoration, cache invalidation), data is committed but FTS is broken, triggers are suspended, and cache is stale. The code documents this risk at lines 711-722.
Also: if process receives SIGKILL mid-bulk-operation, FTS triggers remain dropped permanently (C6). Search returns stale results with no indication.
Also: rebuild.py line 82 sets _SESSION_INSIGHT_REBUILD_PAGE_SIZE = 1, causing one conversation per SQL round-trip (~17K queries for 4K conversations). Should be 50-200. Fix alongside post-commit ordering.
Activity
Sinity commentedon May 4, 2026
Also: rebuild.py line 82 sets _SESSION_INSIGHT_REBUILD_PAGE_SIZE = 1, causing one conversation per SQL round-trip (~17K queries for 4K conversations). Should be 50-200. Fix alongside post-commit ordering.
Sinity commentedon May 4, 2026
Folded into #817 (storage/DB fixes).
perf(storage): rescue perf items from #809 fold (#1314) (#1334)
audit(governance): closed-issue workload audit (#1310) (#1401)