This is an automated email from the ASF dual-hosted git repository.

nic-6443 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 280afdd710 ci: retry the MCP server download and fail on a bad HTTP 
status (#13838)
280afdd710 is described below

commit 280afdd710002216231184e84e554a9c1aa1292b
Author: Nic <[email protected]>
AuthorDate: Tue Aug 18 14:26:36 2026 +0800

    ci: retry the MCP server download and fail on a bad HTTP status (#13838)
---
 ci/prepare_filesystem_mcp.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/prepare_filesystem_mcp.sh b/ci/prepare_filesystem_mcp.sh
index 50e0b68626..51613bdb2a 100755
--- a/ci/prepare_filesystem_mcp.sh
+++ b/ci/prepare_filesystem_mcp.sh
@@ -28,7 +28,7 @@ 
URL="https://github.com/modelcontextprotocol/servers/archive/refs/tags/${VERSION
 WORKDIR="$(mktemp -d)"
 DEST_DIR="${REPO_ROOT}/t/plugin/mcp/servers"
 
-curl -L "${URL}" | tar -xz -C "${WORKDIR}"
+curl -fsSL --retry 3 --retry-delay 5 "${URL}" | tar -xz -C "${WORKDIR}"
 
 rm -rf "${DEST_DIR}"
 mkdir -p "$(dirname "${DEST_DIR}")"

Reply via email to