microsoft / vscode-pull-request-github

GitHub Pull Requests for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github
MIT License
2.29k stars 571 forks source link

Query fails when trying to get "is:closed is:unmerged" #5801

Open mindcloud69 opened 6 months ago

mindcloud69 commented 6 months ago

Type: Bug

I noticed that you have tried to squash this bug several times. I have tried with the release and prerelease versions.

My query is:

                            {
                                "label": "Closed & Unmerged",
                                "query": "is:closed is:unmerged"
                            },
                            {
                                "label": "Closed",
                                "query": "is:closed"
                            }

It Occurs with both.

This is the error that pops up: Element with id Closed & Unmergedhttps://github.com/netbox-community/devicetype-library/pull/1924 is already registered

This is the error in the console:

workbench.desktop.main.js:sourcemap:769 Error: Element with id Closed & Unmergedhttps://github.com/netbox-community/devicetype-library/pull/1924 is already registered
    at n.db (f:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:141:69226)
    at f:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:141:68020
    at async Promise.all (index 10)
    at n.Y (f:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:141:67887)
    at n.getChildren (f:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:141:64179)

Extension version: 0.79.2024011609 VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z) OS version: Windows_NT x64 10.0.19045 Modes:

alexr00 commented 4 months ago

@mindcloud69 I can't reproduce this issue. Can you please try again? Is this in a multi repo workspace, or do you only have one GitHub repo open?

mindcloud69 commented 4 months ago

Sorry I missed your request for info. I only have one repo open.

https://github.com/netbox-community/devicetype-library/

Anything else I can do. Is there a way to enable better logging for you?

muradddd commented 4 months ago

I also have the same issue @alexr00. When I add custom query it doesn't work in the extension, but the same query works on github's pr search panel