Skip to content

Backport PR #8265 and PR #8264 to v1.5 - #8281

Merged
Aaronontheweb merged 1 commit into
akkadotnet:v1.5from
Aaronontheweb:backport/8264-8265-to-v1.5
Jun 22, 2026
Merged

Aaronontheweb merged 1 commit into
akkadotnet:v1.5from
Aaronontheweb:backport/8264-8265-to-v1.5

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Member

Summary

This PR backports two commits from dev to v1.5:

PR #8265 — Fix async enumerable source disposal ordering (c619025)

  • Fixed Source.From(IAsyncEnumerable<T>) cleanup so cancellation waits for any in-flight MoveNextAsync() before disposing the async enumerator and its cancellation token source.

PR #8264 — Improve BroadcastHub high-consumer wheel performance (10b9831)

  • Improved BroadcastHub high-consumer wheel performance.

Changes

  • src/core/Akka.Streams/Dsl/Hub.cs — BroadcastHub perf improvements
  • src/core/Akka.Streams/Implementation/Fusing/Ops.cs — Async enumerable disposal fix
  • src/core/Akka.Streams.Tests/Dsl/AsyncEnumerableSpec.cs — Added test coverage
  • src/core/Akka.Streams.Tests/Dsl/HubSpec.cs — Added test coverage
  • src/benchmark/Akka.Benchmarks/Streams/BroadcastHubBenchmarks.cs — New benchmark
  • RELEASE_NOTES.md — Release note entry

Testing

  • All build checks pass
  • HubSpec: 55 passed, 0 failed, 1 skipped
  • AsyncEnumerableSpec: 15 passed, 0 failed

Auto-merge

Setting for rebase + auto-merge once CI passes.

- akkadotnet#8265: Fix async enumerable source disposal ordering
- akkadotnet#8264: Improve BroadcastHub high-consumer wheel performance

Cherry-picked from upstream/dev (c619025, 10b9831)
@Aaronontheweb
Aaronontheweb force-pushed the backport/8264-8265-to-v1.5 branch from 7057adc to bb0081d Compare June 22, 2026 20:15
@Aaronontheweb
Aaronontheweb merged commit 9b56af8 into akkadotnet:v1.5 Jun 22, 2026
11 checks passed
@Aaronontheweb
Aaronontheweb deleted the backport/8264-8265-to-v1.5 branch June 22, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant