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
make preflight cannot complete on native Windows because test_run_checks.py assumes the path passed through Bash has the same string representation as Python's Win32 temporary path.
Reproduction
Run the local manifest preflight on Windows.
Ensure the subprocess uses Git Bash (the bare bash executable otherwise resolves to C:\Windows\System32\bash.exe/WSL before PATH entries under Windows CreateProcess).
RunnerBehaviorTests.test_release_process_guard_uses_locked_pyyaml_in_every_declared_lane reaches its final assertion and fails:
The command itself succeeds; only the raw path-string comparison at .github/scripts/test_run_checks.py:435 fails. This stops check-manifest-contract, the first always-selected preflight check, so later checks never run.
Expected
The contract test should compare the same logical path across MSYS and Win32 representations (or capture a platform-neutral argument identity), and Windows subprocesses should resolve the intended Git Bash explicitly rather than relying on bare-name executable search.
Evidence
Observed while validating #10823 on Windows 11 with Python 3.11.15 and Git Bash 5.2.15. The other 29 test_run_checks.py cases and all 13 remaining checks selected for that diff passed.
#10825 now covers both Windows failure layers here: it compares MSYS/Win32 paths by filesystem identity and resolves manifest-leading bash/python3 to Git for Windows Bash/current Python instead of the System32 WSL launcher or an absent executable. On current main, that head plus the related Windows fixture fixes completed the official make preflight with all 30 selected checks passing in 223.41s on native Windows. The PR is green but still awaiting maintainer/workflow review, so this issue should close when it merges.
The failure described here (literal MSYS vs Win32 temp-path compare in test_run_checks.py, plus bare bash → System32/WSL) was fixed by #10825 (7dc9301ded, merged 2026-07-30), with related Windows path helpers from the portable pre-push work.
On current main, test_release_process_guard_uses_locked_pyyaml_in_every_declared_lane already asserts filesystem identity via native_path_from_bash(...).samefile(guard) rather than raw string equality. No further contributor PR needed.
Activity
tianmind-studio commentedon Jul 29, 2026
#10825 now covers both Windows failure layers here: it compares MSYS/Win32 paths by filesystem identity and resolves manifest-leading
bash/python3to Git for Windows Bash/current Python instead of the System32 WSL launcher or an absent executable. On currentmain, that head plus the related Windows fixture fixes completed the officialmake preflightwith all 30 selected checks passing in 223.41s on native Windows. The PR is green but still awaiting maintainer/workflow review, so this issue should close when it merges.aryanorastar commentedon Aug 6, 2026
VERIFY (2026-08-06): FIXED_OPEN — please close.
The failure described here (literal MSYS vs Win32 temp-path compare in
test_run_checks.py, plus barebash→ System32/WSL) was fixed by #10825 (7dc9301ded, merged 2026-07-30), with related Windows path helpers from the portable pre-push work.On current
main,test_release_process_guard_uses_locked_pyyaml_in_every_declared_lanealready asserts filesystem identity vianative_path_from_bash(...).samefile(guard)rather than raw string equality. No further contributor PR needed.undivisible commentedon Aug 20, 2026
Closing per automated triage (2026-08-20): verified fixed: #10849 moved preflight out of Git Bash. See /tmp/omi-issue-triage.md.