[BUG] PR indicators incorrectly appearing on all sessions in same repository
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Description:
PR status indicators are displaying on all recent sessions within the same repository, even though only one session actually created a PR.
What Should Happen?
PR indicators should only appear on sessions that actually created or are associated with that specific PR.
Error Messages/Logs
Steps to Reproduce
Work in multiple sessions within the same git repository (all starting from main branch)
Create a PR from one session (which opens a local branch)
Observe that all other sessions in the recents list now show the green merge request icon
Click on the PR indicator in an older session - it incorrectly links to the PR from the newer session
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code version 2.1.168
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Issue persists after restarting Claude Code
Sessions are in the same repository but different branches
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗