Skip to content

fix(snapshot): use Git shell for Windows builder-script tests - #1230

Draft
Koh0920 wants to merge 1 commit into
mainfrom
fix/windows-builder-script-shell
Draft

fix(snapshot): use Git shell for Windows builder-script tests#1230
Koh0920 wants to merge 1 commit into
mainfrom
fix/windows-builder-script-shell

Conversation

@Koh0920

@Koh0920 Koh0920 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Select Git for Windows sh.exe for host-side builder-script execution on Windows.
  • Preserve bash on Unix hosts.
  • Cover the platform selection directly.

Root cause

Windows resolves bare bash.exe to the WSL launcher before Git for Windows Bash. The launcher exits 1 without the script stderr expected by snapshot unit tests. This is an existing main CI failure, independently reproduced by the cargo test (windows-latest) job in https://github.com/ato-run/ato/actions/runs/30698022219.

No deployment or infrastructure changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant