WorkflowExecutor is not sending LifeCycleEvents.WorkflowCompleted when Workflow is marked with IStepBuilder.EndWorkflow
just check https://github.com/danielgerlag/workflow-core/blob/master/src/WorkflowCore/Services/WorkflowExecutor.cs
https://github.com/danielgerlag/workflow-core/blob/master/src/WorkflowCore/Primitives/EndStep.cs
returns
ExecutionPipelineDirective .EndWorkflow
=> WorkflowExecutor .InitializeStep returns fals and the Event is not fired.
Additional, I think the status of the worklfow is set to early to complete in line 259.
You may request the value from execitionContext when middlewareRunner is executed.