You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deleting branch after squashing PR not working anymore since vscode 1.98.0 #6699
After squashing a PR in numpy/numtype via the web interface, then refreshing in VSCode, I press the "delete branch" button, and see the following logs:
2025-03-07 14:54:29.773 [error] [GitHubRepository+0] Unable to compare commits between numpy:main and numpy:faster-pyright: HttpError: Not Found
This is happening since I upgraded VSCode to 1.98.0. I tried both the release- and pre-release versions of the extension.
Extension version: 0.107.2025030604
VSCode Version: 1.98.0
OS: Ubuntu 22.04 (PopOS)
Repository Clone Configuration (single repository/fork of an upstream repository):
Github Product (Github.com/Github Enterprise version x.x.x):
Steps to Reproduce:
Squash (or merge) a PR in numpy/numtype in the browser
changed the title [-]branch deletion after PR not working anymore since vscode 1.98.0[/-][+]deleting branch after squashing PR not working anymore since vscode 1.98.0[/+]on Mar 7, 2025
Based on the screenshots, you don't have the PR branch currently checked out, but the logs say you do have it checked out? Do you have the PR branch currently checked out? When this happens, what is the output of git status?
With VSCode insiders and the pre-release extension, it seems to work now. But with the stable VSCode and the pre-release ext, it's still the same problem
Yes that's because the latest version of the pre-release ext is not compatible with the current Stable version of VS Code. When the next Stable VS Code is released (next week), there will also be a GH PR extension release which will work there. Thanks for verifying!
Activity
[-]branch deletion after PR not working anymore since vscode 1.98.0[/-][+]deleting branch after squashing PR not working anymore since vscode 1.98.0[/+]alexr00 commentedon Mar 20, 2025
Joren Hammudoglu (@jorenham) Do you still see this? I squash then delete on a regular basis and haven't seen this issue.
jorenham commentedon Mar 20, 2025
I believe it does, but to be sure, I'll try it right now with numpy/numtype#345.
jorenham commentedon Mar 20, 2025
after squashing through the github web interface:
after squashing, and hitting "refresh" in vscode:
so I pressed "Delete branch...":
I clicked on "Ok", but the branch still exists locally and is still checked out:
but the "Delete branch..." button is now disabled:
Git branches view:
relevant output logs:
jorenham commentedon Mar 20, 2025
Is it a personal repo or an organization repo (like in my case)?
alexr00 commentedon Mar 24, 2025
Organization repo. Like this repo or
microsoft/vscode.jorenham commentedon Mar 24, 2025
Hmm, then there must be something else that differs 🤔
alexr00 commentedon Apr 7, 2025
Joren Hammudoglu (@jorenham), next time you see this, can you share the output from "Git"?
jorenham commentedon Apr 7, 2025
I just tried again with python/typeshed#13760
jorenham commentedon Apr 7, 2025
and again with python/typeshed#13777, while paying more attention to limit the logs to what's relevant:
alexr00 commentedon Apr 7, 2025
Based on the screenshots, you don't have the PR branch currently checked out, but the logs say you do have it checked out? Do you have the PR branch currently checked out? When this happens, what is the output of
git status?2 remaining items
deleting branch after squashing PR not working anymore since vscode 1…
deleting branch after squashing PR not working anymore since vscode 1…
TylerLeonhardt commentedon May 1, 2025
Joren Hammudoglu (@jorenham) can you verify this is fixed in VS Code Insiders and the Pre-release version of the GitHub Pull Request extension?
jorenham commentedon May 1, 2025
Working on it; but CI seems to be having trouble getting out of bed today
numpy/numtype#536
TylerLeonhardt commentedon May 1, 2025
relatable
jorenham commentedon May 1, 2025
With VSCode insiders and the pre-release extension, it seems to work now. But with the stable VSCode and the pre-release ext, it's still the same problem
TylerLeonhardt commentedon May 1, 2025
Yes that's because the latest version of the pre-release ext is not compatible with the current Stable version of VS Code. When the next Stable VS Code is released (next week), there will also be a GH PR extension release which will work there. Thanks for verifying!
jorenham commentedon May 1, 2025
Thanks for fixing this!