Closed rose-pace closed 5 years ago
Thanks for logging this... are you able to wrap this scenario into a failing integration test?
Would you say this test mirrors your issue? https://github.com/danielgerlag/workflow-core/blob/master/test/WorkflowCore.IntegrationTests/Scenarios/NestedRetrySagaScenario.cs
I'm honestly having a difficult time following that test. I don't think it is exactly what I'm talking about since I only have the one compensate step for the entire saga. Do you want me to fork this project and add a test for my situation or just create a small project with a unit test?
if you could even just paste a Test in the format of the one linked here, that would help me get to the bottom of it faster... I will spend some time drilling into it regardless, but that would be a huge help.
Here's a gist that recreates the issue: https://gist.github.com/rosspace/4ddc44a86b01e5648ab1b7d2a09173de
Which version are you using?
1.6.8
Try upgrading to the latest version and let me know if that helps.
Looks like that fixed the issue. I guess this had already been handled. Thanks for your help.
In the following scenario if an error occurs within the If block at step4 I'd expect the workflow to continue on after the CompensateWith step but it actually picks up after the if at step6. If this is how sagas are supposed to work how would I get the behavior I would want where the workflow would pick up after the compensate step?