fix(sdk): defer stream join until lazy thread create commits (#2677)
Hydrating an externally-minted thread id that 404s still opened `/stream/events` before `POST /commands` created the row. On langgraph_api's in-mem runtime that join is accepted but dead, so the first run delivered nothing until idle reconnect. Treat missing threads like client-minted ones and start the root pump only after dispatch succeeds.
C
Christian Bromann committed
4c0fd78485e1778234ddb56c7579f8d823946f18
Parent: 3958305
Committed by GitHub <noreply@github.com>
on 8/11/2026, 3:14:42 AM