From 2a2b935e9d25f22829cf8a3852b0d423fb271aec Mon Sep 17 00:00:00 2001 From: Sophia Tevosyan Date: Thu, 13 Nov 2025 11:06:35 -0800 Subject: [PATCH] first commit --- src/DurableTask.Core/TaskOrchestrationDispatcher.cs | 6 ++++++ 1 file changed, 6 insertions(+) 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();