Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI test run can be flaky due to exceeding GitHub API limits #613

Open
StevenMaude opened this issue Feb 7, 2024 · 1 comment
Open

CI test run can be flaky due to exceeding GitHub API limits #613

StevenMaude opened this issue Feb 7, 2024 · 1 comment

Comments

@StevenMaude
Copy link
Contributor

The tests in CI do pass without any change. But when running the tests, I did get for one run:

FAILED tests/reports/test_views.py::test_report_view_last_updated - osgithub.github.GithubAPIException: {"message": "API rate limit exceeded for (redacted IP address). (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"}

The environment variables are configured in the test workflow. The GITHUB_TOKEN environment variable is unset as this commit.

There might be a good reason why we leave this unset, but it's not documented in the commit history or PR thread.

@StevenMaude StevenMaude changed the title CI test run is flaky due to GitHub API limits CI test run is occasionally flaky due to GitHub API limits Feb 7, 2024
@StevenMaude StevenMaude changed the title CI test run is occasionally flaky due to GitHub API limits CI test run is regularly flaky due to GitHub API limits Feb 7, 2024
@StevenMaude
Copy link
Contributor Author

Just happened again, with a run for Dependabot.

@StevenMaude StevenMaude changed the title CI test run is regularly flaky due to GitHub API limits CI test run can be flaky due to exceeding GitHub API limits Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant