dhiaayachi / temporal

Temporal service
https://docs.temporal.io
MIT License
0 stars 0 forks source link

Schedules: Make it possible to list buffered executions #259

Open dhiaayachi opened 2 months ago

dhiaayachi commented 2 months ago

Is your feature request related to a problem? Please describe.

A user creates a schedules and sets policy.overlap to ScheduleOverlapPolicy.BUFFER_ALL. At some point in time, user now want to "see" the list of buffered executions (ie. executions that have been queued to be executed, one at a time, after the current workflow execution completes).

As it is now, buffered executions appears neither in info.futureActionTimes, info.recentActions nor info.runningWorkflows, and no other field hints that some executions are currently buffered.

Describe the solution you'd like

dhiaayachi commented 1 month ago

Thank you for your feature request!

This is a great suggestion that would enhance the visibility of buffered executions for users.

While we don't have this feature implemented currently, you could work around it by:

Please note that these workarounds might not be as robust or efficient as a native feature. We're committed to exploring and implementing features like this in the future.

dhiaayachi commented 1 month ago

Thank you for your feature request! We understand the need for greater visibility into buffered executions.

Currently, there isn't a direct way to view buffered executions using the Temporal APIs.

To address this, you can try the following workaround:

We appreciate your suggestion and will consider it for future development.