LangChain: Cancelled Run Tracing and Quiet Data Fixes

Three linked core changes fix how cancelled and interrupted runs are traced when clients disconnect, while Qdrant, text-splitter, and streaming fixes address silent data loss and event-loop blocking ahead of the 1.4.10 release.

Duration: PT2M29S

Episode overview

This episode is a short developer briefing from LangChain.

It explains recent repository work in plain language.

  • Show: LangChain
  • Published: 2026-11-11T14:02:35Z
  • Audio duration: PT2M29S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, it's Wednesday, November 11th, 2026, and here's your LangChain briefing.

The lead story is reliability of tracing when work gets cancelled. Three linked changes aim to stop disconnected requests from leaving broken or misleading traces.

First, PR 41785 updates the LangChain tracer to send an explicit run status alongside error text, so LangSmith can report deliberate cancels as cancelled and graph interrupts as interrupted, rather than lumping them in as errors. It distinguishes a cancelled error tied to an expected cancellation from graph…

That pairs with two fixes for the same outage pattern, PRs 41788 and 41794. When FastAPI or Starlette cancels a handler after a client disconnect, every await inside the cancel scope keeps raising a cancelled error. Without protection, agent and tool callbacks never reach their terminal event, so the trace just…

Second theme is correctness and efficiency in data paths. PR 41795 fixes Qdrant add texts silently storing nothing when texts arrived as a generator, by generating default IDs per batch instead of exhausting the generator up front. PR 41793 defaults the sentence transformers token splitter to load on CPU, since it…

Finally,…

Nearby episodes from LangChain

  1. Gateway Routing Expands, Python 3.10 Dropped
  2. Agent-to-Agent Protocol and Streaming Reliability Fixes
  3. Router Goes Native, Python 3.10 Dropped
  4. Middleware Stream Fix and Router Push
  5. Safety Boundaries and Stream Reliability
  6. Weekly Recap - Refusals Go Standard as Streaming Gets Faster
  7. M C P Header Fix on Reconnect
  8. Cancellation Cleanup and Input Guardrails