This repo is a repro for dapr/dotnet-sdk#1211.
To run and validate that the code is working correctly, run:
- Open in a dev container in VS Code
- Run
dapr init
- Run
dapr run -f .
to start the app - Run
echo '[ "test1", "hello" ]' | ./scripts/run-workflow.sh
to trigger a workflow and display the output
With the code in the initial state, the above should run correctly and output something similar to the output below:
Refreshing workflow status...
Status: Completed - done
Workflow complete
{
"id": "f837bbf8-f8d6-4efe-91f8-149d286024b3",
"status": "Completed",
"result": [
"uftu1",
"ifmmp"
]
}
To reproduce the issue, comment out the ToList()
call in ProcessingWorkflow.cs
and re-run.
With the ToList()
commented out, the workflow no longer completes.