[BUG] "View PR" button routes to merged PR instead of current PR when reusing branch name in same session

Resolved 💬 3 comments Opened Nov 7, 2025 by arkhangelka Closed Jan 12, 2026

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?

When working in the same Claude Code session:
Create PR #1 on branch claude/work-in-progress-<session-id>
Merge PR #1
Delete the branch
Continue in same session - branch gets recreated with same name
Create PR #2 on the same branch name
Click "View PR" button
Expected: Routes to PR #2 (active) Actual: Routes to PR #1 (merged)
Environment: Claude Code Web

What Should Happen?

I expect that you guys automate bug submission.

Error Messages/Logs

Steps to Reproduce

check the problem description - as AI company you should not ask people to fill this ...

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

0.9999999

Platform

Other

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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