Add set_node_defaults section to LangGraph fault tolerance page#4081
Merged
Sydney Runkle (sydney-runkle) merged 1 commit intoMay 19, 2026
Merged
Conversation
Document the new set_node_defaults() method on StateGraph that allows configuring graph-wide defaults for retry_policy, error_handler, timeout, and cache_policy. Particularly highlights the error_handler default as the most valuable new capability from PR langchain-ai/langgraph#7747. Includes: - Overview section with full example - Precedence rules (per-node overrides defaults) - Default error handler with RunnableConfig example - Applicability matrix showing which defaults apply to handler nodes - Scope note (not inherited by subgraphs) - Updated intro bullets and Limitations section
Sydney Runkle (sydney-runkle)
approved these changes
May 19, 2026
Contributor
|
Mintlify preview branch generated: Site preview: https://langchain-5e9cc07a-preview-docsad-1779224627-09589df.mintlify.app Preview links may take a few minutes to start working while the deployment finishes. Changed documentation pages (preview deep links): |
Contributor
|
Thanks for opening a docs PR, @langsmith-fleet[bot]! When it's ready for review, please add the relevant reviewers:
|
Sydney Runkle (sydney-runkle)
pushed a commit
that referenced
this pull request
May 19, 2026
…4083) ## Summary - Rename the `set_node_defaults` section heading from "Graph-wide defaults with `set_node_defaults`" to "Graph defaults" - Update the anchor link in the intro to match the new heading ## Links - Linear: https://linear.app/langchain/issue/DOC-1112/update-langgraph-fault-tolerance-page-based-on-pr-7747 - Slack: https://langchain.slack.com/archives/C09G1T60QV9/p1779224166104029 - Follow-up to: #4081 ## Verification Not run; docs-only heading change. ## Reviewers Requested review from: @npentrel, @lnhsingh Co-authored-by: Docs Bot <brace@langchain.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
## Graph-wide defaults with set_node_defaultssection to the LangGraph fault tolerance pageset_node_defaults()method onStateGraphintroduced in langchain-ai/langgraph#7747RunnableConfig), applicability matrix, and scope noteLinks
Verification
Not run; docs-only copy change.
Reviewers
Requested review from: Naomi Pentrel (@npentrel), Lauren Hirata Singh (@lnhsingh)