mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Prevents accidental deletion of placeholder documents during embedding cleanup. * Improves accuracy when identifying documents to remove, using multiple data sources. * Skips unnecessary cleanup when no embeddings or snapshots exist, reducing noise and overhead. * **Chores** * Streamlined and centralized document filtering logic to ensure consistent cleanup behavior. * Parallelized data checks to make cleanup more efficient without changing user workflows. <!-- end of auto-generated comment: release notes by coderabbit.ai -->