Skip to content

fix: skip watching missing .pixi/envs directory - #26228

Open
MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix-26223-pixi-missing-envs-warning
Open

MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix-26223-pixi-missing-envs-warning

Conversation

@wasim-builds

Copy link
Copy Markdown

Fixes #26223

Summary

  • Update getVirtualEnvRootDirs in PixiLocator to filter candidate virtual env root directories with pathExists.
  • Prevents spurious [warning] Dir \"<workspace>/.pixi/envs\" is not watchable (directory does not exist) warning in workspaces that do not use Pixi.
  • Add unit tests for getVirtualEnvRootDirs covering both existing and non-existing .pixi/envs paths.

Copilot AI balanced review requested due to automatic review settings October 16, 2026 12:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing .pixi/envs produces a warning in a non-Python workspace

2 participants