Start the progress reporter once per snapshot, not once per path #255

Merged
clawbot merged 1 commits from issue-253-progress-reporter-once-per-snapshot into next 2026-10-07 00:12:11 +02:00
1 Commits
Author SHA1 Message Date
sneak 75ea4c90dd Start the progress reporter once per snapshot, not once per path (closes #253)
check / check (push) Waiting to run
A backup without --cron of a snapshot with two or more paths panicked
with "close of closed channel". Scan runs once per path, and it started
the progress reporter and deferred its Stop each time; Stop closes the
reporter's signal channel, so the second path's Stop panicked.
scanAllDirectories now starts the reporter before the first path and
stops it after the last, and Scan no longer starts or stops it. A new
test backs up a two-path snapshot with the reporter on and restores
both paths.

Model: opus-5-5
2026-10-06 21:19:08 +00:00