_get_connection_pool() catches a Postgres failure in production, logs continuing_without_connection_pool, and returns None. create_graph() then sets checkpointer=None and compiles.
/messages, clear_chat_history, and HITL Command(resume=...) read AsyncPostgresSaver (checkpoint tables, thread_id). mem0 search/add write user facts to pgvector. Same database, two stores.
Expected: the process refuses to serve, or /health returns 503, if the checkpointer cannot be created.
I have not runtime-reproduced this. The branch is in app/core/langgraph/graph.py (_get_connection_pool, create_graph).
_get_connection_pool()catches a Postgres failure in production, logscontinuing_without_connection_pool, and returnsNone.create_graph()then setscheckpointer=Noneand compiles./messages,clear_chat_history, and HITLCommand(resume=...)readAsyncPostgresSaver(checkpoint tables,thread_id). mem0search/addwrite user facts to pgvector. Same database, two stores.Expected: the process refuses to serve, or
/healthreturns 503, if the checkpointer cannot be created.I have not runtime-reproduced this. The branch is in
app/core/langgraph/graph.py(_get_connection_pool,create_graph).