SqliteSaver.put stores config with undefined checkpoint_ns when config.configurable.checkpoint_ns is undefined. #112

Closed
opened 2026-02-15 17:15:55 -05:00 by yindo · 1 comment
Owner

Originally created by @benjamincburns on GitHub (Oct 14, 2024).

Found while working on #541. Relevant code is here (value is unchecked).

Originally created by @benjamincburns on GitHub (Oct 14, 2024). Found while working on #541. Relevant code is [here](https://github.com/langchain-ai/langgraphjs/blob/d3c8204026c351672390d36ae652b7446b258e72/libs/checkpoint-sqlite/src/index.ts#L233) (value is unchecked).
yindo closed this issue 2026-02-15 17:15:55 -05:00
Author
Owner

@benjamincburns commented on GitHub (Oct 20, 2024):

Per https://github.com/langchain-ai/langgraphjs/pull/582#discussion_r1807012164 - it would also be nice if whomever did this included a change that migrated the type of the metadata column to jsonb rather than blob so that the query for list didn't need to reproject this column to jsonb in its WHERE clause (causes a linear scan).

@benjamincburns commented on GitHub (Oct 20, 2024): Per https://github.com/langchain-ai/langgraphjs/pull/582#discussion_r1807012164 - it would also be nice if whomever did this included a change that migrated the type of the `metadata` column to `jsonb` rather than `blob` so that the query for `list` didn't need to reproject this column to `jsonb` in its `WHERE` clause (causes a linear scan).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#112