[BUG] End-of-session "N repos" panel duplicates a repo when MCP scope and git remote casings differ

Resolved 💬 2 comments Opened Apr 20, 2026 by samggreenberg Closed May 27, 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?

Summary

In Claude Code on the web, the end-of-session panel renders the same
GitHub repo twice whenever the repo name contains uppercase letters.
The git remote URL preserves the cased name, but the GitHub MCP
Repository Scope string is lowercased. Since the UI keys rows by that
string, one real repo shows up as two rows.

Observed

Two rows, same branch, only one is real:

  • myrepo <base> ← <branch> (no diff, phantom)
  • MyRepo <base> ← <branch> (shows diff, real push, links to

the actual PR on github.com)

Only one PR exists on github.com. Screenshot (from a mixed-case
private repo) attached — repo/branch names redacted, but the two rows
and the casing difference are visible.

Impact

Cosmetic but confusing — users reasonably believe Claude opened two
PRs and go hunting for a second one that doesn't exist.

Notes

  • Any lowercase repo name (my-repo) will not hit this bug — the two

identity sources agree.

  • Only mixed-case repo names (MyRepo, VTSearch, etc.) trigger it.

What Should Happen?

One row per underlying GitHub repo. Repo identities should be
matched case-insensitively (GitHub itself treats repo names that way),
so the MCP scope string and the git remote URL collapse into a single
entry.

Error Messages/Logs

Steps to Reproduce

  1. Create or use a GitHub repo whose name has uppercase letters,

e.g. your-org/MyRepo.

  1. Open it as a project in Claude Code on the web.
  2. Run any session that pushes a branch and opens a PR.
  3. Scroll to the end-of-session panel.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Web app

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

<img width="752" height="693" alt="Image" src="https://github.com/user-attachments/assets/9290af2e-db17-4a5b-9490-91efe4121499" />

View original on GitHub ↗

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