pub fn open_steps(history: &[Event]) -> Vec<OpenStep>Expand description
Every step the run’s active segment records as open, in the order the ordinals were first opened.
The active segment is everything from the latest Event::WorkflowStarted
— a continue-as-new starts a fresh segment, and the prior segment’s
activities belong to a run that no longer executes.
An ActivityStarted with no ActivityScheduled in the segment opens
nothing: its address was never recorded in this segment, so there is no
address to report and inventing one would be a guess.