List a missing file:// destination directory as an error #238

Merged
clawbot merged 1 commits from issue-220-missing-file-destination into next 2026-10-06 08:46:18 +02:00
1 Commits
Author SHA1 Message Date
sneak fe66b76148 List a missing file:// destination directory as an error (closes #220)
check / check (pull_request) Successful in 6m8s
The file backend listed a destination directory that does not exist as
an empty store. With the volume unplugged, snapshot list reported every
local snapshot as missing from the store, snapshot remove said it had
removed metadata it never reached, and prune dropped every local
snapshot record. List and ListStream now fail when the destination
directory is missing, so those commands take their existing path for a
store that cannot be listed. A missing prefix under an existing
directory is still an empty listing, and a first backup still creates
the directory.

Three tests listed a file:// destination nothing had created; they now
create it.

Model: opus-5-5
2026-10-06 06:07:35 +00:00