-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Ensure interpreter is auto selected before updating status bar #4139
Ensure interpreter is auto selected before updating status bar #4139
Conversation
026cfda
to
f0d70c8
Compare
Codecov Report
@@ Coverage Diff @@
## master #4139 +/- ##
=======================================
+ Coverage 79% 79% +1%
=======================================
Files 408 409 +1
Lines 18779 18921 +142
Branches 3035 3063 +28
=======================================
+ Hits 14735 14865 +130
- Misses 4041 4053 +12
Partials 3 3
|
@@ -11,7 +11,7 @@ import { EXTENSION_ROOT_DIR } from '../../client/constants'; | |||
import { sendTelemetryEvent } from '../../client/telemetry'; | |||
import { correctPathForOsType } from '../common'; | |||
|
|||
suite('Telemetry', () => { | |||
suite('xTelemetry', () => { |
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.
import { IServiceContainer } from '../../client/ioc/types'; | ||
|
||
enum OS { | ||
Mac, Windows, Linux | ||
} | ||
|
||
suite('Interpreters - PipEnv', () => { | ||
suite('xInterpreters - PipEnv', () => { |
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.
@@ -30,7 +30,7 @@ import { InterpreterHelper } from '../../../client/interpreter/helpers'; | |||
|
|||
const preferredGlobalInterpreter = 'preferredGlobalPyInterpreter'; | |||
|
|||
suite('Interpreters - Auto Selection', () => { | |||
suite('xInterpreters - Auto Selection', () => { |
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.
@@ -21,6 +21,10 @@ export class ApplicationDiagnostics implements IApplicationDiagnostics { | |||
this.serviceContainer.get<ISourceMapSupportService>(ISourceMapSupportService).register(); | |||
} | |||
public async performPreStartupHealthCheck(resource: Resource): Promise<void> { | |||
// When testing, do not perform health checks, as modal dialogs can be displayed. | |||
if (!isTestExecution()) { |
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.
Incorrect. Replace if (!isTestExecution())
with if (isTestExecution())
.
For #3501
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed)