Retry with Backoff - Definição do Glossário de CI/CD
Retry com backoff é repetir uma operação que falhou após um atraso que cresce entre as tentativas, de modo que uma falha transitória (instabilidade de rede, rate limit) ganhe outra chance sem sobrecarregar o serviço.
Por que backoff, e não retry imediato
Retries imediatos podem piorar um serviço sobrecarregado. O backoff espaça as tentativas; o exponential backoff dobra a espera a cada vez (1s, 2s, 4s, 8s), muitas vezes com jitter aleatório para evitar retries sincronizados.
Em CI
Envolver um step de rede instável em um loop de retry converte uma classe de builds vermelhos transitórios em verdes eventuais. Runners com autocorreção aplicam isso automaticamente a falhas mecânicas.
Guias relacionados
Idempotent Deploy - CI/CD Glossary DefinitionIdempotent Deploy: An idempotent deploy is a deployment that produces the same end state no matter how many t…
Workflow Run - CI/CD Glossary DefinitionWorkflow Run: A workflow run is a single execution of a GitHub Actions workflow, triggered by an event, with…
Smoke Test - CI/CD Glossary DefinitionSmoke Test: A smoke test is a small, fast check that verifies the most critical paths work at all, run right…