You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I’d like to request more end-to-end (E2E) tests to validate how DaprWorkflowClient retrieves the expected WorkflowRuntimeStatus from Dapr when running a workflow instance. Clear examples would help ensure users understand the expected status transitions in different scenarios.
For example, it would be helpful to see a test demonstrating how DaprWorkflowClient interacts with workflow states:
constworkflowClient=newDaprWorkflowClient();awaitworkflowClient.terminateWorkflow(id,"some reason for termination");conststate=awaitgetWorkflowState(id,false);expect(state?.runtimeStatus).toEqual(WorkflowRuntimeStatus.TERMINATED);
Request for Enhancement:
Could additional E2E tests be added to cover different workflow scenarios and validate WorkflowRuntimeStatus? These tests would clarify when specific statuses are triggered and improve developer confidence in using the SDK.
WorkflowRuntimeStatus Values to Cover:
RUNNING – The workflow is actively executing.
COMPLETED – The workflow has finished successfully.
FAILED – The workflow encountered an error and failed.
TERMINATED – The workflow was forcefully stopped before completion.
CONTINUED_AS_NEW – The workflow instance has completed but started a new instance as a continuation.
PENDING – The workflow is scheduled but has not started yet.
SUSPENDED – The workflow is paused and waiting to be resumed.
These tests would help ensure that DaprWorkflowClient correctly reflects workflow runtime statuses under different conditions.
Thanks for your consideration! 🚀
The text was updated successfully, but these errors were encountered:
WhitWaldo
changed the title
Request for Additional E2E Tests on WorkflowRuntimeStatus in Dapr JS SDK
Richer E2E Tests demonstrating WorkflowRuntimeStatus
Feb 28, 2025
Description:
I’d like to request more end-to-end (E2E) tests to validate how
DaprWorkflowClient
retrieves the expectedWorkflowRuntimeStatus
from Dapr when running a workflow instance. Clear examples would help ensure users understand the expected status transitions in different scenarios.For example, it would be helpful to see a test demonstrating how
DaprWorkflowClient
interacts with workflow states:Request for Enhancement:
Could additional E2E tests be added to cover different workflow scenarios and validate
WorkflowRuntimeStatus
? These tests would clarify when specific statuses are triggered and improve developer confidence in using the SDK.WorkflowRuntimeStatus Values to Cover:
These tests would help ensure that
DaprWorkflowClient
correctly reflects workflow runtime statuses under different conditions.Thanks for your consideration! 🚀
The text was updated successfully, but these errors were encountered: