Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Timers are still not canceled if the condition is resolved

オープン
#3,012 コメント 1 件 リアクション 1 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@maciejdudko がすでに取り組んでいます。

2026年8月25日 から。

評価

この issue はまだ評価されていません。

説明

Expected Behavior

When an await with a timer resolves via the condition, the timer should be canceled.

Actual Behavior

The timer is not canceled and leaks. The workflow history is confusing.

This was already fixed behind a flag in PR https://github.com/temporalio/sdk-java/pull/2799 but the flag was never subsequently enabled by switching to tryUseSdkFlag.:

https://github.com/temporalio/sdk-java/blob/7cf35351b27a3a7af17b4fadd4d281893a96580f/temporal-sdk/src/main/java/io/temporal/internal/sync/SyncWorkflowContext.java#L1330-L1333

Also related to this is: a timer is created even if the condition is immediately satisfied at call time. See this comment: https://github.com/temporalio/sdk-java/issues/2312#issuecomment-2559296304

主要言語
Java
スター
434
フォーク
252
平均マージ
6日 5時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temporalio/sdk-java のほかの issue

temporalio/sdk-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。