[PR #629] [MERGED] fix(checkpoint): don't throw on MemorySaver.put if no checkpoint_ns #900

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/629
Author: @benjamincburns
Created: 10/24/2024
Status: Merged
Merged: 10/24/2024
Merged by: @nfcampos

Base: mainHead: fix-checkpoint-memorysaver-put-checkpoint-ns


📝 Commits (1)

  • 64601f8 fix(checkpoint): don't throw on MemorySaver.put if no checkpoint_ns

📊 Changes

2 files changed (+1 additions, -9 deletions)

View changed files

📝 libs/checkpoint-validation/src/spec/put.ts (+0 -3)
📝 libs/checkpoint/src/memory.ts (+1 -6)

📄 Description

For consistency with the other checkpointers, this change makes MemorySaver.put use the default namespace when config.configurable.checkpoint_ns is undefined.

Also unignores relevant tests in checkpoint-validation for MemorySaver runs.

Fixes #591


🔄 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/629 **Author:** [@benjamincburns](https://github.com/benjamincburns) **Created:** 10/24/2024 **Status:** ✅ Merged **Merged:** 10/24/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `fix-checkpoint-memorysaver-put-checkpoint-ns` --- ### 📝 Commits (1) - [`64601f8`](https://github.com/langchain-ai/langgraphjs/commit/64601f885b22d0f6ae02d66ee399d9c1bf849763) fix(checkpoint): don't throw on MemorySaver.put if no checkpoint_ns ### 📊 Changes **2 files changed** (+1 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint-validation/src/spec/put.ts` (+0 -3) 📝 `libs/checkpoint/src/memory.ts` (+1 -6) </details> ### 📄 Description For consistency with the other checkpointers, this change makes `MemorySaver.put` use the default namespace when `config.configurable.checkpoint_ns` is undefined. Also unignores relevant tests in `checkpoint-validation` for `MemorySaver` runs. Fixes #591 --- <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:20 -05:00
yindo closed this issue 2026-02-15 19:16:20 -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#900