-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio Code should update itself silently #9539
Comments
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. |
Should be a setting so the user can pick whether they want to automatically upgrade |
This is the 'stable channel' version of #7389. |
Could be a setting defaulted to |
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: Might cause high load on startup: Make it a setting: Might not have permissions: |
@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. :) |
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 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. |
Agreed, this would make vscode more attractive to use frequently, with less tedious updates. |
I made a simple solution for Debian: I have it in cron, automatically updates vscode for my everyday around 11:00 |
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. |
One thing that needs to be improved on: When you choose to finally update, VS Code won't reopen with previously open files. It's fine for that type of behaviour if you as the user choose to click on X. Not so much if the intent wasn't to end the session but rather to just update the software. Not sure if that's a separate issue, but a silent update should definitely ensure that all your files remain open. On topic: one way to solve this is to make the updater work without having to shut down VS Code, and instead offer you the option to restart VS Code to make changes take effect (without nagging about it). This way, the next time you run VS Code even from a cold boot, you'll have the new version running (to avoid 'long startup' grumbles). |
Please make VSCode act the way chrome does over an update (assuming you've enable tab restoration in chrome).
|
My solution for Ubuntu: Activate the repository for it (https://code.visualstudio.com/docs/setup/linux), set the system update to 'automatic' and set in vscode the option |
How can I set |
In Linux it is not a common practice for programs to be self-updating. I wouldn't even want this. My habit of typing |
I don't care if it auto-upgrades, but please allow me to turn off that notification. |
@yamlfd File --> Preferences --> Settings |
It need to be set per Machine. The software need to be installed per machine and users do not have permission to update the software. Updates are only deployed via AD with .msi files. |
An MSI based installer with a property to enable or disable system level automatic updates would make managing and deploying Code via ConfigMgr much easier. Also, please stop Code from auto launching after a silent install. |
For Christ sake, stop the nagging or at least coalesce the updates in no more than 1 per week. This is driving me insane. |
To me is as easy as @frr149 said, you dont need silent updates, if they do it once a month, let's say once every 3 months... it's driving me nuts, every time I open it, I have to close the information windows "you have a new update, blah blah" |
Otherwise, for many, I believe just being able to view history of past updates - like in Firefox -to figure out, what, if any, may have caused some issues and to rollback an update (or manually install previous version, or disable the extension or auto-update of it/vscode) would suffice in many cases. That said, it would be nice if, like in Chrome and Firefox, extensions advertise what permissions they request (eg. ability to edit files beyond just are opened as content or limited vscode files or their own config files), and you can choose to approve or disable those permissions per extension. |
There's gray areas here that you're ignoring. You can run cloud software
offline. HTML5 supports that. You can also run cloud technology with or
without access to local file system.
So the issue really isn't that software is being installed on the computer
-- the issue is that software is being installed that can gain access to
the local file system. At least, that's one of the issues.
If Visual Studio Code ran entirely as a web-app, with the same security
limitations as going to cnn.com, you may not have an issue with it.
Now if Visual Studio Code ran entirely in the cloud *Except* that it has
the ability for the user to grant it access to the Documents folder.
Okay, now that's something that I can see the Admin wanting control over.
This model is closer to how Store-Apps get installed. You can have a
store-app that has very little rights because they didn't request them, and
the rights weren't granted.
Now, if I have two computers, both running a hypothetical version of Visual
Studio Code completely in the cloud, but one has access to my local file
system, and one does not. Next, there's a new version of Visual Studio
available. The first version, there's nothing for me to do. I simply get
the new version because everything is in the cloud -- like how cnn.com
updates its web-site. The second version, that access the local file
system, I think you're saying you do not want to update automatically --
you want to have the option for the user to continue to run the older
version until you decide to "upgrade". Is that correct?
By the way, running Visual Studio Code completely in the cloud is not so
hypothetical. See: https://typefox.io/theia-vs-code-in-the-cloud
…On Mon, Apr 2, 2018 at 1:07 AM, Alexander Hass ***@***.***> wrote:
The full process of installation to local systems need to be controlable
by admins. That stuff does not run in a browser sandbox as I know. It also
has access to local filesystems and so on.
Software that runs only online cannot installed. Developer may be in
highly restrictive areas - offline - so that they are not able to steal the
product source code.
Internet connections are unreliable and down or are slow. Everything need
to run without cloud.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9539 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACRjnX_Mgmd6vve5Zky8kph9KzLpffQ_ks5tkdwzgaJpZM4JQ5en>
.
|
How do I hide the release notes? I will never read them and they are annoying. |
Stupid question for this thread.... (sorry) but how did you enable auto update? I have 4 installations on different versions of windows - none of them even tried to update itself - only plugins receive updates. |
I thought we all developers here? |
It seems like extensions are auto-updating without prompt recently for me, and the design for background install of VSCode core updates seems much less intrusive. That said, I tend to always click when see bar to begin background update, so if you've seen it failing to auto-update when don't do so, let me know. |
@alexhass, @kasajian, (and others interested in Permissions, Security and Auto-Updating for Extensions), You may want to a look at the new issue I created, #52116, for "Extension Permission Management, Updating, Security & Categories", as I'd created that in part based on discussions here. I'd be interested in any feedback you may have as comments there, as well as any +1's if you believe these are enhancements that should be a priority. Scope & Features Proposed: I have proposed, in detail there, how Extension Permissions management could function and be exposed to users, including descriptions of dialogs for prompting users to allow/deny permissions on extension install vs. updating, changes to Extensions Sidebar and Details pages, specific warnings and when to show them, types of permissions could define (and whether may default to opt-out or opt-in for them), APIs could provide, how extensions could operate with more limited or conditional functionality, and how could crowdsource extension safety reporting. Also, I've proposed here creation of Extension Type Categories, (for Language Syntax, File Management, Source Control, etc.) could be useful in-and-of-themselves in browsing for extensions, like how Chrome and Firefox extensions are organized, and could also help provide a good idea, at a glance, of likely required permissions, and relative extension functionality, as well as be used to control what permission are opt-in or opt-out by default or should have warnings shown for them, if higher risk than expected for a certain type of extension. I've also proposed there that users can disable Auto-Update behavior for specific extensions, which, besides being useful in its own right, could allow users to stick with previous versions which require fewer permissions, manually review updates for higher-risk extensions, or avoid updating to problematic versions of extensions until issues are resolved. |
I never argued against auto-update of extensions, Only about vscode itself that is installed system wide. |
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. |
"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 :-) |
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. |
Updates are vastly better than when the issue was created. Seems like it could be closed at this point. |
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:
Is it possible to avoid this? |
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. |
@Calmarius Then make it an option? |
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 |
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. |
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! |
@VSCodeTriageBot, what was the rationale for the decision? Without that, I fail to see what can be discussed. |
sad |
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 |
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.
Steps to Reproduce:
1.
2.
The text was updated successfully, but these errors were encountered: