fix(agent-team): register QuestionSet with the langgraph checkpoint serializer #30
No reviewers
Labels
No labels
app
bug
ci
compliance
content
dependencies
docs
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
infra
invalid
javascript
needs-triage
python
question
tests
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: adam/orchestrator#30
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/agent-team-msgpack-questionset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Silences (by properly allowlisting, not muting) the LangGraph msgpack warning that fires on every checkpoint load: "Deserializing unregistered type agent_team.transport.base.QuestionSet … will be blocked in a future version." Left unfixed, a future LangGraph would block it and break durable resume.
Change (
graph.py)build_checkpoint_serde()→JsonPlusSerializer(allowed_msgpack_modules=[("agent_team.transport.base","QuestionSet")])(the explicit-allow path the warning recommends; notLANGGRAPH_STRICT_MSGPACK, no log silencing).build_sqlite_checkpointerto open its own connection and constructSqliteSaver(conn, serde=serde)(thefrom_conn_stringhelper has no seam to inject a serde), preserving the existing@contextmanagercontract.Verification
ruffclean;pytest(agent-team) 963 passed (+3: serde allowlist, serde round-trip no-warning, end-to-end SqliteSaver round-trip no-warning).Version note
The build agent validated against the Mac's local langgraph 1.1.10; the box /
requirements.txtpin 1.2.5 (and Dependabot #24 proposes 1.2.6). TheJsonPlusSerializer(allowed_msgpack_modules=...)API is stable across these — CIsubproject-testsruns on the pinned 1.2.5, so merge only on green there.