Skip to content

fix: honor checkpointer.serde.allowed_msgpack_modules in langgraph.json (#1500)#814

Open
radu-mocanu wants to merge 1 commit intomainfrom
fix/issue-1500-msgpack-createtask
Open

fix: honor checkpointer.serde.allowed_msgpack_modules in langgraph.json (#1500)#814
radu-mocanu wants to merge 1 commit intomainfrom
fix/issue-1500-msgpack-createtask

Conversation

@radu-mocanu
Copy link
Copy Markdown
Collaborator

@radu-mocanu radu-mocanu commented Apr 28, 2026

Summary

  • read checkpointer.serde.allowed_msgpack_modules from langgraph.json and apply it to the saver's serializer
  • union the user's list with the SDK's first-party interrupt models so checkpoint payloads like CreateTask and InvokeProcess keep round-tripping silently
  • behavior is opt-in: with no serde block, langgraph's default permissive serde is preserved
  • adds the samples/checkpoint-allowlist sample and the testcases/checkpoint-allowlist integration test that asserts no Deserializing unregistered type warning fires when the block is set

Why

Fixes UiPath/uipath-python#1500

users couldn't silence the Deserializing unregistered type ...CreateTask warning that fires on every HITL --resume because uipath-langchain owns saver construction and didn't expose any hook. this PR matches the public schema documented for the langgraph CLI so users can declare their custom types alongside ours.

@radu-mocanu radu-mocanu force-pushed the fix/issue-1500-msgpack-createtask branch from a6fc37e to 7188224 Compare April 28, 2026 11:49
@radu-mocanu radu-mocanu force-pushed the fix/issue-1500-msgpack-createtask branch from 7188224 to 787950f Compare April 29, 2026 10:40
@radu-mocanu radu-mocanu changed the title fix: register sdk interrupt models with msgpack allowlist (#1500) fix: honor checkpointer.serde.allowed_msgpack_modules in langgraph.json (#1500) Apr 29, 2026
@radu-mocanu radu-mocanu force-pushed the fix/issue-1500-msgpack-createtask branch from 787950f to 71e8d51 Compare April 29, 2026 10:50
Copy link
Copy Markdown
Collaborator Author

@radu-mocanu radu-mocanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Langgraph feature request: langchain-ai/langgraph#7695

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DX] GAP-07: SDK's own CreateTask type not registered with msgpack, produces warning on every resume

2 participants