Backport PR #8265 and PR #8264 to v1.5 - #8281
Merged
Aaronontheweb merged 1 commit intoJun 22, 2026
Merged
Conversation
Aaronontheweb
enabled auto-merge (rebase)
June 22, 2026 19:21
- akkadotnet#8265: Fix async enumerable source disposal ordering - akkadotnet#8264: Improve BroadcastHub high-consumer wheel performance Cherry-picked from upstream/dev (c619025, 10b9831)
Aaronontheweb
force-pushed
the
backport/8264-8265-to-v1.5
branch
from
June 22, 2026 20:15
7057adc to
bb0081d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR backports two commits from
devtov1.5:PR #8265 — Fix async enumerable source disposal ordering (c619025)
Source.From(IAsyncEnumerable<T>)cleanup so cancellation waits for any in-flightMoveNextAsync()before disposing the async enumerator and its cancellation token source.PR #8264 — Improve BroadcastHub high-consumer wheel performance (10b9831)
Changes
src/core/Akka.Streams/Dsl/Hub.cs— BroadcastHub perf improvementssrc/core/Akka.Streams/Implementation/Fusing/Ops.cs— Async enumerable disposal fixsrc/core/Akka.Streams.Tests/Dsl/AsyncEnumerableSpec.cs— Added test coveragesrc/core/Akka.Streams.Tests/Dsl/HubSpec.cs— Added test coveragesrc/benchmark/Akka.Benchmarks/Streams/BroadcastHubBenchmarks.cs— New benchmarkRELEASE_NOTES.md— Release note entryTesting
Auto-merge
Setting for rebase + auto-merge once CI passes.