Rate Limit Header - Definição do Glossário de CI/CD
Um rate limit header é um header de resposta HTTP que reporta o uso da sua cota, comumente X-RateLimit-Limit, X-RateLimit-Remaining e X-RateLimit-Reset (o horário epoch em que a cota é reabastecida).
No CI
A API do GitHub retorna esses headers em toda resposta. Um workflow bem comportado lê X-RateLimit-Remaining e faz uma pausa até X-RateLimit-Reset em vez de martelar a API e receber erros de HTTP 403 de secondary rate-limit.
Guias relacionados
HTTP Status Code - CI/CD Glossary DefinitionHTTP Status Code: An HTTP status code is a three-digit number a server returns to summarize the result: 2xx s…
Pagination - CI/CD Glossary DefinitionPagination: Pagination is splitting a large API result set into pages, returned a few at a time. Offset pagin…
Exponential Backoff - CI/CD Glossary DefinitionExponential Backoff: Exponential backoff is a retry strategy that doubles the wait between attempts (1s, 2s,…