Skip to content

fix(journal): delete daily review embedding vectors on review invalidation The vec0 virtual table backing daily review embeddings does not participate in FK cascades, so invalidating a daily review (new entry or /undo for that date) deleted the review and its embedding metadata but orphaned the vector row in daily_review_embedding_vec forever. Delete the vector rows explicitly before deleting the review, the same way delete_last_for_conversation already does for journal entry embeddings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>#102

Merged
asiniscalchi merged 1 commit into
mainfrom
fix/daily-review-embedding-vec-orphans
Jun 12, 2026

fix(journal): delete daily review embedding vectors on review invalid…

89ab816
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

Annotations

1 warning
Docker
succeeded Jun 12, 2026 in 5m 36s