CI test run can be flaky due to exceeding GitHub API limits
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
Start with tests/test_github.py::test_integration and the osgithub.github.GithubAPIException shown in the workflow log. Trace how the test accesses the GitHub API and how rate-limit failures are handled; done means the CI test has a reliable, defined outcome when the API limit is reached.
Written by the indexing model from the issue text.
Description
A workflow run failed with this in the logs:
FAILED tests/test_github.py::test_integration - osgithub.github.GithubAPIException: {"message": "API rate limit exceeded for 74.249.5.177. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)", "documentation_url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
It got cleared up when re-running the failed job, but this is potentially an irritation in future.
(I guess this happens when previous runners on that IP have used the GitHub API enough to encounter the rate limit.)
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opensafely-core/osgithub
-
dependency-management
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
opensafely-core/osgithub#289 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
opensafely-core/osgithub#269 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
opensafely-core/osgithub#242 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
opensafely-core/osgithub#236 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
opensafely-core/osgithub#230 · 1 comment ·
All issues in opensafely-core/osgithub
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
stephrobert/dsoxlab#238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sublimehq/package_control#1780 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
nwg-piotr/nwg-displays#145 ·