[Bug] schedule update removing cron if not explicitly included
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 379
- Forks
- 103
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 23
Description
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 * * *"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the temporal schedule update command shown in the issue, then trace the schedule-update entry point in the Go CLI where an omitted --cron value is handled. Done means updating a schedule without --cron preserves its existing cron configuration, with a regression check for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100