[Bug] Python: replayed Local Activity timeout causes NDE (TimeoutError not wrapped in ActivityError)
Los mantenedores suelen responder en 1 día
@mjameswh ya está trabajando en esto.
Desde el 2/12/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Description:
The workflow runs a Local Activity that times out (start_to_close_timeout, retries exhausted), catches ActivityError, and calls workflow.sleep() in the except.
try:
# Attempt 1 times out; its 10s backoff is over the 5s threshold, so the worker records a
# failure marker and a backoff timer. Attempt 2 times out and the error reaches this code.
await workflow.execute_local_activity(
slow_check,
start_to_close_timeout=timedelta(seconds=5),
retry_policy=RetryPolicy(initial_interval=timedelta(seconds=10), maximum_attempts=2),
local_retry_threshold=timedelta(seconds=5),
)
except ActivityError:
await workflow.sleep(timedelta(seconds=1), summary="sleep in except ActivityError")
# Fails this workflow task so the worker evicts the run; the retry replays the whole history.
raise RuntimeError("injected bug")
After the run is evicted and its history is replayed, the worker fails with [TMPRL1100]
Reproduced on version 1.34.0 and 1.37.0.
I've attached the reproduction.
_la_timeout_nde.zip
- Lenguaje dominante
- Python
- Estrellas
- 1.3k
- Forks
- 305
- Merge medio
- 3 d 23 h
- PR fusionados (30 d)
- 44
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de temporalio/sdk-python
-
[Bug] Catching the ValueError from upsert_search_attributes (naive datetime) still leaves a workflow stuck retrying its taskPosiblemente ocupada @VegetarianOrc la tomó hoy. Abiertosdk-python
temporalio/sdk-python#2200 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug] workflow_streams: subscribe() raises RPCError when a publish signal lands during the continue-as-new workflow taskPosiblemente ocupada @feiiiiii5 la tomó hace 4 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
temporalio/sdk-python#2170 ·
Los mantenedores suelen responder en 1 día
-
[Bug] Deadlock interruption can leak CPython's import lock and freeze the worker (still on Python 3.13/3.14)Posiblemente ocupada @tconley1428 la tomó hace 21 días. Abiertosdk-python
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
temporalio/sdk-python#2115 ·
Los mantenedores suelen responder en 1 día
-
Support custom peer identity verification while retaining standard TLS authenticationPosiblemente ocupada @dzsquared la tomó hace 23 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
temporalio/sdk-python#2106 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Cloud CI Skips Nexus TestsQuizá libre de nuevo @tconley1428 la tomó hace 114 días y no hay ningún pull request abierto. Abierto
temporalio/sdk-python#1704 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de temporalio/sdk-python
Issues similares
-
新功能建议
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Mai-with-u/MaiBot#2583 ·
Los mantenedores suelen responder en 1 día
-
area-integrations
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
[New]: JambaAbiertoMatch Play
Dificultad 1/5 Menos de una hora Aptitud para principiantes 63/100
privacyguides/verified-apps#9224 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: The docs check fails to install the Mintlify CLI when it runs right after a `mint` releaseAbiertochore upstream
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
MemMachine/MemMachine#2032 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100