Keep library deletes when a still file is locked, and match LoRAs by engine folder.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-24 11:13:00 -05:00
co-authored by Cursor
parent 8602d6ed2e
commit 39aa4b65d0
19 changed files with 501 additions and 116 deletions
+11
View File
@@ -0,0 +1,11 @@
# Tasks
## Done
1. Library ghost / delete hardening. `removeStillFiles` no longer throws, so a locked thumb cannot abort the catalog write. `deleteStill`, `deleteStillFamily`, and `wipeFolderContents` prune missing masters and write the catalog. Library pages and Studio 2 refetch after delete, clear slots that pointed at the deleted id, and select-all only selects rows already loaded so a later page cannot put a suppressed id back into the selection.
2. LoRA folders. Engine matching prefers `xaigen/<engine>/` and `aigen/<engine>/`. `xaigen` and the `xiagen` typo stay xAIGen-only. `aigen/` stays visible on AIGen. Filename prefixes remain the fallback. Refresh with `fresh=1` still live-scans Comfy, and the stack stores the Comfy-relative path.
## Not in this pass
Klein, Krea, MOSS, MiniMax, and LTX graph changes. Coolify app targets. The `studio-2` branch.