Skip to content

Commit d30103f

Browse files
authored
.NET: Fix input signal issue during checkpoint restoration (microsoft#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
1 parent 55ae57c commit d30103f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

dotnet/src/Microsoft.Agents.AI.Workflows/Execution/StreamingRunEventStream.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,6 @@ public void ClearBufferedEvents()
287287
{
288288
// Discard each event (including InternalCompletionSignals)
289289
}
290-
291-
// After clearing, signal the run loop to continue if needed
292-
// The run loop will send a new completion signal when it finishes processing from the restored state
293-
this.SignalInput();
294290
}
295291

296292
public async ValueTask StopAsync()

0 commit comments

Comments
 (0)