-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Improve doctor output on incomplete Visual Studio installation #133390
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
Improve doctor output on incomplete Visual Studio installation #133390
Conversation
andrewkolos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Ahh, I see now the context of your question. In this case, I would say copy pasting the relevant error message to your test, and either renaming the existing test or creating a new one with a name that makes it clear this is an expectation will help document this behavior and prevent regression from clueless tool maintainers :) |
|
I updated the tests, please take another look @andrewkolos @christopherfujino. Thanks! |
andrewkolos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
The customer_testing failure is actively being worked on upstream. See discord #tree-status for more context. |
|
Filed b/298053054 and manually overrode Google testing |
|
@christopherfujino Thanks! Looks like Google testing is now hitting a second issue, filed b/298076936 |

Flutter doctor warns if the user is updating Visual Studio or has paused a Visual Studio update. The current output recommends reinstalling Visual Studio. This is unnecessary as the user should be able to use the Visual Studio Installer app to complete the installation:
This message is covered by this existing test:
flutter/packages/flutter_tools/test/general.shard/windows/visual_studio_validator_test.dart
Lines 68 to 81 in 229b74d
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.