Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 22, 2026

gh aw list was missing workflow count output that gh aw status displays, making the output inconsistent across commands.

Changes

  • Added count message before table output in RunListWorkflows()
  • Format: ✓ Found X workflow(s) using console.FormatSuccessMessage()
  • Count reflects post-filter state (by pattern/labels)
  • Text output only - JSON mode unchanged

Example

$ gh aw list
✓ Found 135 workflows
╭──────────────────────────────────┬───────┬────────┬──────╮
│Workflow                          │Engine │Compiled│Labels│
...

$ gh aw list ci-
✓ Found 3 workflows
╭─────────────────┬───────┬────────┬──────╮
│Workflow         │Engine │Compiled│Labels│
...
Original prompt

This section details on the original issue you should resolve

<issue_title>bug: "gh aw list": should also output number of workflows, similar to "gh aw status"</issue_title>
<issue_description>"gh aw list": should also output number of workflows, similar to "gh aw status"

currently, for this new command option, the output of number of workflows is missing.
Please implement this consistent with "gh aw status"

example:

gh aw status
✓ Fetched 1 public and 3 internal workflows
╭───────────────────┬─────────┬──────────┬────────┬────────────────┬────────┬────────────┬────────────────╮
│ Workflow          │ Engine  │ Compiled │ Status │ Time Remaining │ Labels │ Run Status │ Run Conclusion │
├───────────────────┼─────────┼──────────┼────────┼────────────────┼────────┼────────────┼────────────────┤
│ daily-team-status │ copilot │ Yes      │ active │ 30d 16h        │ -      │ -          │ -              │
╰───────────────────┴─────────┴──────────┴────────┴────────────────┴────────┴────────────┴────────────────╯
 gh aw list
╭───────────────────┬─────────┬──────────┬────────╮
│ Workflow          │ Engine  │ Compiled │ Labels │
├───────────────────┼─────────┼──────────┼────────┤
│ daily-team-status │ copilot │ Yes      │ -      │
╰───────────────────┴─────────┴──────────┴────────╯
```</issue_description>

## Comments on the Issue (you are @copilot in this section)

<comments>
</comments>


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix output of number of workflows in gh aw list Add workflow count output to gh aw list command Jan 22, 2026
Copilot AI requested a review from pelikhan January 22, 2026 17:04
@pelikhan pelikhan marked this pull request as ready for review January 22, 2026 17:25
@pelikhan pelikhan merged commit d802914 into main Jan 22, 2026
@pelikhan pelikhan deleted the copilot/fix-gh-aw-list-output branch January 22, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: "gh aw list": should also output number of workflows, similar to "gh aw status"

2 participants