Closed DilumAluthge closed 3 years ago
@fchorney @mattBrzezinski I think we should figure out these integration test failures before merging.
It looks like it's just that we're hitting some rate limits during the integration tests? If that's the case, we should do one or both of:
weird that we haven't his these rate limits before during testing. Did GitHub change them? or is there some other reason we are hitting them?
Hmm it also seems like it's the master 3
test every time. Maybe something is wonky with that test specifically
Looking at the GitHub Documentation
additional rate limits may apply to some actions when using the API. For example, using the API to rapidly create content, poll aggressively instead of using webhooks, make multiple concurrent requests, or repeatedly request data that is computationally expensive may result in secondary rate limiting.
There is no getting around these limits. They do not interfere with the normal API. We need to retry / sleep here. Personally I think doing a sleep
is a bit better as we're not spamming GitHub repeatedly. I'll make a PR for these changes.
And to follow up Best Practices for Integrators says to wait one second between requests here. If you're still hitting it, do a retry using the Retry-After
header from the response.
Anyway, once you've fixed the tests, this is good to go from my point of view.
I would say do the following steps:
bors try
and make sure it passes.bors try
run, convert this PR from "draft" to "ready to review".bors merge
.Merging #361 (887ddfb) into master (0afb9df) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #361 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 16 11 -5
Lines 409 337 -72
=========================================
- Hits 409 337 -72
Impacted Files | Coverage Δ | |
---|---|---|
src/dependencies.jl | 100.00% <100.00%> (ø) |
|
src/exceptions.jl | 100.00% <100.00%> (ø) |
|
src/main.jl | 100.00% <100.00%> (ø) |
|
src/pull_requests.jl | 100.00% <100.00%> (ø) |
|
src/utilities/ci.jl | 100.00% <100.00%> (ø) |
|
src/utilities/git.jl | 100.00% <100.00%> (ø) |
|
src/utilities/new_versions.jl | 100.00% <100.00%> (ø) |
|
src/utilities/ssh.jl | 100.00% <100.00%> (ø) |
|
src/utilities/timestamps.jl | 100.00% <100.00%> (ø) |
|
src/utilities/types.jl | 100.00% <100.00%> (ø) |
|
... and 10 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 0afb9df...887ddfb. Read the comment docs.
bors try
Build succeeded:
bors r+
Build succeeded:
try
Build failed: