# Workflow where retries are exhausted (still fails after all retries)
# Tests: retry exhaustion, final failure after retries

rule all:
    input: "output/result.txt"

rule always_fails:
    """Job that fails on every attempt, even with retries."""
    output: "output/result.txt"
    retries: 2
    shell:
        """
        echo "Attempt - will always fail"
        exit 1
        """
