🚀 Just launched: the Depot CI API
← Back to changelog

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.

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 guide for the full syntax and behavior.