vscode-pull-request-github
vscode-pull-request-github copied to clipboard
Branch protection is shown as failed test
- Extension version: v0.46.1
- VSCode Version: 1.69.2
- OS: macOS
Steps to Reproduce:
- Open a PR in a repository with branch protection
- While tests are still running, branch protection is shown as a failed test
![Screen Shot 2022-07-27 at 09 39 10](https://user-images.githubusercontent.com/4377312/181189985-7d9a118e-8336-488d-a8d7-a80420ee3f86.png)
I think this is confusing, and because branch protection is already shown separately, it should not also show up as a failed test.
I don't know about PRs within same repo - but this is definitely true for PRs from forks.
We show it in the checks because branch protection could include an approving review, which is not otherwise shown (and the GitHub API doesn't appear to have a way to tell that it's an approving review that's missing, only that there's still something missing).
Tried to make it a little clearer by changing the wording and moving it to the end:
That's better I think, although it's the "X" status that's confusing. It looks like a failed test, and maybe it could be replaced with that slashed circle icon?