microsoft / vscode

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

Investigate different extension update mechanisms #215555

Open isidorn opened 1 week ago

isidorn commented 1 week ago

Right now all extensions auto-update.

1) We need to surface extensions.autoUpdate setting to be enterprise controlled 2) We need to think if there is a smarter auto-update mechanism. For example - should we update extensions with some delay, or updating it in batches.

isidorn commented 1 week ago

Why do we actually have autoUpdate for extensions turned on by default. Users can not easily review the changes.

Tyriar commented 1 week ago

Related to this: even if auto update is on, I'd love it if an extension that went from codeless (eg. a theme) to having code would require explicit updating.

isidorn commented 1 day ago

We could remember the extension metadata on install and if that changes, then update has to be manually approved by user.

This involves making sure that user on install sees the extension metadata.