Skip to content
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

updateChannel fixes. #5465

Merged
merged 8 commits into from
Jun 22, 2020
Merged

updateChannel fixes. #5465

merged 8 commits into from
Jun 22, 2020

Conversation

sean-mcmanus
Copy link
Collaborator

I don't think these fixes need to go into 0.28.0. They're not regressions.

@sean-mcmanus sean-mcmanus requested a review from a team May 12, 2020 00:02
@bobbrow bobbrow added this to the 0.29.0 milestone May 12, 2020
@michelleangela
Copy link
Contributor

What was the issue of udpateChannel? What is the fix?

@sean-mcmanus
Copy link
Collaborator Author

What was the issue of udpateChannel? What is the fix?

There were multiple issues.

  1. It doesn't check for a downgrade to non-insiders on startup, only when the setting changes.
  2. There was a bug with the timer code that checks for a new insiders every hour.
  3. It wasn't bypassing the autoUpdate check when the user manually switches the updateChannel (the thread discussion).

Copy link
Member

@bobbrow bobbrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few small things, then this is good to go.

Were we going to add the minimumSupportedVersionForInsidersUpgrades to cpptools.json as well so that we're not comparing against a hard coded version of VS Code? Is there an issue for that, or do we need to create one?

Extension/src/githubAPI.ts Show resolved Hide resolved
Extension/src/githubAPI.ts Show resolved Hide resolved
Extension/src/LanguageServer/extension.ts Show resolved Hide resolved
@sean-mcmanus
Copy link
Collaborator Author

Just a few small things, then this is good to go.

Were we going to add the minimumSupportedVersionForInsidersUpgrades to cpptools.json as well so that we're not comparing against a hard coded version of VS Code? Is there an issue for that, or do we need to create one?

You created an issue for that at #4873 . I was going to do that separately.

@sean-mcmanus sean-mcmanus merged commit d80e04e into master Jun 22, 2020
@sean-mcmanus sean-mcmanus deleted the seanmcm/updateChannelFixes branch June 22, 2020 23:31
@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants