fix(ops): 将 goose session postgres ensure 脚本打入 runtime 包

发版后 Portal live 目录为无源码 runtime,ensure 脚本需随包发布;文档与发布检查改为引用 goosed-prod 稳定路径作为 103 兜底。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-06 17:11:40 +08:00
parent 1077dd9b97
commit 84bc03c9ba
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ pg_isready_bin="/opt/homebrew/opt/postgresql@17/bin/pg_isready"
if [[ -x "${pg_isready_bin}" ]]; then
if ! "${pg_isready_bin}" -h 127.0.0.1 -p 5432 -q 2>/dev/null; then
echo "goosed dependency check failed: host PostgreSQL (127.0.0.1:5432) is not accepting connections" >&2
echo "Run: bash /Users/john/Project/Memind/scripts/ensure-goose-session-postgres.sh" >&2
echo "Run: bash /Users/john/Project/goosed-prod/scripts/ensure-goose-session-postgres.sh" >&2
missing=1
fi
else