Task log: recent tasks with status, Enter shows the log #10

Closed
opened 2026-11-02 22:55:41 +01:00 by Duckboot · 0 comments
Owner

Why

When a backup, start or other action fails, the TUI only shows a one-line error. Finding the cause means opening the web UI.

Proposal

  • A new key on the main screen opens a "Tasks" screen listing recent tasks: type, guest, user, start time, status (OK or the error).
  • Enter on a task shows its log.
  • Optional: filter to the selected guest from the info screen.

cv4pve-cli (2.4.0)

  • task list
  • task show <upid>
  • task log <upid>

Note: task wait/show does not accept -o json (seen in 2.4.0), so check the output format of each command.

Done when

  • The task list and log viewer work.
  • Tests are written first, with cv4pve-cli mocked.
  • A read-only live check passes.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

## Why When a backup, start or other action fails, the TUI only shows a one-line error. Finding the cause means opening the web UI. ## Proposal - A new key on the main screen opens a "Tasks" screen listing recent tasks: type, guest, user, start time, status (OK or the error). - Enter on a task shows its log. - Optional: filter to the selected guest from the info screen. ## cv4pve-cli (2.4.0) - `task list` - `task show <upid>` - `task log <upid>` Note: `task wait/show` does not accept `-o json` (seen in 2.4.0), so check the output format of each command. ## Done when - The task list and log viewer work. - Tests are written first, with `cv4pve-cli` mocked. - A read-only live check passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Duckboot added the
priority
2-medium
label 2026-11-02 22:55:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Duckboot/cv4pve-cli-tui#10