Skip to content

Add temporal schedule list-matching-times command …#1047

Open
NasitSony wants to merge 3 commits into
temporalio:mainfrom
NasitSony:feature/schedule-list-matching-times
Open

Add temporal schedule list-matching-times command …#1047
NasitSony wants to merge 3 commits into
temporalio:mainfrom
NasitSony:feature/schedule-list-matching-times

Conversation

@NasitSony
Copy link
Copy Markdown

@NasitSony NasitSony commented May 22, 2026

Implements the ListScheduleMatchingTimes RPC in the CLI.
Allows users to preview when a schedule will fire within
a given time range without executing workflows.

What was changed

Added temporal schedule list-matching-times command implementing the ListScheduleMatchingTimes RPC. Added functional tests for both text and JSON output. Fixed JSON output to use PrintStructured for proper array format.

Why?

The Temporal CLI was missing a command for the ListScheduleMatchingTimes RPC. Users can now preview when a schedule would fire within a given time range without executing workflows.

Checklist

  1. Closes feat: add schedule list-matching-times command #1030
  2. How was this tested: Functional tests added for text and JSON output. Full test suite passes (go test ./...).
  3. Any docs updates needed? No — command description is auto-generated from YAML.

…tScheduleMatchingTimes RPC in the CLI.

Allows users to preview when a schedule will fire within
a given time range without executing workflows.                                                                                                                                                                       Closes temporalio#1030
@NasitSony NasitSony requested a review from a team as a code owner May 22, 2026 23:56
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 22, 2026

CLA assistant check
All committers have signed the CLA.

@chaptersix
Copy link
Copy Markdown
Contributor

@NasitSony thank you for your contribution! Could to add a functional test for this command? 1 with the human readable output and 1 with json?

Also, there's a new PR template, could you follow it?

@NasitSony
Copy link
Copy Markdown
Author

@chaptersix Thanks for the feedback! I'll add the functional tests and update to the new PR template.

@NasitSony
Copy link
Copy Markdown
Author

@chaptersix Added functional tests for text and JSON output, and fixed JSON output to use PrintStructured for proper array format. Also updated the PR description to follow the new template. Ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add schedule list-matching-times command

3 participants