temporal
temporal copied to clipboard
Carry over signal to retry execution if original was created via SignalWithStart
If client creates execution using SignalWithStarts and defines workflow retry policy. If original execution created fails, the retry does not include the signal thats also sent via SignalWithStart exec creation. It currently only includes the workflow inputs of the initially created exec.
It also doesn't include any other signals received during previous attempt of a workflow. I think workflows that need to preserve signals received during their execution shouldn't use retries.
We could add an option to RetryOptions of a workflow to copy all signals from the previous attempts. But I'm not convinced that this is a good pattern.