File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1594,12 +1594,18 @@ DL_ARCHIVE_UI="codebase-memory-mcp-ui-${DL_OS}-${DL_ARCH}.${DL_EXT}"
15941594
15951595# 12a: curl download (try standard, then UI variant)
15961596echo " --- Phase 12a: curl download ---"
1597- if ! curl -fSL -o " $DL_DIR /$DL_ARCHIVE " " $SMOKE_DOWNLOAD_URL /$DL_ARCHIVE " 2> /dev/null; then
1597+ # --noproxy '*': never route the local test server through a proxy — a proxy env
1598+ # var present on some runners (notably windows-11-arm) made curl fail to reach
1599+ # 127.0.0.1 while the app's own downloader (WinHTTP) bypassed it. On failure,
1600+ # surface curl's stderr instead of swallowing it so the reason is visible.
1601+ if ! curl -fSL --noproxy ' *' -o " $DL_DIR /$DL_ARCHIVE " " $SMOKE_DOWNLOAD_URL /$DL_ARCHIVE " 2> /tmp/cbm-curl12a.err; then
15981602 # Try UI variant
1599- if curl -fSL -o " $DL_DIR /$DL_ARCHIVE_UI " " $SMOKE_DOWNLOAD_URL /$DL_ARCHIVE_UI " 2> /dev/null ; then
1603+ if curl -fSL --noproxy ' * ' - o " $DL_DIR /$DL_ARCHIVE_UI " " $SMOKE_DOWNLOAD_URL /$DL_ARCHIVE_UI " 2>> /tmp/cbm-curl12a.err ; then
16001604 DL_ARCHIVE=" $DL_ARCHIVE_UI "
16011605 else
16021606 echo " FAIL 12a: curl download failed (tried standard and ui variants)"
1607+ echo " --- curl stderr (url: $SMOKE_DOWNLOAD_URL /$DL_ARCHIVE ) ---"
1608+ cat /tmp/cbm-curl12a.err 2> /dev/null || true
16031609 exit 1
16041610 fi
16051611fi
You can’t perform that action at this time.
0 commit comments