claude-code - 💡(How to fix) Fix Inline PR status badges in long-lived sessions don't refresh after PRs merge

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

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)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Inline PR status badges in long-lived sessions don't refresh after PRs merge