diff --git a/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/WorkflowHarness.cs b/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/WorkflowHarness.cs index ee2a3b4815..8f46d91bbc 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/WorkflowHarness.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.IntegrationTests/Framework/WorkflowHarness.cs @@ -126,6 +126,13 @@ internal sealed class WorkflowHarness(Workflow workflow, string runId) { hasRequest = true; } + else + { + // This is a republished event for the request we're already responding to + // (emitted by RepublishUnservicedRequestsAsync during checkpoint resume). + // Skip yielding it so downstream code doesn't treat it as a new pending request. + continue; + } break; case ConversationUpdateEvent conversationEvent: