Disable upload of coverage report to codecov.io#16347
Merged
kfaraz merged 2 commits intoapache:masterfrom Apr 29, 2024
Merged
Conversation
cryptoe
approved these changes
Apr 29, 2024
Contributor
Author
|
Thanks for the confirmation and the swift review, @cryptoe ! |
Contributor
|
Should we remove the coverage button from the README too? |
kgyrtkirk
approved these changes
Apr 29, 2024
Member
kgyrtkirk
left a comment
There was a problem hiding this comment.
+1 on disabling it
I've tried to search for a few classes I would expect to have some test coverage DruidQuery and CoalesceLookupRule neither of them showed up...
I wonder if this thing used by anyone?
Contributor
Author
Thanks for calling this out, @amaechler ! I am merging this PR to unblock development, will remove the button in a follow up. Thanks for the feedback, @cryptoe , @kgyrtkirk ! |
10 tasks
AmatyaAvadhanula
pushed a commit
to AmatyaAvadhanula/druid
that referenced
this pull request
Apr 30, 2024
kfaraz
added a commit
that referenced
this pull request
Apr 30, 2024
This file contains hidden or 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
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.
Description
Build of recent PRs is getting stuck due to rate limiting of the codecov.io API. The unit test job just keeps retrying to connect.
{'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected available in 153 seconds.', code='throttled')} {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected available in 0 seconds.', code='throttled')} {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected available in 3598 seconds.', code='throttled')} {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected available in 3598 seconds.', code='throttled')} {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue. Expected available in 0 seconds.', code='throttled')} {'detail': ErrorDetail(string='Rate limit reached. Please upload with the Codecov repository upload token to resolve issue.Sample failing job:
https://github.com/apache/druid/actions/runs/8875278501/job/24364864254?pr=15705
Fix
In
unit_tests_script.sh, disable upload of coverage report to codecov.io.Impact
No one in the Druid community seems to be using the codecov visualization to analyse code coverage.
Most contributors look at the reports generated by jacoco itself and use that to ensure full coverage.
In the future, if we feel the need to re-enable it we may uncomment the code.