You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check and install analyzers in the WSL distribution used for the scan #40
With two WSL distributions, open a source file using a WSL UNC path in the non-default distribution. The command builder can select that distribution from the input path, while preflight and the install command omit the distro argument. Checking or repairing tools in the default distribution then gives the wrong answer for the actual run.
Expected behavior and verification
Use the execution distribution consistently for checking, installing, verifying and running the requested analyzers. Include a case with tools present in only one of two distributions and preserve the existing default for ordinary Windows paths.
Fixed on branch 40-wsl-distro-for-tools (515cace), pull request #47.
executionDistro() picks the distribution with the same rule as the command builder: the distribution of a WSL path when it is not the default, otherwise the default. Ordinary Windows paths keep the default distribution.
Preflight checks the analyzers in that distribution, and its Install Analyzers button installs them there. The sidebar's install button uses the distribution of the active file.
Tests: tools present in only one of two distributions are checked in the distribution that runs the scan, and the default is kept without wsl.exe. This branch is built on top of #39. Unit and workspace suites pass locally (Linux).
Activity
Arthurvroum commentedon Nov 25, 2026
Fixed on branch
40-wsl-distro-for-tools(515cace), pull request #47.executionDistro()picks the distribution with the same rule as the command builder: the distribution of a WSL path when it is not the default, otherwise the default. Ordinary Windows paths keep the default distribution.Tests: tools present in only one of two distributions are checked in the distribution that runs the scan, and the default is kept without
wsl.exe. This branch is built on top of #39. Unit and workspace suites pass locally (Linux).