v0.147.2 — 4c follow-up 2: when NO counter can move, say what is being worked on
The v0.147.1 file-count fallback fixed the incremental case but not the one the demo box actually hits. Watching a second real run: bookstack reported clean byte progress (100%, 154.0 MB, 7/7 files — the byte path works), while immich sat at files_done 1 of 46, bytes_done 0, for 42 seconds. restic 0.14 only counts a file into bytes_done/files_done when it COMPLETES, so an app dominated by a single large archive (immich's ~430MB volume tar) freezes both counters. No percentage can move in that window, so stop trying to fake one. restic keeps reporting current_files and seconds_elapsed throughout. The card now names the file being processed and the elapsed time: "1 / 46 fájl (430.2 MB) · feldolgozás alatt: immich_upload.tar · 42 mp". "Working on this file for 42 seconds" is a completely different message from "0%", and it is the honest one. The last known current_files value persists across ticks that omit it (restic does not send it every tick, and blanking the label every other second is its own flicker); switching app clears it so one app's file is never shown against another. Both pinned by tests, with the real 42-second status line shape. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nn3VgQk9iwEGgyx6QJ2NvE
This commit is contained in:
@@ -1,5 +1,24 @@
|
||||
## Changelog
|
||||
|
||||
### v0.147.2 — 4c follow-up 2: when NO counter can move, say what is being worked on (2026-07-19)
|
||||
|
||||
The v0.147.1 file-count fallback fixed the incremental case but not the one the demo box actually
|
||||
hits. Watching a second real run: **bookstack** reported clean byte progress (100%, 154.0 MB, 7/7
|
||||
files — the byte path works), while **immich** sat at `files_done 1 of 46`, `bytes_done 0`, for 42
|
||||
seconds. restic 0.14 only counts a file into `bytes_done`/`files_done` when it **completes**, so an
|
||||
app dominated by a single large archive (immich's ~430MB volume tar) freezes *both* counters. No
|
||||
percentage can move in that window.
|
||||
|
||||
So stop trying to. restic keeps reporting `current_files` and `seconds_elapsed` throughout; the card
|
||||
now shows the file being processed and the elapsed time — „Mentés: immich — 1 / 46 fájl (430.2 MB) ·
|
||||
feldolgozás alatt: immich_upload.tar · 42 mp". „Working on this file for 42 seconds" is a completely
|
||||
different message from „0%", and it is the honest one.
|
||||
|
||||
The last known `current_files` value persists across ticks that omit it (restic does not send it
|
||||
every time, and blanking the label every other second is its own flicker), and switching app clears
|
||||
it so one app's file is never shown against another. Both pinned by tests, along with the real
|
||||
42-second status line shape.
|
||||
|
||||
### v0.147.1 — 4c follow-up: the progress bar must move on an INCREMENTAL run (2026-07-19)
|
||||
|
||||
Found by watching the v0.147.0 card during a real manual run on the demo box, which is the only way
|
||||
|
||||
Reference in New Issue
Block a user