Print a run's logs with run view --log #30

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

Part of #27

What

zfj run view <run number> --log: the logs of a run's jobs.

  • Each job's latest attempt, fetched with repoGetActionJobLogs, printed under a header naming the job.
  • --job <name|id> prints only that job; --attempt <n>, accepted only with --job, prints that attempt.
  • --log-failed prints only jobs whose status is failure.
  • On a run still going, prints what each job has logged so far and exits; a job not yet started is listed as no log yet. Following is run watch's job, not this one.

Done when

zfj run view 43 --log --job winget prints the log of the job that submitted JCOllie.Zfj 0.5.0, the other options behave as above, and the README and usage describe them.

Part of #27 ## What `zfj run view <run number> --log`: the logs of a run's jobs. - Each job's latest attempt, fetched with `repoGetActionJobLogs`, printed under a header naming the job. - `--job <name|id>` prints only that job; `--attempt <n>`, accepted only with `--job`, prints that attempt. - `--log-failed` prints only jobs whose status is `failure`. - On a run still going, prints what each job has logged so far and exits; a job not yet started is listed as `no log yet`. Following is `run watch`'s job, not this one. ## Done when `zfj run view 43 --log --job winget` prints the log of the job that submitted JCOllie.Zfj 0.5.0, the other options behave as above, and the README and usage describe them.
jeff self-assigned this 2026-10-17 00:46:37 -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#30
No description provided.