[PR #1075] [MERGED] Nested Interrupts: port to new architecture #1875

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

📋 Pull Request Information

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

Base: mainHead: nc/19jul/nested-checkpoints


📝 Commits (10+)

  • f5390a4 Port to new architecture
  • 375d9a4 Update loop.py
  • afe3905 Update loop.py
  • d635a22 sort memory checkpoints monotonically decreasing
  • f2a95ad fix broken interrupt tests
  • 77f6ec5 update memory
  • 6e57fa5 return future on self._put_checkpoint
  • fbced02 add more tests
  • 0c1ec8d Update sync bg executor to wait on all tasks on exit
  • 42174ad Add optional id arg to create_checkpoint

📊 Changes

14 files changed (+2800 additions, -189 deletions)

View changed files

📝 libs/langgraph/langgraph/channels/manager.py (+7 -3)
📝 libs/langgraph/langgraph/checkpoint/memory.py (+31 -4)
📝 libs/langgraph/langgraph/constants.py (+11 -1)
📝 libs/langgraph/langgraph/errors.py (+12 -0)
📝 libs/langgraph/langgraph/pregel/__init__.py (+25 -4)
📝 libs/langgraph/langgraph/pregel/algo.py (+21 -1)
📝 libs/langgraph/langgraph/pregel/debug.py (+8 -6)
📝 libs/langgraph/langgraph/pregel/executor.py (+89 -50)
📝 libs/langgraph/langgraph/pregel/loop.py (+141 -52)
📝 libs/langgraph/poetry.lock (+15 -1)
📝 libs/langgraph/pyproject.toml (+2 -1)
📝 libs/langgraph/tests/memory_assert.py (+8 -1)
📝 libs/langgraph/tests/test_pregel.py (+1205 -33)
📝 libs/langgraph/tests/test_pregel_async.py (+1225 -32)

📄 Description

No description provided


🔄 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/1075 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 7/19/2024 **Status:** ✅ Merged **Merged:** 7/22/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/19jul/nested-checkpoints` --- ### 📝 Commits (10+) - [`f5390a4`](https://github.com/langchain-ai/langgraph/commit/f5390a4ee57abb1ae9f4c1978e0ea52bd6adc70b) Port to new architecture - [`375d9a4`](https://github.com/langchain-ai/langgraph/commit/375d9a45d91f6e75f96c05b759f7f2132c377e63) Update loop.py - [`afe3905`](https://github.com/langchain-ai/langgraph/commit/afe3905958953899d1cb9f1b90e6589a5e2409e7) Update loop.py - [`d635a22`](https://github.com/langchain-ai/langgraph/commit/d635a22302df57ad8df7fca2aa61c20ace982ea3) sort memory checkpoints monotonically decreasing - [`f2a95ad`](https://github.com/langchain-ai/langgraph/commit/f2a95ad67f73099f9eeb26989af501c1d0765dd3) fix broken interrupt tests - [`77f6ec5`](https://github.com/langchain-ai/langgraph/commit/77f6ec5a2b7f165d136f66d7b01922a5ad2ce28e) update memory - [`6e57fa5`](https://github.com/langchain-ai/langgraph/commit/6e57fa5f9ab5594df0cba815bc3d7c44628c9ab9) return future on self._put_checkpoint - [`fbced02`](https://github.com/langchain-ai/langgraph/commit/fbced023f364a69d70dd6f8529799e35a4b7f5c4) add more tests - [`0c1ec8d`](https://github.com/langchain-ai/langgraph/commit/0c1ec8d5d202ebe5dfb50a78142f52cd701786c1) Update sync bg executor to wait on all tasks on exit - [`42174ad`](https://github.com/langchain-ai/langgraph/commit/42174ad9fb2fada887803094e1e0cfd70e771832) Add optional id arg to create_checkpoint ### 📊 Changes **14 files changed** (+2800 additions, -189 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/langgraph/channels/manager.py` (+7 -3) 📝 `libs/langgraph/langgraph/checkpoint/memory.py` (+31 -4) 📝 `libs/langgraph/langgraph/constants.py` (+11 -1) 📝 `libs/langgraph/langgraph/errors.py` (+12 -0) 📝 `libs/langgraph/langgraph/pregel/__init__.py` (+25 -4) 📝 `libs/langgraph/langgraph/pregel/algo.py` (+21 -1) 📝 `libs/langgraph/langgraph/pregel/debug.py` (+8 -6) 📝 `libs/langgraph/langgraph/pregel/executor.py` (+89 -50) 📝 `libs/langgraph/langgraph/pregel/loop.py` (+141 -52) 📝 `libs/langgraph/poetry.lock` (+15 -1) 📝 `libs/langgraph/pyproject.toml` (+2 -1) 📝 `libs/langgraph/tests/memory_assert.py` (+8 -1) 📝 `libs/langgraph/tests/test_pregel.py` (+1205 -33) 📝 `libs/langgraph/tests/test_pregel_async.py` (+1225 -32) </details> ### 📄 Description _No description provided_ --- <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:45:45 -05:00
yindo closed this issue 2026-02-20 17:45:45 -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#1875