feat: show PR/CI status in task list and show commands#100
Merged
Conversation
Add --pr flag to `task list` command to display PR/CI status with colored badges showing: failing (F), passing (P), running (W), ready to merge (R), conflicts (C), merged (M), closed (X), or draft (D). Update `task show` to automatically display PR info and CI status when a task has an associated branch with a PR. Shows PR number, URL, and colored CI status description. Both commands also include PR info in JSON output when available. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--prflag totask listcommand to display PR/CI status with colored badgestask showto automatically display PR info and CI status when a task has an associated PRDetails
task list --prWhen the
--prflag is used, tasks with associated PRs show a colored badge indicating:task show <id>Automatically fetches and displays PR info when a task has a branch with an associated PR:
JSON Output
Both commands include PR info in JSON output when available:
{ "pr": { "number": 123, "url": "https://github.com/...", "state": "OPEN", "check_state": "FAILURE", "description": "Checks failing" } }Test plan
task list --prshows PR status for tasks with PRstask show <id>shows PR info for a task with a PR🤖 Generated with Claude Code