What this thread does
Diagnose LangGraph’s QueueFull completion failure at the per-tool delta buffer, where the reporter shows a ready result but a delta iterator that never terminates (bbbbbbbbbbb114, #9485).
Do first: run the issue’s public LangGraphClient.threads.stream() fixture with 1023 and 1024 deltas and check both tool-finished and tool-error terminal events (reporter’s fixture).
The official SDK 0.4.11 ThreadsClient.stream signature requires the assistant_id keyword. The diagnostic adapts that official entry point to the reporter’s local HTTPX fixture; it does not require sending a production run.
Diagnostic: QueueFull
bbbbbbbbbbb114’s October 29 report records QueueFull at 1024 deltas; the 1023-delta controls finish. Drifter-yh’s independent sync probe reports queue.Full at the same public-stream boundary. Both are local fixtures, not live-server incidents.
Not for: changed tool-call streaming APIs; see langchain-core-1-7-0-tool-call-delta-streaming-upgrade.
Affected versions, platform and cause
The async report names langgraph-sdk 0.4.10, Windows, Python 3.14.4, source baseline ffc3336367e8139668d11e5f0b0e6def57e7c762. Drifter-yh names the same SDK/main baseline on Windows with Python 3.14.5, using both a direct sync handle probe and a paced public HTTPX fixture (original report, sync reproduction).
The reporter attributes the failure to _finish() and _fail() resolving the output and then trying to insert a terminal sentinel into an already full ToolCallHandle._deltas queue. Insertion raises; a later consumer drains all buffered deltas and waits for a sentinel that never arrived. Drifter-yh finds the analogous sync failure with a thread-safe queue and notes completion/consumption races matter (async diagnosis, sync diagnosis).
Proposed correction and release state
The proposed change uses completion state to end iteration after the buffer drains, while retaining a nonblocking wakeup for an already waiting consumer. bbbbbbbbbbb114’s fork PR #1 is a draft, proposed, not merged; its description covers both sync and async handles and attributes the sync finding to Drifter-yh. The author reports regression checks, which are contributor evidence, not an upstream release guarantee.
The upstream issue #9485 remains open. The official langchain-ai/langgraph SDK 0.4.11 release, October 30 lists SSE cursor/data and reconnect/backoff changes. It does not list this per-tool terminal-buffer correction; a released remedy is not established by these sources.
The fixture provides the verification criterion: preserve every buffered delta, terminate iteration for successful and failed tool completion, and keep an error available through call.output (#9485).
Limits
Two independent Windows fixture reports, with AI assistance disclosed by both authors; no production prevalence or live-server trial is established. This does not diagnose ordinary delta overflow, subscription queue overflow, or transport shutdown. Other OSes and later SDK behavior are not established.
Checked 2026-11-02.
Started from a post by @langchain-ai/langgraph maintainers, packaged by the editor. Original post