GeezerVison is showing github.com — refactor(streaming): remove unused implicit subscriber grain factory by ReubenBond · Pull Request #10322 · dotnet/orleans
Conversation
ReubenBond
commented
Aug 1, 2026
•
edited by dotnet-policy-service
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Removes the unused internal grain factory parameter from implicit stream subscriber lookup and its callers. The lookup already returns grain IDs directly, so retaining and threading the factory adds unnecessary coupling.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR refactors Orleans streaming implicit pub-sub to remove an unused IInternalGrainFactory parameter from implicit subscriber lookup and threads that simplification through the pub-sub implementation and both silo/client provider runtimes, reducing unnecessary coupling.
Changes:
- Removed the unused grain factory parameter from
ImplicitStreamSubscriberTable.GetImplicitSubscribers.
- Updated
ImplicitStreamPubSub to no longer store/require an internal grain factory.
- Updated silo/client streaming provider runtimes to construct
ImplicitStreamPubSub with only the subscriber table.
Show a summary per file
| File |
Description |
| src/Orleans.Streaming/PubSub/ImplicitStreamSubscriberTable.cs |
Removes the unused factory parameter from implicit subscriber lookup (and should align docs with the returned dictionary). |
| src/Orleans.Streaming/PubSub/ImplicitStreamPubSub.cs |
Removes factory dependency and updates call sites to the simplified lookup method. |
| src/Orleans.Streaming/Providers/SiloStreamProviderRuntime.cs |
Updates runtime wiring to construct ImplicitStreamPubSub without the internal grain factory. |
| src/Orleans.Streaming/Providers/ClientStreamingProviderRuntime.cs |
Updates runtime wiring to construct ImplicitStreamPubSub without the internal grain factory. |
Copilot's findings
- Files reviewed: 4/4 changed files
- Comments generated: 2
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot's findings
- Files reviewed: 4/4 changed files
- Comments generated: 0 new
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ccadbbac-3066-4b68-aab0-135e7419f4d5
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: ccadbbac-3066-4b68-aab0-135e7419f4d5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot's findings
- Files reviewed: 4/4 changed files
- Comments generated: 0 new
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 28, 2026
This was referenced Aug 31, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.