fix(ops): 自愈 goosed 会话 PostgreSQL,防止 H5 卡在创建新对话 #7
Reference in New Issue
Block a user
Delete Branch "fix/goose-session-postgres-ensure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
scripts/ensure-goose-session-postgres.sh:103 宿主机 PostgreSQL@17 未就绪时自动拉起monitor-goosed-fds.mjs巡检前先执行 ensure,避免 goosed/agent/startpool timeoutrelease-portal-runtime-prod.sh增加 PostgreSQL 就绪检查docs/103-runtime-topology.md记录故障现象与恢复命令背景
103 H5 新会话卡在「正在创建新对话…」是因为 goosed 会话库(
host.docker.internal:5432/memind_sessions)对应的 PostgreSQL 停止,而非 Portal MySQL 或前端逻辑问题。已在 103 现场拉起 PostgreSQL 并部署 ensure 脚本到监控链路。Test plan
pg_isready -h 127.0.0.1 -p 5432返回 accepting connections/agent/start均 200,耗时 < 50msbash scripts/ensure-goose-session-postgres.sh在 PG 已运行时静默退出 0release-portal-runtime-prod.sh --dry-run通过 PostgreSQL 检查