Inline PR status badges in long-lived sessions don't refresh after PRs merge

Resolved 💬 4 comments Opened May 15, 2026 by mpartipilo Closed May 23, 2026

Environment

  • macOS 26.4.1 (Build 25E253)
  • Claude Code 2.1.141
  • Claude desktop app 1.7196.0

What's wrong
In a single Claude Code session that opens many PRs over time (some via the main agent, some via subagents), the inline PR cards in the transcript keep showing "Open" status even after the PRs are merged on GitHub. The CI pill on the right side of each card updates fine; only the status badge is stale.

Repro

  1. Start a Claude Code session and open multiple PRs from it over time (mix of agent-created and subagent-created)
  2. Merge the PRs on GitHub via rebase merge
  3. Scroll back through the session transcript

Expected: badges reflect current PR state (Merged/Closed).
Actual: badges remain "Open" indefinitely.

Screenshot
A session transcript showing ~20 PR cards (beryl 157–178, with some gaps) all displaying green "Open" status badges. CI pills on the right side of each card are up to date; only the left-side status badge is stale.

<img width="896" height="1362" alt="Image" src="https://github.com/user-attachments/assets/eb5f6e41-ba52-4b2f-892e-5a7296a8b82a" />

Tried, did not work

  • Re-authenticating GitHub connection
  • Closing and reopening the session
  • Quitting and relaunching the app
  • /compact

Why archiving isn't a fix
The session is still active; I'm continuing to work in it and open more PRs. Per-session archive isn't applicable, and there's no documented per-card refresh.

Related issues

  • #11176 (conversation-to-PR linking immutable once established)
  • #54022 (branch label stale, restart doesn't refresh)
  • #25512 (status bar shows merged/closed PR)

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗