How do you handle rate limits and outages of the SCM or CI provider?
AdvancedProductionGitHub Actions and GitLab CI in Production
Answer
Cache what you can (dependencies, base images in a pull-through registry), avoid polling the API in loops (use webhooks and events), authenticate API calls to get higher limits (a GitHub App token has higher limits than a PAT), add retries with exponential backoff and jitter for API calls, and have the break-glass path: the ability to build and deploy a hotfix from a laptop or a secondary CI with a documented, audited process, because SaaS outages happen exactly when you least want them.
More on GitHub Actions and GitLab CI in Production
How do you organise reusable workflows for an organisation on GitHub?IntermediateHow do you reduce GitHub Actions minutes cost on private repos?IntermediateHow do you secure self-hosted runners?AdvancedHow do you design the GitHub Actions OIDC trust policy for AWS safely?AdvancedHow do you handle approvals and deployments across environments in GitHub Actions?IntermediateHow do you handle required checks when workflows use path filters or matrices?Advanced