-
Notifications
You must be signed in to change notification settings - Fork 11
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
Enable GitHub API request throttling to avoid hitting API rate limit #95
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## typescript #95 +/- ##
===========================================
Coverage 99.37% 99.37%
===========================================
Files 6 6
Lines 482 483 +1
Branches 50 50
===========================================
+ Hits 479 480 +1
Misses 3 3 ☔ View full report in Codecov by Sentry. |
* Testing Farm as Git Hub Action - Typescript version This PR aims to reimplement the current Action in a language that will allow easier extendability and testability than the current composite yaml/python/bash implementation. This PR is keeping the current behavior/inputs/outputs except: - input debug - removed - we should use the native version of running Actions in debug mode - https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging * doc: update format of USAGE.md * Basic integration test * fix: apply the requested changes * remove makefile, no longer in use * doc: More documentation * doc: Add `DEVELOPMENT` document * ci: drop schedule for codeql analysis
…y display Details url when tests fail (#88) * fix: update status description to show uncropped message * fix: missing url in status when tests fail * test: update test for pull request comments
…tegration tests (#89) * doc: update README - remove references to old implementation & update wording * make url in summary clickable * test: integration test for timeout * test: integration test for private scope and statuses * test: integration test for issue comment * test: integration test for failed Testing Farm job * test: integration test for infra issues
from: `Testing Farm test failed - summary` to: `Build finished${infraError} - summary`
It implements best practices for using the GitHub API as described in https://developer.github.com/v3/guides/best-practices-for-integrators/#dealing-with-abuse-rate-limits When the primary rate limit is hit, it will log a warning and wait before trying the API endpoint one more time before failing.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It implements best practices for using the GitHub API as described in docs.
When the primary rate limit is hit, it will log a warning and wait before trying the API endpoint again before failing.