Skip to content

SubFlow's don't correctly propagate Supervision.resumeStrategy #1205

@mdedetrich

Description

@mdedetrich

In #252 I made it so that we can set SupervisionStrategy rather than using SubStreamCancelStrategy. It turns out there is an existing test which was written as pending (so its currently disabled) to test this exact SupervisionStrategy functionality (specifically SupervisionStrategy.resumingDecider when an exception is thrown) when its adding in the future (which is now) i.e.

https://github.com/apache/incubator-pekko/blob/c44c0b7cbdab11d85176cfe062288fdcba16c56a/stream-tests/src/test/scala/org/apache/pekko/stream/scaladsl/FlowSplitAfterSpec.scala#L213-L262

When I try to enable the test by removing pending so the test runs it actually does not pass which means that the SupervisionStrategy.resumingDecider is not properly catching and suppressing the exception as its meant to do so.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingrelease notesNeed to release note

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions