fix: pin Aider binary for portal canary
Memind CI / Test, build, and release guards (push) Has been cancelled

This commit is contained in:
john
2026-07-28 01:01:03 +08:00
parent 23dedf1264
commit 8cd85a9b11
3 changed files with 19 additions and 0 deletions
+5
View File
@@ -40,6 +40,7 @@ export MEMIND_DEEPSEEK_NO_THINK_PORT="${MEMIND_CANARY_DEEPSEEK_PROXY_PORT:-18036
export MEMIND_GOOSED_HOST_GATEWAY=host.docker.internal
export H5_WECHAT_MP_PAGE_DATA_AIDER_REVIEW_ENABLED="${MEMIND_CANARY_WECHAT_PAGE_DATA_AIDER_REVIEW_ENABLED:-0}"
export H5_WECHAT_MP_PAGE_DATA_AIDER_REVIEW_USERS="${MEMIND_CANARY_WECHAT_PAGE_DATA_AIDER_REVIEW_USER_IDS:-}"
export AIDER_BIN="${MEMIND_CANARY_AIDER_BIN:-/opt/homebrew/bin/aider}"
unset MEMIND_DEEPSEEK_NO_THINK_BASE_URL
unset MEMIND_DEEPSEEK_NO_THINK_HOST
unset TKMIND_API_TARGET_1
@@ -48,6 +49,10 @@ NODE_BIN="${NODE_BIN:-/opt/homebrew/opt/node@24/bin/node}"
if [[ ! -x "${NODE_BIN}" ]]; then
NODE_BIN="$(command -v node)"
fi
if [[ "${H5_WECHAT_MP_PAGE_DATA_AIDER_REVIEW_ENABLED}" == "1" && ! -x "${AIDER_BIN}" ]]; then
echo "[portal-candidate] configured Aider executable is unavailable: ${AIDER_BIN}" >&2
exit 1
fi
port="${H5_PORT}"
if lsof -tiTCP:"${port}" -sTCP:LISTEN >/dev/null 2>&1; then