@@ -13,7 +13,7 @@ import { EnvironmentType, PythonEnvironment } from '../pythonEnvironments/info';
1313import { TensorBoardPromptSelection } from '../tensorBoard/constants' ;
1414import { EventName } from './constants' ;
1515import type { UnitTestRunFailureCategory } from './constants' ;
16- import type { TestTool } from './types' ;
16+ import type { EnvsExplicitFalseScope , TestTool } from './types' ;
1717
1818/**
1919 * Checks whether telemetry is supported.
@@ -359,7 +359,8 @@ export interface IEventNamePropertyMapping {
359359 "usinguserdefinedinterpreter" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "luabud" },
360360 "usingglobalinterpreter" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "luabud" },
361361 "isfirstsession" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "luabud" },
362- "usingenvironmentsextension" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eduardovil" }
362+ "usingenvironmentsextension" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eduardovil" },
363+ "envsexplicitfalsescope" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eleanorjboyd" }
363364 }
364365 */
365366 [ EventName . EDITOR_LOAD ] : {
@@ -410,6 +411,23 @@ export interface IEventNamePropertyMapping {
410411 * If user has enabled the Python Environments extension integration
411412 */
412413 usingEnvironmentsExtension ?: boolean ;
414+ /**
415+ * Scope kinds explicitly setting python.useEnvironmentsExtension to false, even if overridden.
416+ * 'none' excludes defaults; 'multiple' means more than one of user, workspace, or folder.
417+ */
418+ envsExplicitFalseScope ?: EnvsExplicitFalseScope ;
419+ } ;
420+ /**
421+ * Reports explicit-false scopes after a python.useEnvironmentsExtension configuration change.
422+ * This is a configuration notification, not proof of user intent or a changed integration decision.
423+ */
424+ /* __GDPR__
425+ "environments_extension.setting_changed" : {
426+ "envsexplicitfalsescope" : { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eleanorjboyd" }
427+ }
428+ */
429+ [ EventName . ENVIRONMENTS_EXTENSION_SETTING_CHANGED ] : {
430+ envsExplicitFalseScope : EnvsExplicitFalseScope ;
413431 } ;
414432 /**
415433 * Telemetry event sent when substituting Environment variables to calculate value of variables
0 commit comments