Added workflow_failure_exception_types to Worker to allow configuring failure exception types at a worker level
Added failure_exception_types to @workflow.defn to allow configuring failure exception types at a workflow level
Updated bridge code to include worker-level and workflow-type-level non-determinism-as-fail based on the presence of temporalio.workflow.NondeterminismError (or super type) in worker/workflow options
Documented in README, API doc, and marked experimental
What was changed
workflow_failure_exception_types
toWorker
to allow configuring failure exception types at a worker levelfailure_exception_types
to@workflow.defn
to allow configuring failure exception types at a workflow leveltemporalio.workflow.NondeterminismError
(or super type) in worker/workflow optionsIt's no coincidence this mimics https://github.com/temporalio/sdk-dotnet/pull/205. Also see the feature issue at https://github.com/temporalio/features/issues/322.
Checklist