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.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Fix smoke tests: CLANG64 runtime for Windows, debug stderr on error
Martin Vogela71a65f68e64
diff --git a/.github/workflows/dry-run.yml b/.github/workflows/dry-run.ymlindex 5b97084a8..d6fee1e97 100644--- a/.github/workflows/dry-run.yml+++ b/.github/workflows/dry-run.yml@@ -231,6 +231,7 @@ jobs:if: ${{ !inputs.skip_builds }}needs: [build-unix]strategy:+ fail-fast: falsematrix:include:- os: ubuntu-latest@@ -275,20 +276,21 @@ jobs:- uses: msys2/setup-msys2@v2with:- msystem: UCRT64+ msystem: CLANG64path-type: inheritinstall: >-- mingw-w64-ucrt-x86_64-python3+ mingw-w64-clang-x86_64-python3+ unzip- uses: actions/download-artifact@v4with:name: binaries-windows-amd64- name: Extract binary- shell: pwsh+ shell: msys2 {0}run: |- $suffix = if ("${{ matrix.variant }}" -eq "ui") { "-ui" } else { "" }- Expand-Archive -Path "codebase-memory-mcp${suffix}-windows-amd64.zip" -DestinationPath .+ SUFFIX=${{ matrix.variant == 'ui' && '-ui' || '' }}+ unzip -o "codebase-memory-mcp${SUFFIX}-windows-amd64.zip"- name: Smoke test (${{ matrix.variant }}, windows-amd64)shell: msys2 {0}diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex c80f77e0c..9e5e52dfc 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -269,20 +269,21 @@ jobs:- uses: msys2/setup-msys2@v2with:- msystem: UCRT64+ msystem: CLANG64path-type: inheritinstall: >-- mingw-w64-ucrt-x86_64-python3+ mingw-w64-clang-x86_64-python3+ unzip- uses: actions/download-artifact@v4with:name: binaries-windows-amd64- name: Extract binary- shell: pwsh+ shell: msys2 {0}run: |- $suffix = if ("${{ matrix.variant }}" -eq "ui") { "-ui" } else { "" }- Expand-Archive -Path "codebase-memory-mcp${suffix}-windows-amd64.zip" -DestinationPath .+ SUFFIX=${{ matrix.variant == 'ui' && '-ui' || '' }}+ unzip -o "codebase-memory-mcp${SUFFIX}-windows-amd64.zip"- name: Smoke test (${{ matrix.variant }}, windows-amd64)shell: msys2 {0}diff --git a/scripts/smoke-test.sh b/scripts/smoke-test.shindex fd9a5383c..d12aef9e0 100755--- a/scripts/smoke-test.sh+++ b/scripts/smoke-test.sh@@ -13,7 +13,8 @@ BINARY="${1:?usage: smoke-test.sh <binary-path>}"TMPDIR=$(mktemp -d)trap 'rm -rf "$TMPDIR"' EXIT-cli() { "$BINARY" cli "$@" 2>/dev/null; }+CLI_STDERR=$(mktemp)+cli() { "$BINARY" cli "$@" 2>"$CLI_STDERR"; }echo "=== Phase 1: version ==="OUTPUT=$("$BINARY" --version 2>&1)@@ -97,6 +98,9 @@ echo "$RESULT"STATUS=$(echo "$RESULT" | python3 -c "import json,sys; d=json.loads(json.loads(sys.stdin.read())['content'][0]['text']); print(d.get('status',''))" 2>/dev/null || echo "")if [ "$STATUS" != "indexed" ]; thenecho "FAIL: index status is '$STATUS', expected 'indexed'"+ echo "--- stderr ---"+ cat "$CLI_STDERR"+ echo "--- end stderr ---"exit 1fi