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

Ensure interpreter is auto selected before updating status bar #4139

Merged

Conversation

DonJayamanne
Copy link

@DonJayamanne DonJayamanne commented Jan 24, 2019

For #3501

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • [n/a] Has a news entry file (remember to thank yourself!)
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • [n/a] Test plan is updated as appropriate
  • [n/a] package-lock.json has been regenerated by running npm install (if dependencies have changed)

@DonJayamanne DonJayamanne force-pushed the fixesForAutoSelectionAndValidation branch from 026cfda to f0d70c8 Compare January 24, 2019 21:57
@DonJayamanne DonJayamanne added the no-changelog No news entry required label Jan 24, 2019
@codecov
Copy link

codecov bot commented Jan 25, 2019

Codecov Report

Merging #4139 into master will increase coverage by 1%.
The diff coverage is 87%.

@@           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
Flag Coverage Δ
#Linux ?
#Windows 69% <81%> (+1%) ⬆️
#macOS 53% <79%> (-14%) ⬇️

@DonJayamanne DonJayamanne merged commit 293b117 into microsoft:master Jan 25, 2019
@@ -11,7 +11,7 @@ import { EXTENSION_ROOT_DIR } from '../../client/constants';
import { sendTelemetryEvent } from '../../client/telemetry';
import { correctPathForOsType } from '../common';

suite('Telemetry', () => {
suite('xTelemetry', () => {

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', () => {

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', () => {

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()) {

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()).

@DonJayamanne DonJayamanne deleted the fixesForAutoSelectionAndValidation branch May 24, 2019 20:25
@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants