check / check (push) Waiting to run
Each album's folder, links and JSON are written inside one try. A failure prints `FAILED album <name>: <reason>`, lists the album's ID in the result's new `failedAlbums`, and so in `--json`, and makes `quak backup` exit 1. The other albums and `failures.json` are still written. An album whose folder would have another album's JSON name, ignoring case (`x.json` beside `x`), gets its ID added. A folder or link name over 255 bytes gets the ID and is cut short between two characters by `shortenToBytes` in `src/filename.ts`; a folder name leaves room for `.json`. A link's ID stays right before its extension, which is cut short only once nothing is left before the ID, so no two names with IDs match. Apart from its call to `uniqueNames`, the album loop is only indented into the try. Model: opus-5-5