[PR #787] [CLOSED] feat: cloudflare-sqlite for durable objects #1008

Closed
opened 2026-02-15 19:16:47 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/787
Author: @mattzcarey
Created: 1/17/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

📊 Changes

17 files changed (+1027 additions, -0 deletions)

View changed files

libs/checkpoint-cloudflare-sqlite/.env.example (+6 -0)
libs/checkpoint-cloudflare-sqlite/.eslintrc.cjs (+69 -0)
libs/checkpoint-cloudflare-sqlite/.gitignore (+7 -0)
libs/checkpoint-cloudflare-sqlite/.prettierrc (+19 -0)
libs/checkpoint-cloudflare-sqlite/.release-it.json (+13 -0)
libs/checkpoint-cloudflare-sqlite/LICENSE (+21 -0)
libs/checkpoint-cloudflare-sqlite/README.md (+59 -0)
libs/checkpoint-cloudflare-sqlite/jest.config.cjs (+20 -0)
libs/checkpoint-cloudflare-sqlite/jest.env.cjs (+12 -0)
libs/checkpoint-cloudflare-sqlite/langchain.config.js (+21 -0)
libs/checkpoint-cloudflare-sqlite/package.json (+90 -0)
libs/checkpoint-cloudflare-sqlite/src/index.ts (+402 -0)
libs/checkpoint-cloudflare-sqlite/src/tests/checkpoints.test.ts (+201 -0)
libs/checkpoint-cloudflare-sqlite/tsconfig.cjs.json (+8 -0)
libs/checkpoint-cloudflare-sqlite/tsconfig.json (+23 -0)
libs/checkpoint-cloudflare-sqlite/turbo.json (+11 -0)
📝 yarn.lock (+45 -0)

📄 Description

Cloudflare durable objects have a slightly different sqlite api.

Tests are not passing cause I am getting some weird esm errors, but this works for me in a durable object.

Have a great weekend,
Matt


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/787 **Author:** [@mattzcarey](https://github.com/mattzcarey) **Created:** 1/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`76a8459`](https://github.com/langchain-ai/langgraphjs/commit/76a84596f11e773a5c4fc3d8767f82ddce290bf3) feat: cloudflare-sqlite ### 📊 Changes **17 files changed** (+1027 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `libs/checkpoint-cloudflare-sqlite/.env.example` (+6 -0) ➕ `libs/checkpoint-cloudflare-sqlite/.eslintrc.cjs` (+69 -0) ➕ `libs/checkpoint-cloudflare-sqlite/.gitignore` (+7 -0) ➕ `libs/checkpoint-cloudflare-sqlite/.prettierrc` (+19 -0) ➕ `libs/checkpoint-cloudflare-sqlite/.release-it.json` (+13 -0) ➕ `libs/checkpoint-cloudflare-sqlite/LICENSE` (+21 -0) ➕ `libs/checkpoint-cloudflare-sqlite/README.md` (+59 -0) ➕ `libs/checkpoint-cloudflare-sqlite/jest.config.cjs` (+20 -0) ➕ `libs/checkpoint-cloudflare-sqlite/jest.env.cjs` (+12 -0) ➕ `libs/checkpoint-cloudflare-sqlite/langchain.config.js` (+21 -0) ➕ `libs/checkpoint-cloudflare-sqlite/package.json` (+90 -0) ➕ `libs/checkpoint-cloudflare-sqlite/src/index.ts` (+402 -0) ➕ `libs/checkpoint-cloudflare-sqlite/src/tests/checkpoints.test.ts` (+201 -0) ➕ `libs/checkpoint-cloudflare-sqlite/tsconfig.cjs.json` (+8 -0) ➕ `libs/checkpoint-cloudflare-sqlite/tsconfig.json` (+23 -0) ➕ `libs/checkpoint-cloudflare-sqlite/turbo.json` (+11 -0) 📝 `yarn.lock` (+45 -0) </details> ### 📄 Description <!-- Thank you for contributing to LangGraph.js! Your PR will appear in our next release under the title you set above. Please make sure it highlights your valuable contribution. To help streamline the review process, please make sure you read our contribution guidelines: https://github.com/langchain-ai/langgraphjs/blob/main/CONTRIBUTING.md Replace this block with a description of the change, the issue it fixes (if applicable), and relevant context. Finally, we'd love to show appreciation for your contribution - if you'd like us to shout you out on Twitter, please also include your handle below! --> Cloudflare durable objects have a slightly different sqlite api. Tests are not passing cause I am getting some weird esm errors, but this works for me in a durable object. Have a great weekend, Matt --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:47 -05:00
yindo closed this issue 2026-02-15 19:16:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#1008