Agent view: surface PR CI status on PR cards (βœ… / πŸ”„ / ❌)

Resolved πŸ’¬ 1 comment Opened May 13, 2026 by cchadha2 Closed Jun 12, 2026

Problem

When Claude Code creates or interacts with a GitHub PR during a session
(e.g. via gh pr create), the agent view shows a PR card with the PR number
and link. The CI status of that PR isn't on the card β€” to know whether checks
are passing, pending, or failing, I have to context-switch to GitHub or run
gh pr view.

For iterative workflows (open PR β†’ address review β†’ push β†’ wait for CI β†’ repeat),
a glanceable status indicator on the agent view card would remove a constant
context switch.

Proposed solution

Show an aggregate CI status indicator on the agent-view PR card:

  • βœ… β€” all required checks succeeded
  • πŸ”„ β€” any check still pending/running
  • ❌ β€” any required check failed
  • ⚠️ β€” error state (e.g. workflow failed to start)

Source the data from gh pr view --json statusCheckRollup or the equivalent
GitHub GraphQL field. Refresh on a sensible cadence (e.g. every ~30s while
the agent view is focused, and after any tool call that hits gh pr).

Acceptance criteria

  • [ ] Agent-view PR cards show an aggregate CI status indicator
  • [ ] Indicator updates without restarting the session
  • [ ] Works for PRs created during the current session AND PRs that were

already open when the session started

Workaround today

\statusLine\ + a \PostToolUse\ hook that captures PR numbers from
\gh pr create\ output, polls \gh pr view --json statusCheckRollup\, and emits
a colored dot in the status line. ~30 lines of shell. Works, but isn't tied
to the agent-view card and shows only one PR at a time.

Related

  • #58649 ("Agents View: show branch name, merge status") β€” adjacent ask for

more PR metadata on the agent-view card. CI status could fold into the
same iteration on that card UI.

---

_Filed by a Claude Code user via session automation._

View original on GitHub β†—

This issue has 1 comment on GitHub. Read the full discussion on GitHub β†—