[PR #390] [MERGED] Remove option to only checkpoint at end of run #1435

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/390
Author: @nfcampos
Created: 5/3/2024
Status: Merged
Merged: 5/6/2024
Merged by: @nfcampos

Base: nc/3may/checkpoint-metadataHead: nc/3may/remove-checpoint-at-end-of-run


📝 Commits (8)

  • 5e48fb7 Remove option to only checkpoint at end of run
  • 69d8021 Add checkpoint metadata fields
  • 0e7c46a Checkpoint inputs before starting the first step for easier error recovery
  • ed05f3b Add assert
  • 2ef144f Fix lineage of maual state updates
  • 7ea30ef Fix checkpoint lineage for updates/resumes
  • 4ef0ae4 Merge pull request #399 from langchain-ai/nc/3may/checkpoint-inputs
  • ac845d9 Merge pull request #391 from langchain-ai/nc/3may/checkpoint-metadata-source-step

📊 Changes

14 files changed (+741 additions, -1467 deletions)

View changed files

📝 langgraph/channels/base.py (+3 -1)
📝 langgraph/checkpoint/__init__.py (+0 -2)
📝 langgraph/checkpoint/aiosqlite.py (+8 -9)
📝 langgraph/checkpoint/base.py (+22 -18)
📝 langgraph/checkpoint/memory.py (+10 -8)
📝 langgraph/checkpoint/sqlite.py (+17 -10)
📝 langgraph/graph/__init__.py (+2 -2)
📝 langgraph/pregel/__init__.py (+138 -110)
📝 langgraph/pregel/types.py (+3 -1)
📝 tests/__snapshots__/test_pregel.ambr (+18 -500)
📝 tests/__snapshots__/test_pregel_async.ambr (+2 -76)
📝 tests/memory_assert.py (+9 -7)
📝 tests/test_pregel.py (+251 -370)
📝 tests/test_pregel_async.py (+258 -353)

📄 Description

  • Now that checkpoint at end of each step adds no latency there is not point to keep this
  • This will make it easier to add future features

🔄 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/390 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 5/3/2024 **Status:** ✅ Merged **Merged:** 5/6/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `nc/3may/checkpoint-metadata` ← **Head:** `nc/3may/remove-checpoint-at-end-of-run` --- ### 📝 Commits (8) - [`5e48fb7`](https://github.com/langchain-ai/langgraph/commit/5e48fb7ecc55e4cdacc645e8201b2c01e20a7601) Remove option to only checkpoint at end of run - [`69d8021`](https://github.com/langchain-ai/langgraph/commit/69d802102cba08b50fbcc94134e429fc8baffc5a) Add checkpoint metadata fields - [`0e7c46a`](https://github.com/langchain-ai/langgraph/commit/0e7c46a9f9f0a19962aadcdc770b13cacbcd0f0f) Checkpoint inputs before starting the first step for easier error recovery - [`ed05f3b`](https://github.com/langchain-ai/langgraph/commit/ed05f3b8b1266690bd15a615001d572e0b7c5b48) Add assert - [`2ef144f`](https://github.com/langchain-ai/langgraph/commit/2ef144f1890bf2e145dd4b0baf45dbc6141be1af) Fix lineage of maual state updates - [`7ea30ef`](https://github.com/langchain-ai/langgraph/commit/7ea30ef958456b84e348362313ec38854d372402) Fix checkpoint lineage for updates/resumes - [`4ef0ae4`](https://github.com/langchain-ai/langgraph/commit/4ef0ae419d1ef9ff554e96546dabb654d03b836b) Merge pull request #399 from langchain-ai/nc/3may/checkpoint-inputs - [`ac845d9`](https://github.com/langchain-ai/langgraph/commit/ac845d9a51fa1fc7c14fac7593769289a1667f82) Merge pull request #391 from langchain-ai/nc/3may/checkpoint-metadata-source-step ### 📊 Changes **14 files changed** (+741 additions, -1467 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/channels/base.py` (+3 -1) 📝 `langgraph/checkpoint/__init__.py` (+0 -2) 📝 `langgraph/checkpoint/aiosqlite.py` (+8 -9) 📝 `langgraph/checkpoint/base.py` (+22 -18) 📝 `langgraph/checkpoint/memory.py` (+10 -8) 📝 `langgraph/checkpoint/sqlite.py` (+17 -10) 📝 `langgraph/graph/__init__.py` (+2 -2) 📝 `langgraph/pregel/__init__.py` (+138 -110) 📝 `langgraph/pregel/types.py` (+3 -1) 📝 `tests/__snapshots__/test_pregel.ambr` (+18 -500) 📝 `tests/__snapshots__/test_pregel_async.ambr` (+2 -76) 📝 `tests/memory_assert.py` (+9 -7) 📝 `tests/test_pregel.py` (+251 -370) 📝 `tests/test_pregel_async.py` (+258 -353) </details> ### 📄 Description - Now that checkpoint at end of each step adds no latency there is not point to keep this - This will make it easier to add future features --- <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:44:43 -05:00
yindo closed this issue 2026-02-20 17:44:43 -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#1435