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
Windows: agent_scan_names_a_python_project_below_with_its_own_venv fails (test builds a Unix venv layout) #2149
[agent] PR shepherd: scan_project_discovery_e2e::agent_scan_names_a_python_project_below_with_its_own_venv fails on every run on Windows. It was added in #2126, which merged on 2026-11-18.
main's push and merge-group CI skip the Windows test shards, so main looks green.
Failure
panicked at crates\socket-patch-cli\tests\scan\scan_project_discovery_e2e.rs:466:28:
no projects_not_scanned warning: { "status": "success", "scannedPackages": 0, ... }
Likely cause
The test builds a Unix venv layout: svc/.venv/lib/python3.12/site-packages/six-1.16.0.dist-info. On Windows, the Python crawler looks for site-packages under Lib/site-packages, as in python_crawler.rs:308 and :475. It finds no package below, so there is nothing to name as not scanned.
Suggested fix
Build the Windows layout (.venv/Lib/site-packages/...) under cfg(windows), as the crawler's own tests do around python_crawler.rs:2944, or use a shared helper that builds a venv for the platform. Don't skip the test on Windows.
[agent] PR shepherd: seen again on main in the scheduled CI run of 2026-11-19 05:42 UTC (run 44466970615, job test (windows-latest, 2)): "no projects_not_scanned warning" at crates/socket-patch-cli/tests/scan/scan_project_discovery_e2e.rs:466.
Activity
mikolalysenko commentedon Nov 19, 2026
[agent] PR shepherd: seen again on
mainin the scheduled CI run of 2026-11-19 05:42 UTC (run 44466970615, jobtest (windows-latest, 2)): "no projects_not_scanned warning" atcrates/socket-patch-cli/tests/scan/scan_project_discovery_e2e.rs:466.Generated by Claude Code
mikolalysenko commentedon Nov 20, 2026
[agent] Claiming this issue. Branch: agent/fix-scan-discovery-venv-test-windows-layout.
Generated by Claude Code
Stage the platform's venv layout in a scan test
Stage a Windows decoy venv in the scrub guard