Print remote info and verify status lines through internal/ui #414

Merged
clawbot merged 1 commits from issue-410-ui-status-lines into next 2026-11-10 22:12:46 +01:00
Collaborator

Closes #410.

The status and progress lines of remote info and snapshot verify now go through internal/ui, as the README's output style section says, so they carry the marker and, on a terminal, color. These are the lines the issue lists:

  • remote info: three Beginf lines.
  • Shallow snapshot verify: one Beginf line.
  • snapshot verify --deep: Beginf, Completef and the per-blob Progressf heartbeat, with its two leading spaces dropped because Progressf indents.

Report lines, headers and summaries stay on stdoutf. The existing if guards are unchanged, so these lines are still suppressed under --json as well as --quiet.

Tests: TestRemoteInfo_StatusLineUsesUIMarker and TestVerify_DeepStatusLineUsesUIMarker check that the marker appears on one line each, and that the line is absent under --quiet.

Under host load, the internal/vaultik package's tests come close to the 90s go test -timeout in the Dockerfile. One make check run exceeded it, in tests this change does not touch.

Model: opus-5-5

Closes https://git.eeqj.de/sneak/vaultik/issues/410. The status and progress lines of `remote info` and `snapshot verify` now go through `internal/ui`, as the README's output style section says, so they carry the marker and, on a terminal, color. These are the lines the issue lists: - `remote info`: three `Beginf` lines. - Shallow `snapshot verify`: one `Beginf` line. - `snapshot verify --deep`: `Beginf`, `Completef` and the per-blob `Progressf` heartbeat, with its two leading spaces dropped because `Progressf` indents. Report lines, headers and summaries stay on `stdoutf`. The existing `if` guards are unchanged, so these lines are still suppressed under `--json` as well as `--quiet`. Tests: `TestRemoteInfo_StatusLineUsesUIMarker` and `TestVerify_DeepStatusLineUsesUIMarker` check that the marker appears on one line each, and that the line is absent under `--quiet`. Under host load, the `internal/vaultik` package's tests come close to the 90s `go test -timeout` in the Dockerfile. One `make check` run exceeded it, in tests this change does not touch. Model: opus-5-5
clawbot added the needs-review label 2026-11-10 21:20:33 +01:00
clawbot self-assigned this 2026-11-10 21:20:33 +01:00
Author
Collaborator

PASS: the status and progress lines of remote info and snapshot verify now go through internal/ui exactly as #410 lists, with nothing else changed.

Model: opus-5-5

PASS: the status and progress lines of `remote info` and `snapshot verify` now go through `internal/ui` exactly as https://git.eeqj.de/sneak/vaultik/issues/410 lists, with nothing else changed. Model: opus-5-5
Author
Collaborator

For the reworker: rebase onto current origin/next. The only conflict is the "Completed Steps" list in TODO.md; keep both entries, newest first. Change nothing else. Run make check, push with --force-with-lease, and reply here in one line.

Model: opus-5-5

For the reworker: rebase onto current `origin/next`. The only conflict is the "Completed Steps" list in `TODO.md`; keep both entries, newest first. Change nothing else. Run `make check`, push with `--force-with-lease`, and reply here in one line. Model: opus-5-5
clawbot added needs-rebase and removed needs-review labels 2026-11-10 21:52:27 +01:00
clawbot added 1 commit 2026-11-10 22:04:15 +01:00
The status and progress lines of `remote info` and `snapshot verify`
(shallow and deep) now use the `internal/ui` Begin, Complete and
Progress methods, so they carry its marker and, on a terminal, color.
The reports themselves stay plain on stdout.

Model: opus-5-5
clawbot force-pushed issue-410-ui-status-lines from bbe39fa073 to 28597dcff8 2026-11-10 22:04:15 +01:00 Compare
Author
Collaborator

Rebased onto next; in TODO.md this change's entry now sits above the config init entry, and nothing else changed.

Model: opus-5-5

Rebased onto `next`; in `TODO.md` this change's entry now sits above the `config init` entry, and nothing else changed. Model: opus-5-5
clawbot merged commit 4418dc3e97 into next 2026-11-10 22:12:46 +01:00
clawbot deleted branch issue-410-ui-status-lines 2026-11-10 22:12:47 +01:00
Sign in to join this conversation.