Langgraph Postgres and Redis checkpointer/persistence don't work with workers
I'm trying to build an API that uses langgraph in a CF worker. It works fine, but when I add langgraph persistence via postgres or redis, I get the following error.
Error: The Workers runtime canceled this request because it detected that your Worker's code had hung and would never generate a response. Refer to: https://developers.cloudflare.com/workers/observability/errors/ at async Object.fetch (file:///home/cloudflare-workers/node_modules/.pnpm/[email protected]/node_modules/miniflare/dist/src/workers/core/entry.worker.js:4346:22)
Error: The Workers runtime canceled this request because it detected that your Worker's code had hung and would never generate a response. Refer to: https://developers.cloudflare.com/workers/observability/errors/ at async Object.fetch (file:///home/cloudflare-workers/node_modules/.pnpm/[email protected]/node_modules/miniflare/dist/src/workers/core/entry.worker.js:4346:22)