Skip to content

Commit 540886d

Browse files
committed
additional item
1 parent defb61e commit 540886d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/common/telemetry/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export enum EventNames {
9696
* - scope: string ('workspace' or 'global')
9797
* - prioritySource: string (which priority won: 'pythonProjects', 'defaultEnvManager', 'defaultInterpreterPath', 'autoDiscovery')
9898
* - managerId: string (the winning manager's id)
99-
* - path: string ('pathA' = env already resolved, 'pathB' = needed full discovery)
99+
* - resolutionPath: string ('envPreResolved' = env already resolved, 'managerDiscovery' = needed full discovery)
100100
* - hasPersistedSelection: boolean (whether a persisted env path existed in workspace state)
101101
*/
102102
ENV_SELECTION_RESULT = 'ENV_SELECTION.RESULT',
@@ -359,15 +359,15 @@ export interface IEventNamePropertyMapping {
359359
"scope": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eleanorjboyd" },
360360
"prioritySource": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eleanorjboyd" },
361361
"managerId": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eleanorjboyd" },
362-
"path": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eleanorjboyd" },
362+
"resolutionPath": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eleanorjboyd" },
363363
"hasPersistedSelection": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "owner": "eleanorjboyd" }
364364
}
365365
*/
366366
[EventNames.ENV_SELECTION_RESULT]: {
367367
scope: string;
368368
prioritySource: string;
369369
managerId: string;
370-
path: string;
370+
resolutionPath: string;
371371
hasPersistedSelection: boolean;
372372
};
373373
}

src/features/interpreterSelection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export async function applyInitialEnvironmentSelection(
321321
scope: 'workspace',
322322
prioritySource: result.source,
323323
managerId: result.manager.id,
324-
path: isPathA ? 'envPreResolved' : 'managerDiscovery',
324+
resolutionPath: isPathA ? 'envPreResolved' : 'managerDiscovery',
325325
hasPersistedSelection: env !== undefined,
326326
});
327327

@@ -352,7 +352,7 @@ export async function applyInitialEnvironmentSelection(
352352
scope: 'global',
353353
prioritySource: result.source,
354354
managerId: result.manager.id,
355-
path: isPathA ? 'envPreResolved' : 'managerDiscovery',
355+
resolutionPath: isPathA ? 'envPreResolved' : 'managerDiscovery',
356356
hasPersistedSelection: env !== undefined,
357357
});
358358

0 commit comments

Comments
 (0)