← Back to Explore

retry-exhaustion-complete

RETRY exhaustion with COMPLETE finishes the runbook

retries

Rundown


# RETRY Exhaustion COMPLETE

Tests that RETRY exhaustion with COMPLETE finishes the runbook successfully.

## 1. Acceptable-failure step

- PASS: CONTINUE
- FAIL: RETRY 3 COMPLETE "Max retries reached, completing anyway"

Retries up to 3 times. If it still fails, it COMPLETES the runbook.

```bash
rd echo --result fail --result fail --result fail --result fail
```

## 2. Finish

- PASS: COMPLETE

Final step reached when step 1 passes.

```bash
rd echo "finished normally"
```

Run

Exhausts retry, runbook completes

Initializing...

Initializing...

Step/