Skip to content

Ensure we correctly evaluate Unknown type before sending startup telemetry#17362

Merged
karrtikr merged 4 commits intomicrosoft:mainfrom
karrtikr:globalinstalled
Sep 14, 2021
Merged

Ensure we correctly evaluate Unknown type before sending startup telemetry#17362
karrtikr merged 4 commits intomicrosoft:mainfrom
karrtikr:globalinstalled

Conversation

@karrtikr
Copy link

@karrtikr karrtikr commented Sep 10, 2021

For #17359

cc @luabud

@karrtikr karrtikr changed the title Identify globally installed envs correctly Ensure we correctly evaluate Unknown type before sending startup telemetry Sep 13, 2021
@karrtikr karrtikr added this to the September 2021 milestone Sep 13, 2021
@karrtikr karrtikr added the skip tests Updates to tests unnecessary label Sep 13, 2021
return this.locator.resolveEnv(executablePath);
const resolved = await this.locator.resolveEnv(executablePath);
if (resolved) {
this.cache.addEnv(resolved);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If user has selected an interpreter which is not discovery cache (maybe a new type of virtual env we do not support), this is useful.

@karrtikr karrtikr merged commit 7f230ca into microsoft:main Sep 14, 2021
@karrtikr karrtikr deleted the globalinstalled branch September 14, 2021 22:06
@karrtikr karrtikr added verified Verification succeeded verification-needed Verification of issue is requested and removed verified Verification succeeded labels Sep 27, 2021
@karrtikr karrtikr added verified Verification succeeded and removed verification-needed Verification of issue is requested labels Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip tests Updates to tests unnecessary verified Verification succeeded

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants