[PR #484] [MERGED] Add retry_policy for graphs #1493

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

📋 Pull Request Information

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

Base: mainHead: nc/16may/retry-policy


📝 Commits (3)

📊 Changes

4 files changed (+199 additions, -63 deletions)

View changed files

📝 langgraph/pregel/__init__.py (+35 -63)
langgraph/pregel/retry.py (+142 -0)
📝 tests/test_pregel.py (+11 -0)
📝 tests/test_pregel_async.py (+11 -0)

📄 Description


🔄 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/484 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 5/16/2024 **Status:** ✅ Merged **Merged:** 5/16/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/16may/retry-policy` --- ### 📝 Commits (3) - [`2414e0a`](https://github.com/langchain-ai/langgraph/commit/2414e0ab5e0bd1fa4e4f910acf65bdf0ea92f4a8) Add retry_policy for graphs - [`a4e88e9`](https://github.com/langchain-ai/langgraph/commit/a4e88e930f41c091011ffdc3c760cba43461a74d) Disable retries by default - [`53501f6`](https://github.com/langchain-ai/langgraph/commit/53501f6aaf137d65ccf56975991cd3cea92ea9bb) Lint ### 📊 Changes **4 files changed** (+199 additions, -63 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/pregel/__init__.py` (+35 -63) ➕ `langgraph/pregel/retry.py` (+142 -0) 📝 `tests/test_pregel.py` (+11 -0) 📝 `tests/test_pregel_async.py` (+11 -0) </details> ### 📄 Description - default is to not retry, fully configurable - configuration options follow temporal https://docs.temporal.io/retry-policies#properties --- <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:52 -05:00
yindo closed this issue 2026-02-20 17:44:53 -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#1493