[Bug] Python: replayed Local Activity timeout causes NDE (TimeoutError not wrapped in ActivityError)
メンテナーはふだん 1 日以内に返信
@mjameswh がすでに取り組んでいます。
2026年12月2日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- Python
- スター
- 1.3k
- フォーク
- 305
- 平均マージ
- 3日 23時間
- マージ済み PR(30日)
- 44
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
temporalio/sdk-python のほかの issue
-
[Bug] Catching the ValueError from upsert_search_attributes (naive datetime) still leaves a workflow stuck retrying its task対応中かも @VegetarianOrc が今日担当しました。 オープンsdk-python
temporalio/sdk-python#2200 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] workflow_streams: subscribe() raises RPCError when a publish signal lands during the continue-as-new workflow task対応中かも @feiiiiii5 が 4 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
temporalio/sdk-python#2170 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] Deadlock interruption can leak CPython's import lock and freeze the worker (still on Python 3.13/3.14)対応中かも @tconley1428 が 21 日前に担当しました。 オープンsdk-python
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
temporalio/sdk-python#2115 ·
メンテナーはふだん 1 日以内に返信
-
Support custom peer identity verification while retaining standard TLS authentication対応中かも @dzsquared が 23 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
temporalio/sdk-python#2106 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Cloud CI Skips Nexus Tests再び着手できるかも @tconley1428 が 114 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
temporalio/sdk-python#1704 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
temporalio/sdk-python の issue をすべて見る
似ている issue
-
新功能建议
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
Mai-with-u/MaiBot#2583 ·
メンテナーはふだん 1 日以内に返信
-
area-integrations
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
[New]: JambaオープンMatch Play
難易度 1/5 1時間未満 初心者へのやさしさ 63/100
privacyguides/verified-apps#9224 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: The docs check fails to install the Mintlify CLI when it runs right after a `mint` releaseオープンchore upstream
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
MemMachine/MemMachine#2032 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100