cschleiden / go-workflows

Embedded durable workflows for Golang similar to DTFx/Cadence/Temporal
https://cschleiden.github.io/go-workflows/
MIT License
229 stars 49 forks source link

Do not panic at runtime for pending futures #307

Closed cschleiden closed 9 months ago

cschleiden commented 9 months ago

With this change, when there are pending futures at the end of a workflow, we'll transition that workflow to an error state. If the workflow is executed during a go test test run, it will panic to make it easier to identify problems during development.