Attempt
lastmod 2026-01-01created 2026-01-011 edits
A CLI that retries commands that may fail
Features
- Designed to automatically retry commands that may fail, with a delay between attempts
- Applies retries with gradually increasing wait times (exponential backoff), plus timeouts and jitter, to keep identical failures from repeating simultaneously
- attempt exponential --retry-if-contains "server not ready" sqlx migrate
- Can wait until a service is ready and then run a command, without depending on Bash
- Keeps scripts reliable even in temporarily unstable environments such as networks or external services
- Provides a test suite including end-to-end and unit tests; public domain license