microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.19k stars 28.06k forks source link

Extensions report available updates from pre-release channel when running released extensions #214474

Open kwmlodozeniec opened 3 weeks ago

kwmlodozeniec commented 3 weeks ago

Does this issue occur when all extensions are disabled?: No (obviously)

Steps to Reproduce:

  1. Install latest released Python Debugger extension.
  2. Restart VSCode and check for extension updates.
  3. Sometimes, not always, updates are available but they are obviously from the pre-release channel. image
VSCodeTriageBot commented 3 weeks ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

sandy081 commented 1 week ago

I do not see this extension version at all. Could be this extension version was published as release version by mistake? Are you still seeing this?

kwmlodozeniec commented 1 week ago

Yes, I am still seeing this. It seems related to an extension being in preview but having a release and pre-release channels.

sandy081 commented 1 week ago

It seems related to an extension being in preview but having a release and pre-release channels.

Not sure if I understand this.

Have you opted to install pre-release version of this extension when you installed it?

kwmlodozeniec commented 1 week ago

No, I did not opt in to use a pre-release version. I mentioned preview as it might be relevant. One of the other extensions that exhibit this issue is in preview, so I thought it might be relevant.

kwmlodozeniec commented 1 week ago

Just to make it clear, the suggested update version is not released in the release channel but in the pre-release.

sandy081 commented 1 week ago

Strange. In the screenshot you have shared, there is also no button to Switch To Pre-Release or Switch To Release. What do you see when you perform *Install Another Version... action?

kwmlodozeniec commented 1 week ago

I have this problem with three extensions: Python Debugger, Black and isort. black debug isort

Using the debugger extension as example. After I update it I get this, with a clear option to switch to release version debug_after_update

After I switch to the release version I get this, with an option to switch to pre-release version debug_after_switch_to_release

After this that extension no longer reports the pre-release update as available when I am on the released version. But, I have done this before and it seems to eventually come back.