Skip to content

Commit 47dddf1

Browse files
committed
fix(smoke): pin windows smoke server+URL to IPv4 (arm64 Phase 12a)
curl (already installed) failed instantly in smoke Phase 12a on windows-11-arm while the server was up and the binary's own downloader reached it -- the classic localhost->::1 (IPv6) resolution: msys2 curl tried IPv6 but python's http.server was IPv4-only. Bind the server to 127.0.0.1 and use a 127.0.0.1 SMOKE_DOWNLOAD_URL so both ends are explicit IPv4. amd64 windows is unaffected (already reached via IPv4). These were the last red legs in the release dry run. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent c6cce65 commit 47dddf1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/_smoke.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,16 @@ jobs:
225225
cp "codebase-memory-mcp${SUFFIX}-windows-${ARCH}.zip" "codebase-memory-mcp-windows-${ARCH}.zip"
226226
fi
227227
sha256sum *.zip > checksums.txt
228-
python3 -m http.server 18080 -d /tmp/smoke-server &
228+
# Pin to explicit IPv4: on windows-11-arm, `localhost` resolves to ::1 (IPv6)
229+
# for msys2 curl while python's http.server is IPv4-only -> instant connect
230+
# failure in smoke Phase 12a. --bind 127.0.0.1 + a 127.0.0.1 URL pin both ends.
231+
python3 -m http.server 18080 --bind 127.0.0.1 -d /tmp/smoke-server &
229232
230233
- name: Smoke test
231234
shell: msys2 {0}
232235
run: scripts/smoke-test.sh ./codebase-memory-mcp.exe
233236
env:
234-
SMOKE_DOWNLOAD_URL: http://localhost:18080
237+
SMOKE_DOWNLOAD_URL: http://127.0.0.1:18080
235238

236239
- name: Security audits
237240
shell: msys2 {0}

0 commit comments

Comments
 (0)