[PR #641] [CLOSED] Add Supabase Checkpointer #910

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/641
Author: @williamoverton
Created: 10/30/2024
Status: Closed

Base: mainHead: execify/supabase


📝 Commits (10+)

  • 808719f Start Supabase
  • f649e31 Work on supabase checkpointer
  • a55b7a7 Update supabase checkpointer
  • bd2eba9 Update parsing
  • 1aed561 update metadata filter
  • 1578a73 skipped test in put method
  • 3ccbc71 Include Jacob's work and continue attacking tests
  • cd62b74 clean up db in destroyCheckpointer
  • 396170f Refactor and add readme
  • 34567ff Enable RLS in readme setup

📊 Changes

17 files changed (+875 additions, -13 deletions)

View changed files

libs/checkpoint-supabase/.gitignore (+7 -0)
libs/checkpoint-supabase/README.md (+110 -0)
libs/checkpoint-supabase/jest.config.cjs (+20 -0)
libs/checkpoint-supabase/jest.env.cjs (+12 -0)
libs/checkpoint-supabase/langchain.config.js (+21 -0)
libs/checkpoint-supabase/package.json (+91 -0)
libs/checkpoint-supabase/src/index.ts (+320 -0)
libs/checkpoint-supabase/tsconfig.cjs.json (+8 -0)
libs/checkpoint-supabase/tsconfig.json (+23 -0)
libs/checkpoint-supabase/turbo.json (+11 -0)
📝 libs/checkpoint-validation/jest.config.cjs (+1 -0)
📝 libs/checkpoint-validation/package.json (+2 -0)
📝 libs/checkpoint-validation/src/spec/list.ts (+13 -10)
📝 libs/checkpoint-validation/src/spec/put.ts (+5 -3)
libs/checkpoint-validation/src/tests/supabase.spec.ts (+5 -0)
libs/checkpoint-validation/src/tests/supabase_initializer.ts (+33 -0)
📝 yarn.lock (+193 -0)

📄 Description

Add a checkpointer for the Supabase API based on the JS SDK for cases where a direct postgres connection may not be wanted.

This work is based on the preexisting SQLite checkpointer and uses the same test suite which passes.

Im not sure how you would like to implement the tests in CI so have not included it in this PR. Supabase can be run locally via their CLI though: https://supabase.com/docs/guides/local-development/cli/getting-started

Credits:
Originally started by @jacoblee93 (🙏) and continued by the Execify Team 🚀 .


🔄 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/641 **Author:** [@williamoverton](https://github.com/williamoverton) **Created:** 10/30/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `execify/supabase` --- ### 📝 Commits (10+) - [`808719f`](https://github.com/langchain-ai/langgraphjs/commit/808719f570201ccb50adfd642b522db54a44f478) Start Supabase - [`f649e31`](https://github.com/langchain-ai/langgraphjs/commit/f649e311c8001ed7a08b078a60c92c5163870658) Work on supabase checkpointer - [`a55b7a7`](https://github.com/langchain-ai/langgraphjs/commit/a55b7a7ca8a25ccc0e0996e8cf31b0645d12fac8) Update supabase checkpointer - [`bd2eba9`](https://github.com/langchain-ai/langgraphjs/commit/bd2eba990a24850be9c11fc069365673d671e4b3) Update parsing - [`1aed561`](https://github.com/langchain-ai/langgraphjs/commit/1aed561de2259e856a408188b4c0c5d31b044434) update metadata filter - [`1578a73`](https://github.com/langchain-ai/langgraphjs/commit/1578a7320fc5a8a03b336ae638b9b10c29611cb6) skipped test in put method - [`3ccbc71`](https://github.com/langchain-ai/langgraphjs/commit/3ccbc715988be47655411ac1ca400d6c15a03a08) Include Jacob's work and continue attacking tests - [`cd62b74`](https://github.com/langchain-ai/langgraphjs/commit/cd62b74d14711207ae820f08d0080dd9172dfa13) clean up db in destroyCheckpointer - [`396170f`](https://github.com/langchain-ai/langgraphjs/commit/396170f8b5c579ef39486520498009c4e79686e7) Refactor and add readme - [`34567ff`](https://github.com/langchain-ai/langgraphjs/commit/34567ffc61a5a7c8c8a16c1230295add33ff7302) Enable RLS in readme setup ### 📊 Changes **17 files changed** (+875 additions, -13 deletions) <details> <summary>View changed files</summary> ➕ `libs/checkpoint-supabase/.gitignore` (+7 -0) ➕ `libs/checkpoint-supabase/README.md` (+110 -0) ➕ `libs/checkpoint-supabase/jest.config.cjs` (+20 -0) ➕ `libs/checkpoint-supabase/jest.env.cjs` (+12 -0) ➕ `libs/checkpoint-supabase/langchain.config.js` (+21 -0) ➕ `libs/checkpoint-supabase/package.json` (+91 -0) ➕ `libs/checkpoint-supabase/src/index.ts` (+320 -0) ➕ `libs/checkpoint-supabase/tsconfig.cjs.json` (+8 -0) ➕ `libs/checkpoint-supabase/tsconfig.json` (+23 -0) ➕ `libs/checkpoint-supabase/turbo.json` (+11 -0) 📝 `libs/checkpoint-validation/jest.config.cjs` (+1 -0) 📝 `libs/checkpoint-validation/package.json` (+2 -0) 📝 `libs/checkpoint-validation/src/spec/list.ts` (+13 -10) 📝 `libs/checkpoint-validation/src/spec/put.ts` (+5 -3) ➕ `libs/checkpoint-validation/src/tests/supabase.spec.ts` (+5 -0) ➕ `libs/checkpoint-validation/src/tests/supabase_initializer.ts` (+33 -0) 📝 `yarn.lock` (+193 -0) </details> ### 📄 Description Add a checkpointer for the Supabase API based on the JS SDK for cases where a direct postgres connection may not be wanted. This work is based on the preexisting SQLite checkpointer and uses the same test suite which passes. Im not sure how you would like to implement the tests in CI so have not included it in this PR. Supabase can be run locally via their CLI though: https://supabase.com/docs/guides/local-development/cli/getting-started Credits: Originally started by @jacoblee93 (🙏) and continued by the Execify Team 🚀 . --- <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:22 -05:00
yindo closed this issue 2026-02-15 19:16:22 -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#910