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

Option retry_policy is dismissed on start_workflow.

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

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
ruby
領域
api

調査の方向性

lib/temporal/client.rb の43行目付近を調査し、start_workflow の実行オプションがどのように構築されているかを追跡してください。README に記載されている retry_policy が start_workflow_execution に渡されること、およびワークフローの開始時にそのオプションが機能することを確認してください。

索引モデルが issue の本文から書いたものです。

説明

I was trying to set a retry policy by passing a retry_policy hash in the options hash when calling start_workflow but it didn't work.
I went digging in the code and realized it is indeed omitted: even if the execution options are built with the policy, they are not used on the underlying call to start_workflow_execution at https://github.com/coinbase/temporal-ruby/blob/master/lib/temporal/client.rb#L43.

The only way I was able to actually set a policy was by calling retry_policy in an activity, but that leaves the caller powerless on setting a retry policy, and it seems it doesn't apply to workflows either.

Is this a regression? Was it always a bug? The readme states you can pass this option.

主要言語
Ruby
スター
288
フォーク
113
平均マージ
10日 15時間
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

coinbase/temporal-ruby のほかの issue

coinbase/temporal-ruby の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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