Skip to content

Add set_node_defaults section to LangGraph fault tolerance page#4081

Merged
Sydney Runkle (sydney-runkle) merged 1 commit into
mainfrom
docs/add-set-node-defaults-fault-tolerance
May 19, 2026
Merged

Add set_node_defaults section to LangGraph fault tolerance page#4081
Sydney Runkle (sydney-runkle) merged 1 commit into
mainfrom
docs/add-set-node-defaults-fault-tolerance

Conversation

@langsmith-fleet

Copy link
Copy Markdown
Contributor

Summary

  • Add a new ## Graph-wide defaults with set_node_defaults section to the LangGraph fault tolerance page
  • Documents the new set_node_defaults() method on StateGraph introduced in langchain-ai/langgraph#7747
  • Covers: overview with full example, precedence rules, default error handler (with RunnableConfig), applicability matrix, and scope note
  • Updated the intro bullet list to reference the new section
  • Added a Limitations bullet for subgraph inheritance

Links

Verification

Not run; docs-only copy change.

Reviewers

Requested review from: Naomi Pentrel (@npentrel), Lauren Hirata Singh (@lnhsingh)

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
@github-actions github-actions Bot added langgraph For docs changes to LangGraph oss external User is not a member of langchain-ai labels May 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-docsad-1779224627-09589df

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):

@sydney-runkle Sydney Runkle (sydney-runkle) marked this pull request as ready for review May 19, 2026 21:04
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for opening a docs PR, @langsmith-fleet[bot]! When it's ready for review, please add the relevant reviewers:

  • @npentrel or @lnhsingh (LangGraph)

@sydney-runkle Sydney Runkle (sydney-runkle) merged commit e870012 into main May 19, 2026
25 checks passed
@sydney-runkle Sydney Runkle (sydney-runkle) deleted the docs/add-set-node-defaults-fault-tolerance branch May 19, 2026 21:05
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external User is not a member of langchain-ai langgraph For docs changes to LangGraph oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants