If workflow is created and started with retry policy defined retry policy will be recorded in history and will be respected for the first run.
But if this workflow is using NewContinueAsNewError with the same context, in subsequent runs retry policy will NOT be propagated and in case of timeouts entire workflow will never be retried. Also retry policy doesn’t show in history of ContinueAsNew runs.
Does retry policy need to be explicitly set on context for each call to NewContinueAsNewError or is this a bug?