Functions that implement logic to summarize a list of statuses into a single status. Commonly used in combination with
unify-only-status as a
:unify-results-fn to generate the status of a parent step from the statuses of child steps. These functions might return
:unknown if a combination of statuses does not make sense to their scenario.
Summarizes the given statuses pessimistically, e.g. returns
:success only if all statuses were success and
:failure if only a single status is
Used for scenarios where we expect all steps to succeeed, e.g.
in-parallel control-flow. Also used as the default in
Summarizes the given statuses optimistically, e.g. returns
:success if even one status is success or
:running as long as a single status is
Used for scenarios where we don’t expect all steps to succeed, e.g. the
Converts a function that can unify statuses into a unify-results-fn suitable for execute-steps