claude-code - 💡(How to fix) Fix [BUG] PR status badge is shown in every session's composer, not only the session that created the PR

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…

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

In the Claude Code desktop app, when a Pull Request is created from one session, the PR status badge (branch name + PR number + diff stats, e.g. "⎇ 37 claude/implement-stg-12-L5qbo +4,614 −122 CI") is rendered at the bottom of the composer in EVERY session of the project — not only in the session that actually opened the PR.

The badge is project-global instead of session-scoped. It appears identically in unrelated sessions ("Implement STG-12 initiative", "implement-initiative skill", "Review pull request 37 and commit comments", etc.), making it impossible to tell from which session the PR was created. This badly breaks navigation between sessions.

What Should Happen?

The PR status badge should be scoped to the session that created the Pull Request. Other sessions of the same project should not display that badge in their composer.

Error Messages/Logs

Steps to Reproduce

  1. Open the Claude Code desktop app on a project with multiple sessions.
  2. In one session, create a Pull Request (or have the agent create it).
  3. Switch to any other session of the same project.
  4. Observe the composer: the PR badge from step 2 is shown there as well.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.133 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

This bug is in the Claude Code desktop app (macOS, Apple Silicon), not the CLI — the Terminal/Shell field above is not applicable.

macOS 26.4.1 (Tahoe), MacBook Pro 14" M4 Max.

Claude 1.7196.0 (2dbd78) 2026-05-12T05:34:40.000Z

The PR badge ("⎇ 37 claude/implement-stg-12-L5qbo +4,614 −122") leaks into the composer of all sessions in the project. Screenshots attached showing the same badge in four different unrelated sessions.

<img width="3248" height="2122" alt="Image" src="https://github.com/user-attachments/assets/cda10244-0874-4222-92b3-f19c1f3d3ede" /> <img width="3248" height="2122" alt="Image" src="https://github.com/user-attachments/assets/43885603-dac9-4602-a588-1fedba913395" />

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