Files
lightcraft/crates/engine
OneSlipsandClaude Opus 5.5 172467bfc8 LR-EDIT-OPTICS-PROFILE: a failed swap keeps the only whole lens database, and the folder lock is proved across processes (CodeRabbit, #3073)
publish removes a leftover previous database only when the database folder is there; without it
(a recovery that couldn't put it back) the previous copy stays until the new one is in place.
recover logs why it skipped when it can't take the lock, and DirLock unlocks explicitly on drop so
a process another thread is spawning can't keep it. New tests: a_failed_swap_keeps_the_only_whole_database,
another_process_holding_the_folder_refuses_a_download_here (a child process holds the lock).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:55:59 +10:00
..