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
fix(sdk): Add shell: IS_WINDOWS to ADO adapter execFileSync calls #941
azure-devops.ts in squad-sdk uses execFileSync('az', ...) without shell: true on Windows. On Windows, az is typically a .cmd wrapper, so execFileSync without shell: true will fail to resolve it.
Context
Found during Q's review of PR #927 (watch subsystem Windows fixes). This is a pre-existing bug, not a regression from that PR.
The same pattern was already fixed in the watch subsystem's agent-spawn.ts via the IS_WINDOWS constant and shell: IS_WINDOWS option.
Expected Fix
Add shell: IS_WINDOWS (where IS_WINDOWS = process.platform === 'win32') to all execFileSync / execFile calls in packages/squad-sdk/src/platform/azure-devops.ts that invoke az CLI.
Confirmed: PR #927 (on insider) fixes the same class of bug (\shell:true\ on Windows) but only for the watch capabilities (\�xecFile\ in cli/commands/watch/).
This issue is about the ADO adapter (\�xecFileSync('az', ...)\ in \packages/squad-sdk/src/platform/azure-devops.ts), which is a separate code path and still unfixed. PR #927 doesn't touch it.
Still needs a dedicated fix — same pattern: add \shell: process.platform === 'win32'\ to the ADO adapter's \�xecFileSync\ calls.
Activity
fix: squad init no longer runs git init in subdirectory; az CLI Windo…
tamirdresher commentedon Apr 12, 2026
Confirmed: PR #927 (on insider) fixes the same class of bug (\shell:true\ on Windows) but only for the watch capabilities (\�xecFile\ in cli/commands/watch/).
This issue is about the ADO adapter (\�xecFileSync('az', ...)\ in \packages/squad-sdk/src/platform/azure-devops.ts), which is a separate code path and still unfixed. PR #927 doesn't touch it.
Still needs a dedicated fix — same pattern: add \shell: process.platform === 'win32'\ to the ADO adapter's \�xecFileSync\ calls.
fix: squad init no longer runs git init in subdirectory; az CLI Windo…
docs: update GITHUB_ISSUES_FIXED.md with issues github#939 and github…
docs: update GITHUB_ISSUES_FIXED.md with issues github#939 and github…
fix: squad init no longer runs git init in subdirectory; az CLI Windo…