From ec0aef3965ecac4540eb4eb985503baa87724195 Mon Sep 17 00:00:00 2001 From: Sophia Tevosyan Date: Wed, 5 Aug 2026 14:19:01 -0700 Subject: [PATCH] added the new constructor --- src/DurableTask.Core/History/ExecutionRewoundEvent.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/DurableTask.Core/History/ExecutionRewoundEvent.cs b/src/DurableTask.Core/History/ExecutionRewoundEvent.cs index c838e9eb2..4a9338156 100644 --- a/src/DurableTask.Core/History/ExecutionRewoundEvent.cs +++ b/src/DurableTask.Core/History/ExecutionRewoundEvent.cs @@ -39,6 +39,12 @@ public ExecutionRewoundEvent(int eventId, string? reason) this.Reason = reason; } + // Private ctor for JSON deserialization (required by some storage providers and out-of-proc executors) + ExecutionRewoundEvent() + : base(-1) + { + } + /// /// Gets the event type ///