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 we correctly evaluate Unknown type before sending startup telemetry #17362

Merged
merged 4 commits into from Sep 14, 2021

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.

None yet

2 participants