fix: windows contributor verification#332
fix: windows contributor verification#332syahmiharith wants to merge 1 commit intoJuliusBrussee:mainfrom
Conversation
|
Hi, tests/test_hooks.py now prefers Git Bash but still sets HOME/USERPROFILE to a Windows path with backslashes, which Bash treats as escape characters; hook scripts will compute CLAUDE_DIR/HOOKS_DIR from a mangled HOME and write files to the wrong location, failing the tests on Windows. Severity: action required | Category: correctness How to fix: Normalize HOME for Git Bash Agent prompt to fix - you can give this to your LLM of choice:
We noticed a couple of other issues in this PR as well - happy to share if helpful. Found by Qodo code review. FYI, Qodo is free for open-source. |
|
Hi, resolve_bash() intends to avoid WSL’s System32 bash on Windows, but still adds Severity: action required | Category: reliability How to fix: Exclude System32/WSL bash Agent prompt to fix - you can give this to your LLM of choice:
We noticed a couple of other issues in this PR as well - happy to share if helpful. Found by Qodo code review |
Summary
core.autocrlf=truedo not break Bash syntax checks.CAVEMAN_BASHoverride.Why
Windows contributors can currently hit CRLF shell scripts, WSL
bash.exepath/tool mismatches, and CP932 Unicode output failures while running local verification. These issues obscure otherwise valid changes and make the starter contributor path harder than necessary.Validation
python tests/verify_repo.pypython -m unittest tests.test_compress_safety tests.test_validate_inline tests.test_hooksnode tests/test_caveman_init.jsnode tests/test_mcp_shrink.jsnode tests/test_symlink_flag.jsnode tests/test_caveman_stats.js