Unable to Access Enterprise Git Pull Requests
See original GitHub issue❯ git remote --v
origin git@github3.abcd-comp.com:myuser/some-repo.git (fetch)
origin git@github3.abcd-comp.com:myuser/some-repo.git (push)
origin-https https://github3.abcd-comp.com/my-org/some-repo.git (fetch)
origin-https https://github3.abcd-comp.com/my-org/some-repo.git (push)
upstream git@github3.abcd-comp.com:my-org/some-repo.git (fetch)
upstream git@github3.abcd-comp.com:my-org/some-repo.git (push)
With the repo configuration as above, and following VSCode settings
{
"github-enterprise.uri": "https://github3.abcd-comp.com",
"githubPullRequests.remotes": [
"origin",
"upstream",
]
}
I am unable to see any PRs being listed in the VSCode.
[2022-03-03 18:56:35.177] [exthost] [info] Extension host with pid 2298 started
[2022-03-03 18:56:35.237] [exthost] [info] ExtensionService#_doActivateExtension vscode.configuration-editing, startup: false, activationEvent: 'onLanguage:jsonc'
[2022-03-03 18:56:35.241] [exthost] [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
[2022-03-03 18:56:35.252] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
[2022-03-03 18:56:35.260] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
[2022-03-03 18:56:35.272] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*'
[2022-03-03 18:56:35.274] [exthost] [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.github
[2022-03-03 18:56:35.276] [exthost] [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github, startup: true, activationEvent: '*'
[2022-03-03 18:56:35.328] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
[2022-03-03 18:56:38.123] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: false, activationEvent: 'api', root cause: GitHub.vscode-pull-request-github
[2022-03-03 18:56:38.267] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
[2022-03-03 18:56:38.279] [exthost] [info] Eager extensions activated
[2022-03-03 18:56:38.284] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished'
[2022-03-03 18:56:38.288] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
[Info] Registering git provider
[Info] Looking for git repository
[Info] Found 0 repositories during activation
[Info] Git repository found, initializing review manager and pr tree view.
[Info] Repository file:///....... has been opened
[Info] Review> Validate state in progress
[Info] Review> Validating state...
[Info] Cannot updates repositories as git is uninitialized
[Info] Git initialization state changed: state=initialized
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] No remotes found. The following remotes are missing: origin, upstream, origin-https
[Info] No GitHub remotes found
[Info] Review> Queuing additional validate state
[Info] Repo state for file:///...... changed.
[Info] Repo file:///.... has already been setup.
[Info] Review> Validating state...
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch master
[Info] Review> no matching pull request metadata found on GitHub for current branch master
[Info] Found GitHub remote
[Info - 13:56:35.342] Reading sessions from keychain...
[Info - 13:56:38.118] Getting sessions for read:user,repo,user:email...
[Info - 13:56:38.118] Got 0 sessions for read:user,repo,user:email...
Is there something I am doing wrong?
- Extension version: v0.36.2
- VSCode Version: 1.64.2 (Universal)
- OS: OSx
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:15 (5 by maintainers)
Top Results From Across the Web
I can't open a pull request to GitHub Enterprise
Open the repo; Hit the "Settings" button; Click "Edit" on the remote URL; Under "Remote Account" select your Github Enterprise account; Click OK....
Read more >pull request view doesn't show data for GitHub enterprise
@Ivan Semenov I believe it means the Pull Requests panel is missing. I could simply go to VCS->GIT->View Pull request, when opening a...
Read more >GitHub Desktop 3.0 brings better integration for your pull ...
GitHub Desktop 3.0 brings better integration with your GitHub Pull Requests. You can now receive real time notifications and review the ...
Read more >GitHub - Linear Guide
To enable GitHub, click Connect Linear with GitHub Pull Requests in integration ... you'll only be able to use commit linking with a...
Read more >Viewing Github Pull Requests in VSCode with Github Enterprise
1. Get a Personal Access Token from Github Enterprise · 2. Open VSCode, go through the sign in process, and let it fail...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry @wrslatz I have been away from this space for a while and lost track of this thread. I switched to insiders with latest like @alexr00 suggested and I am able to manage GHE accounts properly so far. I am also able to manage my external repo access at the same time in a clean way as well. I did log out of the current session just to avoid confusion.
Folks who are seeing these issues: can you please try out VS Code Insiders with the latest pre-release version of the extension? There are some important changes there that might fix the issues you’re seeing:
You might need to sign out and sign back in again in VS Code to get things working.
Please do post back on whether it works or not!