[PR #1395] [MERGED] checkpoint-*: In put_writes clear any previously saved writes for this task_id #2050

Closed
opened 2026-02-20 17:46:10 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1395
Author: @nfcampos
Created: 8/19/2024
Status: Merged
Merged: 8/19/2024
Merged by: @nfcampos

Base: mainHead: nc/19aug/put-writes-idempotent


📝 Commits (2)

  • 7aaeedd checkpoint-*: In put_writes clear any previously saved writes for this task_id
  • c0c534c Add pipeline arg

📊 Changes

6 files changed (+61 additions, -13 deletions)

View changed files

📝 libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py (+9 -1)
📝 libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py (+9 -1)
📝 libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py (+11 -0)
📝 libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py (+10 -0)
📝 libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py (+21 -11)
📝 libs/checkpoint/langgraph/checkpoint/memory/__init__.py (+1 -0)

📄 Description

  • Previously implementations were clearing only tasks if the index matched a previously saved one, which isn't enough to guarantee idempotency

🔄 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/langgraph/pull/1395 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 8/19/2024 **Status:** ✅ Merged **Merged:** 8/19/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/19aug/put-writes-idempotent` --- ### 📝 Commits (2) - [`7aaeedd`](https://github.com/langchain-ai/langgraph/commit/7aaeedd7ba114927016c0dbd3798a51197520466) checkpoint-*: In put_writes clear any previously saved writes for this task_id - [`c0c534c`](https://github.com/langchain-ai/langgraph/commit/c0c534cbe3c546329d2bd44814565a831da04c2f) Add pipeline arg ### 📊 Changes **6 files changed** (+61 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py` (+9 -1) 📝 `libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py` (+9 -1) 📝 `libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py` (+11 -0) 📝 `libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py` (+10 -0) 📝 `libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py` (+21 -11) 📝 `libs/checkpoint/langgraph/checkpoint/memory/__init__.py` (+1 -0) </details> ### 📄 Description - Previously implementations were clearing only tasks if the index matched a previously saved one, which isn't enough to guarantee idempotency --- <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-20 17:46:10 -05:00
yindo closed this issue 2026-02-20 17:46:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#2050