From 2a6608cf26073f993a0e483427299696c8c74b82 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Mon, 15 Jul 2024 17:12:43 +1000 Subject: [PATCH] Capture additional telemetry for conda (#23810) --- .../base/locators/common/nativePythonFinder.ts | 1 + .../base/locators/composite/envsCollectionService.ts | 2 ++ src/client/telemetry/index.ts | 8 +++++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/client/pythonEnvironments/base/locators/common/nativePythonFinder.ts b/src/client/pythonEnvironments/base/locators/common/nativePythonFinder.ts index 3478f2d4cd0e..1392886da7cc 100644 --- a/src/client/pythonEnvironments/base/locators/common/nativePythonFinder.ts +++ b/src/client/pythonEnvironments/base/locators/common/nativePythonFinder.ts @@ -49,6 +49,7 @@ export interface NativeEnvManagerInfo { export type NativeCondaInfo = { canSpawnConda: boolean; + userProvidedEnvFound?: boolean; condaRcs: string[]; envDirs: string[]; environmentsTxt?: string; diff --git a/src/client/pythonEnvironments/base/locators/composite/envsCollectionService.ts b/src/client/pythonEnvironments/base/locators/composite/envsCollectionService.ts index f1a3e98b7467..85b852cc32d0 100644 --- a/src/client/pythonEnvironments/base/locators/composite/envsCollectionService.ts +++ b/src/client/pythonEnvironments/base/locators/composite/envsCollectionService.ts @@ -344,6 +344,7 @@ export class EnvsCollectionService extends PythonEnvsWatcher