Go has a worker.Options.WorkflowPanicPolicy which defaults to BlockWorkflow but you can set it to FailWorkflow. Not sure we need that exact terminology, but we should have a worker option that automatically promotes an activation completion failure to a workflow failure.
I would say lang could do this themselves, but this should probably also include core-level task failures such as non-determinism failures.
Describe the solution you'd like
Go has a
worker.Options.WorkflowPanicPolicy
which defaults toBlockWorkflow
but you can set it toFailWorkflow
. Not sure we need that exact terminology, but we should have a worker option that automatically promotes an activation completion failure to a workflow failure.I would say lang could do this themselves, but this should probably also include core-level task failures such as non-determinism failures.