Problem
The Semgrep pattern diagnostic reports:
Semgrep Pattern ⊘ Disabled Semgrep CLI not installed (install: pip install semgrep)
This happens even though the project has Semgrep installed and available in the uv environment.
Reproduction
- In the TangoAtlas workspace, install Semgrep with
uv add semgrep.
- Run
uv run semgrep --version.
- Run the diagnostic that prints the Semgrep Pattern status.
Observed behavior
uv run semgrep --version succeeds.
- The shell can also resolve
semgrep.
- The diagnostic still says Semgrep is not installed and marks the pattern disabled.
Expected behavior
- If Semgrep is available in the active project environment, the diagnostic should report it as enabled.
- The diagnostic should not tell the user to install Semgrep with
pip install semgrep when Semgrep is already present via uv.
Notes
The issue appears to be an environment detection mismatch rather than a missing dependency declaration.
Problem
The Semgrep pattern diagnostic reports:
Semgrep Pattern ⊘ Disabled Semgrep CLI not installed (install: pip install semgrep)This happens even though the project has Semgrep installed and available in the uv environment.
Reproduction
uv add semgrep.uv run semgrep --version.Observed behavior
uv run semgrep --versionsucceeds.semgrep.Expected behavior
pip install semgrepwhen Semgrep is already present via uv.Notes
The issue appears to be an environment detection mismatch rather than a missing dependency declaration.