Files
lightcraft/crates/engine
OneSlipsandClaude Opus 5.5 3698966e2f LR-EDIT-OPTICS-PROFILE: the lens database folder is held by an operating-system lock, and startup recovery waits its turn (CodeRabbit, #3073)
DirLock is now File::try_lock on the file beside the folder (flock / LockFileEx), released by the
system when the file closes or the process ends: no age-based takeover, so a long download is never
taken over and a crash never leaves the folder locked. recover takes the lock and skips while a
download holds it (the start paths: with_default_lens_database and fetch_on_start); fetch_all,
which holds it, recovers through recover_locked. The hover-preview key test also swaps one database
profile for another.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:33:43 +10:00
..