Skip to content

fix: detect Scoop Git Bash on Windows#830

Open
vamshikrishnaramasamy wants to merge 1 commit into
CodebuffAI:mainfrom
vamshikrishnaramasamy:fix/windows-scoop-git-bash
Open

fix: detect Scoop Git Bash on Windows#830
vamshikrishnaramasamy wants to merge 1 commit into
CodebuffAI:mainfrom
vamshikrishnaramasamy:fix/windows-scoop-git-bash

Conversation

@vamshikrishnaramasamy

@vamshikrishnaramasamy vamshikrishnaramasamy commented Jun 30, 2026

Copy link
Copy Markdown

Fixes #819.

Adds Scoop Git for Windows locations to the Windows bash resolver before falling back to PATH/WSL. This helps users who installed Git via Scoop avoid accidentally using WSL bash, which can produce encoding and startup issues.\n\nAlso makes the resolver testable and covers:\n- user Scoop installs under USERPROFILE\n- global Scoop installs via SCOOP_GLOBAL\n- preferring non-WSL PATH bash over WSL bash\n\nValidation:\n- bun test sdk/src/tests/run-terminal-command.test.ts\n- bun --cwd sdk typecheck\n- bunx prettier --check sdk/src/tools/run-terminal-command.ts sdk/src/tests/run-terminal-command.test.ts

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.

Codebuff's Windows bash detection strategy is fundamentally fragile

1 participant