Avatar for the langchain-ai user
langchain-ai
langchain
BlogDocsChangelog

fix(core): prevent output corruption in RunnableRetry.batch when partial retries succeed

#35683
Comparing
giulio-leone:fix/runnable-retry-batch-corruption-35475-v2
(
a66a9aa
) with
master
(
6f27c2b
)
CodSpeed Performance Gauge
+1%
Untouched
13
Skipped
23

Benchmarks

36 total
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
526.3 ms*509.9 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
521.5 ms*506.3 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
182.8 ms*178.8 ms
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
571.8 ms*559.7 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
639.9 ms*628.3 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
196.2 ms*192.7 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
329.8 ms*324.8 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+1%
475.3 ms*468.7 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
+1%
25.8 ms*25.5 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+1%
274.5 ms*272.7 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+1%
668.1 ms*664.3 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
556 ms*556.4 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
-1%
569.9 ms*573.5 ms
test_create_chat_prompt_init_time
libs/partners/prompty/tests/unit_tests/test_standard.py
Skipped
311.9 µs*
test_qdrant_vectorstore_init_time
libs/partners/qdrant/tests/unit_tests/test_standard.py
Skipped
225 ms*
test_init_time
libs/partners/anthropic/tests/unit_tests/test_standard.py::TestAnthropicBedrockStandard
Skipped
1.1 ms*
test_init_time
libs/partners/groq/tests/unit_tests/test_standard.py::TestGroqStandard
Skipped
1.6 s*
test_init_time
libs/partners/openrouter/tests/unit_tests/test_standard.py::TestChatOpenRouterUnit
Skipped
1.5 s*
test_init_time
libs/partners/fireworks/tests/unit_tests/test_standard.py::TestFireworksStandard
Skipped
6.6 s*
test_init_time
libs/partners/perplexity/tests/unit_tests/test_chat_models_standard.py::TestPerplexityStandard
Skipped
1.7 s*
test_init_time
libs/partners/deepseek/tests/unit_tests/test_chat_models.py::TestChatDeepSeekUnit
Skipped
1.6 s*
test_init_time
libs/partners/mistralai/tests/unit_tests/test_standard.py::TestMistralStandard
Skipped
9.2 ms*
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIResponses
Skipped
821.1 ms*
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_responses_standard.py::TestOpenAIResponses
Skipped
12.2 ms*
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIStandard
Skipped
1.1 s*

Commits

Click on a commit to change the comparison range
Base
master
6f27c2b
+4.94%
fix(core): prevent output corruption in RunnableRetry.batch when partial retries succeed
bdf1cc1
6 days ago
by giulio-leone
+24.66%
fix: add strict=True to zip() calls to satisfy ruff B905
231ad03
6 days ago
by giulio-leone
-28.15%
fix: drop zip(strict=True) for Python 3.9 compatibility
a66a9aa
1 day ago
by giulio-leone
© 2026 CodSpeed Technology
Home Terms Privacy Docs