mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
56f5dcd4bc
Resolves #169 - Add simple IntegrityError handling in handle_move function - Use temporary path strategy to resolve file swap conflicts - Add comprehensive test coverage for move conflict scenarios - Maintain backward compatibility for all other error types This fixes the "UNIQUE constraint failed: entity.file_path, entity.project_id" error that occurred during sync operations when files were swapped or moved to locations already occupied by other entities. Co-authored-by: Paul Hernandez <phernandez@users.noreply.github.com>