Skip to content

fix(win): resolveToolBin uses 'where' on native Windows (#43 incremental) → 1.28.1 - #108

Merged
sandstream merged 1 commit into
mainfrom
fix/win-tool-resolution
Jun 24, 2026
Merged

sandstream merged 1 commit into
mainfrom
fix/win-tool-resolution

Conversation

@sandstream

Copy link
Copy Markdown
Owner

Incremental progress on #43 (native Windows). resolveToolBin shelled out to which, which doesn't exist on native Windows (PowerShell/cmd) — so tool resolution failed there. Now uses where on win32, which elsewhere; same first-line path parsing.

POSIX behavior byte-identical (verified: resolveToolBin("node") still resolves via which; tests 2/2). Checks off one of #43's hard blockers.

Remaining #43 blockers need a Windows runner to implement + verify, so they stay open: POSIX git hooks, tar extraction, secret-file ACLs, the build script's rm/chmod, and a windows-latest CI job.

🤖 Generated with Claude Code

…where (#43)

resolveToolBin shelled out to 'which', absent on native Windows (PowerShell/cmd).
Use 'where' on win32, 'which' elsewhere — same first-line path parsing. POSIX
behavior byte-identical (verified: node still resolves). One of #43's hard
blockers; the rest (POSIX hooks, tar, ACLs, build script, windows-latest CI)
need a Windows runner to verify and stay open.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

✅ Docker image built successfully

  • CLI image: docker.io/sandstream/kit:test

@sandstream
sandstream merged commit 33c6059 into main Jun 24, 2026
16 checks passed
@sandstream
sandstream deleted the fix/win-tool-resolution branch June 24, 2026 07:35
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