Skip to content

.Net Agent Runtime Fix: Allow multiple subscribers to handle events concurrently #12713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 15, 2025

Conversation

crickman
Copy link
Contributor

@crickman crickman commented Jul 14, 2025

Motivation and Context

Enable multiple subscribers to to handle events concurrently (instead of sequentially)

Fixes: #12701

Description

The event handling loop of the InProcessRuntime is waiting on each subscriber to handle the event. This conflicts with performance expectations.

Contribution Checklist

@crickman crickman self-assigned this Jul 14, 2025
@crickman crickman requested a review from a team as a code owner July 14, 2025 22:33
@crickman crickman added bug Something isn't working agents labels Jul 14, 2025
@crickman crickman moved this to Sprint: In Review in Semantic Kernel Jul 14, 2025
@moonbox3 moonbox3 added the .NET Issue or Pull requests regarding .NET code label Jul 14, 2025
@github-actions github-actions bot changed the title .NET Agent Runtime Fix: Allow multiple subscribers to handle events concurrently .Net Agent Runtime Fix: Allow multiple subscribers to handle events concurrently Jul 14, 2025
@crickman crickman enabled auto-merge July 15, 2025 15:21
@crickman crickman added this pull request to the merge queue Jul 15, 2025
Merged via the queue into main with commit d0fed70 Jul 15, 2025
19 checks passed
@crickman crickman deleted the fix_concurrent_events branch July 15, 2025 16:59
@github-project-automation github-project-automation bot moved this from Sprint: In Review to Sprint: Done in Semantic Kernel Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents bug Something isn't working .NET Issue or Pull requests regarding .NET code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

.Net: Bug: ConcurrentOrchestration collects responses sequentially from all agents
4 participants