# Functions
New creates a new workflow.
# Constants
ESCanaryFailure indicates one of the canaries failed, stopping the workflow.
ESMaxFailures indicates that the workflow passed the canary phase, but failed at a later phase.
ESPreconditionFailure means no work was done as we failed on a precondition.
ESSuccess means that the workflow has completed successfully.
ESUnknown indicates we haven't reached an end state.
# Type aliases
EndStates are the final states after a run of a workflow.