[PR #555] [MERGED] fix: return correct checkpointId in parentConfig in MemorySaver.getTuple #843

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/555
Author: @benjamincburns
Created: 10/7/2024
Status: Merged
Merged: 10/7/2024
Merged by: @jacoblee93

Base: mainHead: fix-memorysaver-parentconfig


📝 Commits (1)

  • f9ba7e9 fix: return correct checkpointId in parentConfig in MemorySaver.getTuple

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 libs/checkpoint/src/memory.ts (+1 -1)

📄 Description

Found while working on #541.

Prior to this fix, when MemorySaver.getTuple was called to fetch a specific checkpoint_id that was a child of some other checkpoint, the value of parentConfig.configurable.checkpoint_id in the returned CheckpointTuple would be assigned to the child's checkpoint_id rather than the parent's.


🔄 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/555 **Author:** [@benjamincburns](https://github.com/benjamincburns) **Created:** 10/7/2024 **Status:** ✅ Merged **Merged:** 10/7/2024 **Merged by:** [@jacoblee93](https://github.com/jacoblee93) **Base:** `main` ← **Head:** `fix-memorysaver-parentconfig` --- ### 📝 Commits (1) - [`f9ba7e9`](https://github.com/langchain-ai/langgraphjs/commit/f9ba7e925914bf3d35372ae205c508182309578c) fix: return correct checkpointId in parentConfig in MemorySaver.getTuple ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint/src/memory.ts` (+1 -1) </details> ### 📄 Description Found while working on #541. Prior to this fix, when `MemorySaver.getTuple` was called to fetch a specific `checkpoint_id` that was a child of some other checkpoint, the value of `parentConfig.configurable.checkpoint_id` in the returned `CheckpointTuple` would be assigned to the child's `checkpoint_id` rather than the parent's. --- <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:07 -05:00
yindo closed this issue 2026-02-15 19:16:07 -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#843