Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRs don't show up if the source repository has been deleted #2992

Open
Tyriar opened this issue Sep 9, 2021 · 1 comment
Open

PRs don't show up if the source repository has been deleted #2992

Tyriar opened this issue Sep 9, 2021 · 1 comment
Labels
feature-request Request for new features or functionality

Comments

@Tyriar
Copy link
Member

Tyriar commented Sep 9, 2021

I'm trying to resolve the conflict for microsoft/vscode-wiki#196 but I cannot as it doesn't show up in the PR view. Trying to use a codespace makes it clear that the issue is the repo the PR was created from has already been deleted:

image

Output:

[Info] C:\Users\Daniel\.ssh\config: ENOENT: no such file or directory, open 'C:\Users\Daniel\.ssh\config'
[Info] Registering git provider
[Info] Looking for git repository
[Info] Found 1 repositories during activation
[Info] Git repository found, initializing review manager and pr tree view.
[Info] Review> Validate state in progress
[Info] Review> Validating state...
[Info] Cannot updates repositories as git is uninitialized
[Info] Review> Queuing additional validate state
[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> no matching pull request metadata found for current branch main
[Info] Review> no matching pull request metadata found on GitHub for current branch main
[Info] Review> Validating state...
[Info] No remote with name 'ups' found.
[Info] Found GitHub remote
[Info] Review> no matching pull request metadata found for current branch main
[Info] Review> no matching pull request metadata found on GitHub for current branch main
[Info] GitHubRepository> The remote branch for this PR was already deleted.
[Info] GitHubRepository> The remote branch for this PR was already deleted.
@Tyriar
Copy link
Member Author

Tyriar commented Sep 9, 2021

It's arguable what should happen here, but I was pretty confused as no error was surfaced at the least. The PR should show up in the list, perhaps with a ⚠️ and custom hover or something?

@alexr00 alexr00 added the feature-request Request for new features or functionality label Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants