From d30103fee6b03e2322dc13d590ef43661692b7c9 Mon Sep 17 00:00:00 2001 From: Peter Ibekwe <109177538+peibekwe@users.noreply.github.com> Date: Fri, 3 Apr 2026 15:58:25 -0700 Subject: [PATCH] .NET: Fix input signal issue during checkpoint restoration (#5085) * Improve workflow unit tests * Update test name prefix for clarity. * Update tests to surface any errors. * fix check-point restore-time race in off-thread workflow event stream --- .../Execution/StreamingRunEventStream.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StreamingRunEventStream.cs b/dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StreamingRunEventStream.cs index 4eb1290961..ffcc61dad4 100644 --- a/dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StreamingRunEventStream.cs +++ b/dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StreamingRunEventStream.cs @@ -287,10 +287,6 @@ internal sealed class StreamingRunEventStream : IRunEventStream { // Discard each event (including InternalCompletionSignals) } - - // After clearing, signal the run loop to continue if needed - // The run loop will send a new completion signal when it finishes processing from the restored state - this.SignalInput(); } public async ValueTask StopAsync()