Skip to content

Visual Studio Code should update itself silently #9539

Closed as not planned
Closed as not planned

Description

@kasajian

I think automatic update is great, but I think some people just want the thing updated automatically without being asked. There can be notification that indicates that it's changed and what's new. But I think we should follow the Chrome model and just update it.

Why?

Think of it as software running on the web. When I go to cnn.com, I'm not notified that there's a new version of the back-end software that I might be running. So why / when should I care if the front-end software has updated?

Sometimes you care -- such as low-bandwidth situations. But that doesn't mean everyone cares. Some of us, dare I say, a large majority of people, just want the latest stuff all the time.

Thank you for listening.

  • VSCode Version:
  • OS Version:

Steps to Reproduce:
1.
2.

Activity

  1. bgse commented on Jul 20, 2016

    @bgse
    Contributor

    Problem with automatic, unconfirmed updating is that users might rely on a feature that breaks with the update, they might require a specific extension that doesn't work properly with the update, etc.

    In very strict environments, the user might not even have the required privileges for the update process to complete successfully, or he might be required to ask for approval of a superior before upgrading a toolset, etc.

    For the insiders release, I would actually welcome it not nagging every day and just updating automatically, for the stable release, not so much since that is the tool I rely on for production usage.

  2. Mike737377 commented on Jul 21, 2016

    @Mike737377

    Should be a setting so the user can pick whether they want to automatically upgrade

  3. kieferrm commented on Jul 21, 2016

    @kieferrm
    Member

    This is the 'stable channel' version of #7389.

  4. Spown commented on Jul 22, 2016

    @Spown

    Could be a setting defaulted to false. Can already imagine an avalanche of "high cpu/hdd load on startup // VSC unresponsive // etc" bugreports every update if this feature becomes a default behavior.

  5. added
    feature-request
    on Jul 22, 2016
  6. CodyBatt commented on Sep 23, 2016

    @CodyBatt

    This is the number 1 thing that bothers me about code specifically on Windows, (so that just speaks to how great code is). I'm not sure if anything is being done here so I feel compelled to add my two cents. This is not just annoying to people on the insider track. The stable updates come frequently enough to annoy the shit out of me over the last year. There is a well-established pattern for how to do this and you should just copy: chrome, github for windows, spotify, slack, curse, or any other of the tons of desktop apps that have frequent updates do it silently and automatically.

    Might break functionality:
    How do I know as a user that the update is going to break my workflow? Until I install it, I don't. Even if I do read the release notes, I might not understand the implications until I use it. By leaving that choice up to the user you shift the blame for things breaking onto them and give them a crappy update experience as a bonus. Instead, if this is a legitimate concern, you should provide an easy way to roll back to the previous known-good version. More work for you, yes, but more satisfaction for end users.

    Might cause high load on startup:
    Don't install the update on startup. No one wants slow startup. There are many ways around this, install in the background, install on shutdown... again copy one of the other apps that does it right.

    Make it a setting:
    If you must. Most users won't know or care about it, unless you turn it off by default, then every user will have to know about it because they will all want to enable it!

    Might not have permissions:
    Code should install into AppData\Local or some other non-restricted location. If that means it doesn't use MSI, so much the better.

  7. joaomoreno commented on Sep 23, 2016

    @joaomoreno
    Contributor

    Cody Batt (@CodyBatt) You make some good points.

    I'm curious, though, did you get an update that broke functionality? If so, please file an issue on that.

    There is a setting to disable updates: update.channel: "none".

    User installations: #534

  8. CodyBatt commented on Sep 23, 2016

    @CodyBatt

    João Moreno (@joaomoreno) No update has ever broken functionality for me (I was just responding to what I think is a weak excuse for the current update behavior). I don't want to disable updates! Like the OP stated, I just want them to occur silently, automatically, without interrupting my workflow.

    There is one really good thing about the current behavior, when I have insomnia, I can just think about the update experience in VS code and cry myself to sleep. :)

  9. klmcwhirter commented on Oct 11, 2016

    @klmcwhirter

    I agree. I am constantly being asked to restart VS Code because of extension updates. And the upgrade of VS Code does not work. When I get annoyed enough of the prompts I download the latest version and reinstall.

    UPDATE
    Note I am running on Mac OS X.

    I determined via log file ~/Library/Application\ Support/com.microsoft.VSCode.ShipIt/ShipIt_stderr.log that my problem was permissions.

    I had VSCode installed in /Applications and it could not replace that version with the update.

    I have moved it into ~/Applications and adjusted my helper script accordingly. I have not seen any more requests for restart where they were coming every 5-10 mins.

    Notice that I found a bunch of cruft in a directory named /var/folders/lj/vc5bqkb1107_sxdtx3gnp1yr0000gp/T as well.

  10. PowerWeb5 commented on Jan 15, 2017

    @PowerWeb5

    Agreed, this would make vscode more attractive to use frequently, with less tedious updates.

  11. bpacholek commented on Mar 22, 2017

    @bpacholek

    I made a simple solution for Debian:
    https://github.com/ideaconnect/vscode-autoupdate

    I have it in cron, automatically updates vscode for my everyday around 11:00

  12. krux02 commented on Mar 23, 2017

    @krux02

    What I want is to be able to press "never annoy me again" whenever I see "an update is available". I don't care unless something breaks, and then I do it on my own. Those update notifications are annoying, and that is the real problem.

  13. 29 remaining items

  14. parthi2929 commented on Jan 6, 2019

    @parthi2929

    Please please please make it just a symbol (again, not blinking one) for update notification. It is very very annoying every time I have to switch it off.

  15. iqapps commented on Sep 14, 2020

    @iqapps

    "you should provide an easy way to roll back to the previous known-good version."

    We really miss this, but its also a sign of to many bad releases. Just give us whichever is easiest to implement :-)

  16. mbomb007 commented on Dec 10, 2020

    @mbomb007

    I don't think this is needed. I don't know what update notifications looked like 3 years ago, but they are not intrusive anymore. I see a little "1" or whatever on the settings gear that there is an update, then I click "update". That's it.

    Also, I definitely think silent/automatic updates should be optional. The users should have complete control over update functionality on their computers. If they don't want manual updates, give them an option for auto, but don't take away the manual option.

  17. CodyBatt commented on Dec 10, 2020

    @CodyBatt

    Updates are vastly better than when the issue was created. Seems like it could be closed at this point.

  18. MendelBak commented on Mar 9, 2021

    @MendelBak

    I still am having frustrations with the updates. It requires that I download and reinstall a new version of VSCode every time there is a new update. This takes time. I just want the current installation be updated when I choose to update it.

    Currently, this is what I need to do:

    1. Download new version.
    2. Unzip.
    3. Figure out where current copy is located.
    4. Copy-paste new version into old version's folder,
    5. Verify that I didn't overwrite anything and that nothing is missing..

    Is it possible to avoid this?

  19. Calmarius commented on May 16, 2021

    @Calmarius

    I think people who are requesting this feature are on an unlimitied, unmetered internet connection all the time who don't care what hogs their bandwidth and don't care if something downloads hundreds of megabytes of stuff without their permission.

    While I don't mind silent updates when I'm at home where I also have an unlimited connection. But when I'm on the go I'm using my very limited mobile data plan. And getting data cap warnings because something decided to update itself is not fun. Despite the fact I do my best to update everything I can while I'm on unmetered.

    Today I lost 500MB data because VSCode decided to update itself on Linux. I don't know how it did that, because normally updates come via apt.

  20. jhpratt commented on May 16, 2021

    @jhpratt

    Calmarius Then make it an option?

  21. matkoniecz commented on Nov 13, 2021

    @matkoniecz
    Contributor

    How do I hide the release notes? I will never read them and they are annoying.

    I opened "Allow disabling release notes popup" #137137 as it is a separate issue that is annoying even with silent background updates (available on Linux for VSCode and other software installed as a package)

    (was already fixable with "update.showReleaseNotes": false)

  22. 0009-0009-1013-986X commented on Aug 19, 2022

    @0009-0009-1013-986X

    Does the existence of "http://github.com/microsoft/winget-cli" partially remediate this? Ideally Visual Studio Code should no longer need to include a custom update-mechanism.

  23. added
    *out-of-scope
    on Dec 9, 2022
  24. vscodenpa commented on Dec 9, 2022

    @vscodenpa

    We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

    If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

    Thanks for your understanding, and happy coding!

  25. 0009-0009-1013-986X commented on Dec 24, 2022

    @0009-0009-1013-986X

    @VSCodeTriageBot, what was the rationale for the decision? Without that, I fail to see what can be discussed.

  26. heartacker commented on Dec 24, 2022

    @heartacker
    Contributor

    sad

  27. darthwalsh commented on Sep 21, 2023

    @darthwalsh

    From the years-old discussion on the thread, is the only part not-yet-implemented to make the "update is available" "restart now button" floating notification prompt less obtrusive?

    I could imagine a setting like "update.prompt": false that removes that prompt entirely. There will still be a notification dot on the gear icon in the corner saying a notification is available, which is the perfect amount of notification for me. It seems like adding this setting could be a separate feature request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    *out-of-scopefeature-requestinstall-update

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions