Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Fix Windows smoke: convert MSYS2 POSIX paths for native binary

Martin Vogel0f3c772014b1
diff --git a/scripts/smoke-test.sh b/scripts/smoke-test.sh
index d12aef9e0..c97e73bc5 100755
--- a/scripts/smoke-test.sh
+++ b/scripts/smoke-test.sh
@@ -11,6 +11,10 @@ set -euo pipefail
BINARY="${1:?usage: smoke-test.sh <binary-path>}"
TMPDIR=$(mktemp -d)
+# On MSYS2/Windows, convert POSIX path to native Windows path for the binary
+if command -v cygpath &>/dev/null; then
+ TMPDIR=$(cygpath -m "$TMPDIR")
+fi
trap 'rm -rf "$TMPDIR"' EXIT
CLI_STDERR=$(mktemp)