Skip to content

Trying to open a closed PR results in NOP #8129

@dmitrivMS

Description

@dmitrivMS

Testing microsoft/vscode#274805

Repro Steps

  1. Load vscode repo in Insiders
  2. Open this link in browser: vscode-insiders://github.vscode-pull-request-github/checkout-pull-request?%7B%22owner%22%3A%22microsoft%22%2C%22repo%22%3A%22vscode%22%2C%22pullRequestNumber%22%3A273860%7D
  3. It will show progress (good), it will ask you to fetch the PR (good), it will create a branch (good)

Actual Result
After a while, nothing happens.

Expected Result
To see the PR.

Git Log

2025-11-05 14:45:52.770 [info] > git rev-parse refs/remotes/origin/dev/dmitriv/glob-2 [64ms]
2025-11-05 14:45:52.936 [info] > git status -z -uall [161ms]
2025-11-05 14:45:53.031 [info] > git for-each-ref --sort -committerdate --format %(refname)%00%(objectname)%00%(*objectname) [252ms]
2025-11-05 14:46:26.715 [info] > git config --get commit.template [62ms]
2025-11-05 14:46:26.774 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/dev/dmitriv/glob-2 refs/remotes/dev/dmitriv/glob-2 [115ms]
2025-11-05 14:46:26.779 [warning] [Git][revParse] Unable to read file: ENOENT: no such file or directory, open 'c:\Users\dmitriv\repos\vscode\.git\refs\remotes\origin\dev\dmitriv\glob-2'
2025-11-05 14:46:26.838 [info] > git rev-parse refs/remotes/origin/dev/dmitriv/glob-2 [60ms]
2025-11-05 14:46:27.000 [info] > git status -z -uall [158ms]
2025-11-05 14:46:27.091 [info] > git for-each-ref --sort -committerdate --format %(refname)%00%(objectname)%00%(*objectname) [244ms]

GitHug Pull Request Log

2025-11-05 14:45:22.214 [info] [Review+0] Switch to Pull Request microsoft/vscode#273860 - start
2025-11-05 14:45:22.283 [info] [PullRequestGitHelper] Fetch tracked branch refs/remotes/origin/dev/dmitriv/glob-2
2025-11-05 14:45:23.697 [info] [PullRequestGitHelper] Branch dev/dmitriv/glob-2 doesn't exist on local disk yet. Creating from remote.
2025-11-05 14:45:26.623 [info] [PullRequestGitHelper] associate dev/dmitriv/glob-2 with Pull Request microsoft/vscode#273860
2025-11-05 14:45:27.484 [info] [Review+0] Switch to Pull Request microsoft/vscode#273860 - done
2025-11-05 14:45:27.484 [info] [Review+0] Validate state in progress
2025-11-05 14:45:27.484 [info] [Review+0] Validating state...
2025-11-05 14:45:27.501 [info] [FolderRepositoryManager+0] Found GitHub remote for folder c:\Users\dmitriv\repos\vscode
2025-11-05 14:45:27.502 [info] [FolderRepositoryManager+0] Using in-memory cached assignable users.
2025-11-05 14:45:27.597 [info] [Review+0] Found matching pull request metadata for current branch dev/dmitriv/glob-2. Repo: microsoft/vscode PR: 273860
2025-11-05 14:45:27.597 [info] [Review+0] current branch dev/dmitriv/glob-2 is associated with pull request microsoft/vscode#273860
2025-11-05 14:45:27.597 [info] [Review+0] Resolving pull request
2025-11-05 14:45:29.003 [info] [GitHubRepository+0] Fetch branch main - enter
2025-11-05 14:45:29.346 [info] [GitHubRepository+0] Fetch branch main - done: true
2025-11-05 14:45:29.346 [info] [Review+0] Resolved PR microsoft/vscode#273860, state is CLOSED
2025-11-05 14:45:30.030 [info] [Review+0] Found matching pull request metadata on GitHub for current branch dev/dmitriv/glob-2. Repo: microsoft/vscode PR: 273860
2025-11-05 14:45:30.030 [info] [PullRequestGitHelper] associate dev/dmitriv/glob-2 with Pull Request microsoft/vscode#273860
2025-11-05 14:45:30.665 [info] [Review+0] This PR is closed

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions