# Native step retries in Depot CI (https://depot.dev/changelog/2026-06-12-depot-ci-step-retry)

> Published 2026-06-12

Depot CI now supports a native `retry:` key on `run:` steps. When a step fails, Depot re-runs it in the same sandbox up to a configured number of additional attempts, with configurable backoff between attempts. Previously, retrying a flaky command meant vendoring a marketplace action like `nick-fields/retry`.

```yaml
steps:
  - run: npm ci
    retry: 3 # shorthand: a bare number is the retry count
  - run: ./flaky-integration-test.sh
    retry: # structured: control backoff and delays
      retries: 3
      backoff: exponential
      delay-seconds: 5
```

The run detail page in the dashboard also shows an "N attempts" label on any step that ran more than once. See our [Retry failed steps](/docs/ci/how-to-guides/retry-steps) guide for the full syntax and behavior.

## For AI Agents

The full site index is at [llms.txt](https://depot.dev/llms.txt). Append `.md` to any documentation, blog, changelog, or customer URL to fetch its markdown source directly.