[PR #559] [MERGED] Add metadata to debug/checkpoint stream events #1540

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/559
Author: @nfcampos
Created: 5/30/2024
Status: Merged
Merged: 5/31/2024
Merged by: @nfcampos

Base: mainHead: nc/30may/debug-checkpoint-metadata


📝 Commits (1)

  • 87de8df Add metadata to debug/checkpoint stream events

📊 Changes

4 files changed (+232 additions, -259 deletions)

View changed files

📝 langgraph/pregel/__init__.py (+127 -120)
📝 langgraph/pregel/debug.py (+4 -0)
📝 tests/test_pregel.py (+56 -70)
📝 tests/test_pregel_async.py (+45 -69)

📄 Description

  • reorganize checkpointing code to share code between input and step checkpoints
  • do not emit debug/checkpoint events when there is no checkpointer attached
  • emit debug/checkpoint event for input checkpoint as well

🔄 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/559 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 5/30/2024 **Status:** ✅ Merged **Merged:** 5/31/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/30may/debug-checkpoint-metadata` --- ### 📝 Commits (1) - [`87de8df`](https://github.com/langchain-ai/langgraph/commit/87de8df8882247f43e6ca934257ce13ba4adf3d6) Add metadata to debug/checkpoint stream events ### 📊 Changes **4 files changed** (+232 additions, -259 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/pregel/__init__.py` (+127 -120) 📝 `langgraph/pregel/debug.py` (+4 -0) 📝 `tests/test_pregel.py` (+56 -70) 📝 `tests/test_pregel_async.py` (+45 -69) </details> ### 📄 Description - reorganize checkpointing code to share code between input and step checkpoints - do not emit debug/checkpoint events when there is no checkpointer attached - emit debug/checkpoint event for input checkpoint as well --- <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:59 -05:00
yindo closed this issue 2026-02-20 17:44:59 -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#1540