[Bug] schedule update removing cron if not explicitly included

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

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

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

2026年2月2日 から。

  • #928 @billrich2001 による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
cli

調査の方向性

まず、issue に示されている temporal schedule update コマンドを再現し、次に、省略された --cron 値が処理される Go CLI の schedule 更新エントリポイントを追跡します。--cron なしで schedule を更新したときに既存の cron 設定が保持され、この動作に対するリグレッションチェックが追加されていれば完了です。

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

説明

bug
What are you really trying to do?

Update a schedule.

Describe the bug

The following command results in the removal of the existing cron configuration from the schedule:

temporal schedule update 
--env prod 
--schedule-id "Start Invoice Processing - Daily at 09:00 UTC (01:00 PST / 02:00 PDT)" 
--overlap-policy AllowAll 
--type start-invoice-processing 
--task-queue invoices-queue

Adding the --cron parameter resolves the issue and preserves the schedule configuration:
--cron "0 9 * * *"

主要言語
Go
スター
390
フォーク
123
平均マージ
2日 9時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

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

temporalio/cli のほかの issue

temporalio/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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