quak helper fix-missing-thumbnails --file on an empty cache stops fetching collections once it finds every file (closes #223) #227

Merged
clawbot merged 1 commits from issue-223-fix-thumbnails-file-search into next 2026-10-26 11:25:11 +01:00
1 Commits
Author SHA1 Message Date
sneak 631bd5d4bf quak helper fix-missing-thumbnails --file on an empty cache stops fetching collections once it finds every file (closes #223)
check / check (push) Waiting to run
`helper fix-missing-thumbnails --file` used to wait for a refresh, which
on an empty cache fetched the files of every collection. It now finds the
named files through the new `freshFilesByID` in `src/cli-read.ts`, by the
rule `freshFile` follows. On an empty cache it reads the collection list,
then one collection's files at a time, and stores none of the collections
or file records it reads. It searches the most recently updated
collection first. So a file in several albums is still named after the
first of them that `Library.albums.list()` lists. `fixMissingThumbnails`
now takes the records the command found, and fetches each original
through `lib.originalOf()`.

Model: opus-5-5
2026-10-26 10:05:17 +00:00