failed_history#

osa.veto.failed_history(history_file: Path) bool#

Check if a processing step has failed twice in a given history file.

Return True if the last line of the history file contains a non-zero exit status and is repeated twice, meaning that a given step has failed twice.