[PR #3974] docs(langgraph): document StateGraph.set_node_defaults() on fault-tolerance #3981

Open
opened 2026-06-05 18:53:47 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3974
Author: @open-swe[bot]
Created: 5/12/2026
Status: 🔄 Open

Base: mainHead: open-swe/fault-tolerance-set-node-defaults


📝 Commits (4)

  • 88505e2 docs(langgraph): document StateGraph.set_node_defaults() on fault-tolerance page
  • 042e399 docs(langgraph): expand resume-safe failures with atomic handover semantics
  • 7f368d3 docs(langgraph): include host crashes in handler resume safety
  • db2a34a Update fault-tolerance.mdx

📊 Changes

2 files changed (+44 additions, -0 deletions)

View changed files

📝 pipeline/preprocessors/link_map.py (+1 -0)
📝 src/oss/langgraph/fault-tolerance.mdx (+43 -0)

📄 Description

Description

Documents the new fluent StateGraph.set_node_defaults() builder method shipped in https://github.com/langchain-ai/langgraph/pull/7747. Adds a new Graph-wide defaults section to the fault-tolerance page covering supported kwargs (retry_policy, timeout, cache_policy, error_handler), the override precedence rule, and which defaults apply to error-handler nodes. Also registers set_node_defaults in the API link map.

Release Note

Document StateGraph.set_node_defaults() for configuring graph-wide retry, timeout, cache, and error-handler defaults.

Test Plan

  • Verify the new Graph-wide defaults section renders correctly on the LangGraph fault-tolerance page and that the @[\set_node_defaults`]` link resolves to the published API reference once the langgraph release containing #7747 is live.

Opened collaboratively by Quanzheng Long and open-swe.


🔄 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/docs/pull/3974 **Author:** [@open-swe[bot]](https://github.com/apps/open-swe) **Created:** 5/12/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `open-swe/fault-tolerance-set-node-defaults` --- ### 📝 Commits (4) - [`88505e2`](https://github.com/langchain-ai/docs/commit/88505e29b62df83125164de29df581bdcb44ffe2) docs(langgraph): document StateGraph.set_node_defaults() on fault-tolerance page - [`042e399`](https://github.com/langchain-ai/docs/commit/042e399c554a369a62823121ff7141468f7531db) docs(langgraph): expand resume-safe failures with atomic handover semantics - [`7f368d3`](https://github.com/langchain-ai/docs/commit/7f368d32edd4ad92a3b81a1b56d774b3f00244e6) docs(langgraph): include host crashes in handler resume safety - [`db2a34a`](https://github.com/langchain-ai/docs/commit/db2a34acbe335ef70f97f5a3cc49558f36758cc1) Update fault-tolerance.mdx ### 📊 Changes **2 files changed** (+44 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pipeline/preprocessors/link_map.py` (+1 -0) 📝 `src/oss/langgraph/fault-tolerance.mdx` (+43 -0) </details> ### 📄 Description ## Description Documents the new fluent `StateGraph.set_node_defaults()` builder method shipped in <https://github.com/langchain-ai/langgraph/pull/7747>. Adds a new *Graph-wide defaults* section to the fault-tolerance page covering supported kwargs (`retry_policy`, `timeout`, `cache_policy`, `error_handler`), the override precedence rule, and which defaults apply to error-handler nodes. Also registers `set_node_defaults` in the API link map. ## Release Note Document `StateGraph.set_node_defaults()` for configuring graph-wide retry, timeout, cache, and error-handler defaults. ## Test Plan - [ ] Verify the new *Graph-wide defaults* section renders correctly on the LangGraph fault-tolerance page and that the `@[\`set_node_defaults\`]` link resolves to the published API reference once the langgraph release containing #7747 is live. _Opened collaboratively by Quanzheng Long and open-swe._ --- <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-06-05 18:53:47 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3981