Skip to content

feat(task): runs as a table, last three per target - #1

Merged
jshvn merged 1 commit into
mainfrom
josh/runs-table
Sep 23, 2026
Merged

jshvn merged 1 commit into
mainfrom
josh/runs-table

Conversation

@jshvn

@jshvn jshvn commented Sep 22, 2026

Copy link
Copy Markdown
Member

Summary

  • task runs prints one table in the same style as task targets: JOB, STARTED (UTC), EVENT, RESULT. The job name appears only on its first row.
  • It shows the last 3 runs per target by default (was 10); LIMIT= still overrides it.
  • An unfinished run shows its status (queued, in_progress) instead of a blank. GitHub returns an empty string for its conclusion, not null, so the old // "running" fallback never fired.

Test plan

  • task runs on a terminal and piped: aligned table, header present, in-progress runs labelled
  • task runs LIMIT=1

@jshvn
jshvn merged commit aa59283 into main Sep 23, 2026
1 check passed
@jshvn
jshvn deleted the josh/runs-table branch September 23, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant