diff --git a/src/DurableTask.Core/TaskOrchestrationDispatcher.cs b/src/DurableTask.Core/TaskOrchestrationDispatcher.cs index b81cbae50..60329654f 100644 --- a/src/DurableTask.Core/TaskOrchestrationDispatcher.cs +++ b/src/DurableTask.Core/TaskOrchestrationDispatcher.cs @@ -1326,6 +1326,12 @@ void ProcessRewindOrchestrationDecision( out List subOrchestrationRewindMessages, out OrchestrationRuntimeState newRuntimeState) { + + /* WARNING!!!: + * If any changes are made to how this method modifies the orchestration's history, then corresponding changes *must* + * be made in the backend implementations that rely on this method for executing a rewind. + */ + HashSet failedTaskIds = new(); subOrchestrationRewindMessages = new();