Closed harsh-stripe closed 7 months ago
@DeRauk - Addressed your feedback to return the count
value directly instead of as a wrapped object.
@DeRauk - it looks like the GitHub actions for this project sets up a temporal-server instance which does not use advanced visibility.
Ultimately, I think it might just be worth removing the example spec for count_workflow_executions
since the spec relies on a visibility backend store, and it is also reliant on timing since the data push to the visibility store happens async. The spec would've been nice to have, but I don't believe it's critical, so I've removed it.
Thank you!
Summary
This change exposes a
count_workflow_executions
method on the Temporal client so that users can invoke it using code such as:Test Plan
Unit test: