fix: make test-cov use shell-safe Windows venv path#1236
fix: make test-cov use shell-safe Windows venv path#1236muddlebee merged 1 commit intoTracer-Cloud:mainfrom
Conversation
Greptile SummaryThis PR fixes the Windows virtualenv path variables in the Confidence Score: 5/5This PR is safe to merge — the change is minimal, correct, and well-scoped to the broken Windows path. The two-line change replaces syntactically broken double-backslash paths with forward slashes, which are valid on Windows and already used consistently elsewhere in the same Makefile (wildcard check on line 11, PATH export on line 29). No logic, tests, or other files are affected. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Start: Resolve PYTHON and PIP] --> B{".venv/bin/python exists?"}
B -- Yes --> C["PYTHON = .venv/bin/python\nPIP = .venv/bin/python -m pip"]
B -- No --> D{"OS == Windows_NT?"}
D -- Yes --> E{".venv/Scripts/python.exe exists?"}
E -- Yes --> F["PYTHON = .venv/Scripts/python.exe\nPIP = .venv/Scripts/python.exe -m pip\n✅ Fixed: forward slashes"]
E -- No --> G["PYTHON = python\nPIP = python -m pip"]
D -- No --> H{"python3 available?"}
H -- Yes --> I["PYTHON = python3\nPIP = python3 -m pip"]
H -- No --> J["PYTHON = python\nPIP = python -m pip"]
Reviews (1): Last reviewed commit: "fix: make test-cov use shell-safe Window..." | Re-trigger Greptile |
|
🎯 Bullseye. @sundaram2021 opened a PR, kept the vibes clean, and got it merged. Absolute cinema. 🎬 👋 Join us on Discord - OpenSRE : hang out, contribute, or hunt for features and issues. Everyone's welcome. |


hotfix
Describe the changes you have made in this PR -
Updated the Windows virtualenv Python/PIP paths in the Makefile to use forward slashes instead of escaped backslashes.
This prevents Unix-like shells such as Git Bash/MSYS
/usr/bin/shfrom interpreting backslashes as escape characters and mangling.venv\Scripts\python.exeinto.venvScriptspython.exe.before:
after : ran successfully
Dry-run verification: