Skip to content

docs: add custom checkpointer implementation guide with delta channel support#4163

Open
Sydney Runkle (sydney-runkle) wants to merge 1 commit into
mainfrom
sr/custom-checkpointer-delta
Open

docs: add custom checkpointer implementation guide with delta channel support#4163
Sydney Runkle (sydney-runkle) wants to merge 1 commit into
mainfrom
sr/custom-checkpointer-delta

Conversation

@sydney-runkle
Copy link
Copy Markdown
Collaborator

Summary

  • Adds src/oss/python/integrations/checkpointers/build-custom.mdx — a new implementation guide covering the full BaseCheckpointSaver contract, row key / index design, serialization requirements, and a dedicated delta channel support section
  • The delta channel section covers: the get_delta_channel_history default walk (and why get_tuple(by-id) must be correct), a performance-override pattern, and pruning / copy-thread caveats
  • Updates checkpointers/index.mdx and langsmith/custom-checkpointer.mdx to link to the new guide
  • Expands the checkpointers nav entry in docs.json to a sub-group with both the index and the new build page

Motivation

Surfaced from a customer support case: a custom Bigtable checkpointer was silently producing empty delta channel state. Root cause was a pre-existing get_tuple(by-id) bug that delta channels promoted from "only hit during time travel" to "hit on every graph load." No docs existed explaining what the get_tuple specific-id path is required for, or what delta channels need from a checkpointer.

Test plan

  • Review prose for accuracy against langgraph.checkpoint.base.BaseCheckpointSaver
  • Verify nav renders correctly in Mintlify preview
  • Confirm links to /oss/python/integrations/checkpointers/build-custom, /langsmith/custom-checkpointer, and /oss/langgraph/persistence resolve

… support

Adds src/oss/python/integrations/checkpointers/build-custom.mdx covering
the full BaseCheckpointSaver contract, row key design, serialization
requirements, and a dedicated section on DeltaChannel support (what
get_delta_channel_history does, the default walk, a performance override
pattern, and pruning/copy-thread caveats).

Updates the checkpointers integrations index and langsmith/custom-checkpointer
pages to link to the new guide. Adds the page to docs.json navigation as a
sub-group under Checkpointers.
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening a docs PR, Sydney Runkle (@sydney-runkle)! When it's ready for review, please add the relevant reviewers:

  • @katmayb or @fjmorris (LangSmith)
  • @mdrxy (Python integrations)

@github-actions github-actions Bot added langchain For docs changes to LangChain langsmith For docs changes to LangSmith oss python For content related to the Python version of LangChain projects internal labels May 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-srcust-1779804026-9564889

Site preview: https://langchain-5e9cc07a-preview-srcust-1779804026-9564889.mintlify.app

Preview links may take a few minutes to start working while the deployment finishes.

Changed documentation pages (preview deep links):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal langchain For docs changes to LangChain langsmith For docs changes to LangSmith oss python For content related to the Python version of LangChain projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant