- `CreateHistoryStartWorkflowRequest` will now deep copy the `request`
structure when `LastCompletionResult` or `ContinuedFailure` are set.
To avoid sending those payloads twice,
`CreateHistoryStartWorkflowRequest` unsets those fields on the internal
forwarded request struct. This is done by directly mutating the
`request` parameter. When the workflow handler calls into
`CreateHistoryStartWorkflowRequest` and fails, the internal retry
handler will retry the request, but the fields have already been unset
on the reused `request` object. Subsequent retries from the internal
handler will therefore be missing these fields without additional
consideration.
- New test
- A minimal performance difference because of the deep copy.
- No
- No