[PR #3] [CLOSED] Add cycle monitoring #1160

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/3
Author: @nfcampos
Created: 8/29/2023
Status: Closed

Base: mainHead: nc/cycle-monitor


📝 Commits (2)

📊 Changes

4 files changed (+75 additions, -2 deletions)

View changed files

permchain/inflight.py (+30 -0)
📝 permchain/pubsub.py (+32 -1)
📝 permchain/topic.py (+13 -0)
📝 tests/test_invoke.py (+0 -1)

📄 Description

Monitor for cycles (ie. infinite loops) in the computation graph. Note this cannot be done as a preprocessing step, as one of the design goals is to allow cyclical computations, we just want to limit these cycles to break infinite loops


🔄 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/3 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 8/29/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `nc/cycle-monitor` --- ### 📝 Commits (2) - [`1e50542`](https://github.com/langchain-ai/langgraph/commit/1e50542763a6925c969b3201df80b418075d9ebe) Add cycle monitoring WIP - [`44355f1`](https://github.com/langchain-ai/langgraph/commit/44355f1953a036c811e19b8a3841e3fd11aedbbd) Unskip test ### 📊 Changes **4 files changed** (+75 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `permchain/inflight.py` (+30 -0) 📝 `permchain/pubsub.py` (+32 -1) 📝 `permchain/topic.py` (+13 -0) 📝 `tests/test_invoke.py` (+0 -1) </details> ### 📄 Description Monitor for cycles (ie. infinite loops) in the computation graph. Note this cannot be done as a preprocessing step, as one of the design goals is to allow cyclical computations, we just want to limit these cycles to break infinite loops --- <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:04 -05:00
yindo closed this issue 2026-02-20 17:44:04 -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#1160