Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
In the Pull Requests sidebar (Local Pull Request Branches), PR entries display the remote URL identifier (e.g. my-org_my-repo.git:1024) as the primary label instead of the pull request title. The secondary line correctly shows by @author.
The GitHub Pull Requests extension sets the tree item label using the treeItemMarkdownLabel API (MarkdownString / TreeItemLabel2). When that label is not rendered, VS Code/Cursor falls back to resourceUri, which is built as ${remote.url}:${prNumber}.
Steps to Reproduce
- Install GitHub Pull Requests and Issues (GitHub.vscode-pull-request-github, v0.156.0).
- Open a GitHub repo with local branches associated to open PRs (branch..github-pr-owner-number in .git/config).
- Ensure githubPullRequests.remotes includes origin.
- Open the Pull Requests view in the primary sidebar.
- Expand Local Pull Request Branches.
Expected Behavior
Primary label should show the PR title (e.g. #1024: WIP: Example feature tracker), not the remote URL identifier (e.g. my-org_my-repo.git:1024).
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Cursor 3.11.19 (Stable)
VS Code Version: 1.105.x
OS: macOS 26.5.2 (arm64)
Extension: GitHub.vscode-pull-request-github 0.156.0
GitHub auth: Working (gh auth status OK)
Repo example: / (private enterprise GitHub)
Additional Information
Root cause: Cursor product.json lists treeItemMarkdownLabel for the GitHub PR extension, but MarkdownString/TreeItemLabel2 labels do not render in the PR tree — the UI falls back to resourceUri (${remote.url}:${prNumber}).
References:
- vscode-pull-request-github#8327, #8524
- VS Code issue #115365 (tree label falls back to resourceUri)
Workaround: Patch dist/extension.js to use plain string label instead of MarkdownString.
Suggested fix: Ensure Cursor fully implements treeItemMarkdownLabel rendering for third-party extensions.
Does this stop you from using Cursor
No - Cursor works, but with this issue
