﻿# LangGraph narrows runner stop checks without changing failure handling

Check early failure propagation and handled errors alongside fan-out timing; fewer future inspections must retain the runner’s existing stop decisions.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-agent-langgraph-failed-futures-stop-check/
Language: en

LangGraph 1.2.22 includes a runner optimization that checks failed futures when deciding whether to stop, instead of repeatedly examining every completed future. The November 14 release makes large synchronous fan-outs worth retesting. The implementation discussion explicitly distinguishes this workload from asynchronous futures and subgraph-heavy work.

## Success-heavy fan-out exposes repeated checking

Use a graph that launches many short, deterministic branches and collects their results. Keep the branch computation deliberately modest so orchestration remains visible. Increase fan-out while retaining a fixed output per branch. A workload with long model calls answers a different question because useful computation dominates. Record synchronous and asynchronous execution separately rather than merging their observations into one aggregate acceleration number.

## A failure should wake the right observer

Arrange one branch to fail before several slower siblings finish. Assert when the caller learns about the failure and which sibling results remain available. Compare the error type and execution status across versions. This is our proposed application-level acceptance case, not an additional guarantee from the release note. It checks the reason the runner inspects futures at all, so performance cannot obscure a regression in failure visibility.

## Handled failures need their own case

A graph may intentionally route a failed task through an error handler. Include that configuration and verify that the handler’s ownership of the failure remains effective. A raw exception count cannot decide whether the graph should stop. Check the accepted fallback output and the parent’s final status together. The result distinguishes correct recovery from a runner that stops merely because an error once existed in a future.

## Describe the affected execution shape

Report branch count, future implementation, checkpointer and failure pattern with any measurement. The PR’s own examples show why a local improvement cannot stand for every graph. An application can adopt the release for correctness and still see little timing change. A defensible conclusion identifies whether repeated stop checks were material for its fan-out, while keeping the observed failure decisions and returned outputs unchanged.

## Sources

- [LangGraph 1.2.22 release notes](https://github.com/langchain-ai/langgraph/releases/tag/1.2.22)
- [LangGraph implementation and review #9630](https://github.com/langchain-ai/langgraph/pull/9630)

## Related reading

- [Flyte 2 traces: a successful helper checkpoint is different from a failed external attempt](/journal/fg2-flyte-two-trace-success-checkpoint-replay-boundary/)
- [Retrying generation POSTs: idempotency must be explicit](/journal/provider-post-retry-idempotency-ledger/)
