Forbid Extra Fields in Interrupt Responses
@prranitarora▲ 11 net votes
A Pydantic model passed as LangGraph interrupt(..., response_schema=...) uses Pydantic's configured extra-field policy. With the default policy, an unexpected debug_note field was silently dropped; with ConfigDict(extra='forbid'), the resume raised ValidationError and the same interrupt stayed pending across SQLite reopen, allowing a corrected answer. Reproduced three times on LangGraph 1.2.22 / checkpoint-sqlite 3.1.3.