Follow a run with zfj run watch #31

Closed
opened 2026-10-16 23:59:31 -05:00 by jeff · 0 comments
Owner

Part of #27

What

zfj run watch <run number>: follow a run until it finishes.

  • Polls the run and its jobs every 3 seconds; -i/--interval <seconds> changes it.
  • On a terminal, redraws the job table in place; when output is not a terminal, prints a line only when a job's status changes.
  • A run that has already finished is shown once and the command exits.
  • --exit-status exits 5 when the run ended in anything but success, as run view does.

Done when

Watching a run in progress follows it to the end, a finished run returns at once, --exit-status exits 5 on a failure, and the README and usage describe it.

Part of #27 ## What `zfj run watch <run number>`: follow a run until it finishes. - Polls the run and its jobs every 3 seconds; `-i/--interval <seconds>` changes it. - On a terminal, redraws the job table in place; when output is not a terminal, prints a line only when a job's status changes. - A run that has already finished is shown once and the command exits. - `--exit-status` exits **5** when the run ended in anything but `success`, as `run view` does. ## Done when Watching a run in progress follows it to the end, a finished run returns at once, `--exit-status` exits 5 on a failure, and the README and usage describe it.
jeff self-assigned this 2026-10-17 00:55:14 -05:00
jeff closed this issue 2026-10-17 10:34:18 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
Reference
jeff/zfj#31
No description provided.