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

`Async.function`/`Async.procedure` with a Kotlin method reference spawns a WorkflowThread per call instead of inlining, as it does the Java equivalent

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

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

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

2026年8月11日 から。

評価

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

説明

Expected Behavior

A Kotlin method reference to a stub is inlined like the Java equivalent, and shouldn't consume a workflow thread per call.

Actual Behavior

When a workflow uses Async.function / Async.procedure with a Kotlin method reference to an
activity (or child workflow) stub, the SDK does not run the call inline. It spawns one
WorkflowThread per call. A wide fan-out therefore holds one workflow-pool thread per in-flight
activity

The equivalent Java code is inlined and uses a single workflow thread.

Steps to Reproduce the Problem

see the attached code

code.zip

Specifications

  • Version: 1.33.0
主要言語
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 を短くまとめたダイジェスト。