googleapis / googleapis/release-please
Report rate-limiting errors clearly
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 588
- Avg merge
- 12h 16m
- Merged PRs (30d)
- 7
Description
**Is your feature request related to a problem? Please describe.**
I suspect our releases [here](https://github.com/open-telemetry/opentelemetry-js-contrib/runs/6486601021?check_suite_focus=true), are erroring because of GH rate limiting, but we have no way to certainly tell - I suspect rate-limiting errors are just reported as Server Errors.
**Describe the solution you'd like**
A perfect solution would include
1. warning about the rate-limit being close(GH has headers in the response to check for that),
2. error messages to indicate whether it was because of rate-limiting or not and
3. a way to avoid the rate-limiting by slowing the requests down or breaking the release up into parts.
**Additional context**
* Link to our failing CI run: https://github.com/open-telemetry/opentelemetry-js-contrib/runs/6486601021?check_suite_focus=true
* Docs about the headers: https://docs.github.com/en/rest/overview/resources-in-the-rest-api#checking-your-rate-limit-status
* General docs about rate limits: https://docs.github.com/en/developers/apps/building-github-apps/rate-limits-for-github-apps
Contributor guide
Assessment
This issue has not been assessed yet.