[Codefresh docs]: restart a failed pipeline from the beginning or from the failed step, both keep the original Git commit state. The from-failed-step option requires 'Permit restart pipeline from failed step' in the pipeline's policies: disabled it means only full restarts. To restart with a new state, use the Run button in the pipeline editor and pick a trigger. For flaky steps, use the retry syntax in YAML instead of restarting manually each time.

Context: Codefresh can resume a failed pipeline from the failed step, but the policy must be enabled first.