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

Prevent coverage break #16887

Merged
merged 5 commits into from
Aug 30, 2021
Merged

Prevent coverage break #16887

merged 5 commits into from
Aug 30, 2021

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Aug 30, 2021

There are repeated failures of our CI due to an intermittent issue with coverage.out
finishing with a spurious 0 on a single line.

This problem is very annoying and very hard to understand where it is coming from,
therefore as the problem appears random and without clear cause we should just strip
this line from our coverage.

These bugs are occurring due to the change to use the race detector - presumably there is some race occurring in the coverage output.

Related #1441

Signed-off-by: Andrew Thornton art27@cantab.net

There are repeated failures of our CI due to an intermittent issue with coverage.out
finishing with a spurious `0` on a single line.

This problem is very annoying and very hard to understand where it is coming from,
therefore as the problem appears random and without clear cause we should just strip
this line from our coverage.

Signed-off-by: Andrew Thornton <art27@cantab.net>
@zeripath zeripath added this to the 1.16.0 milestone Aug 30, 2021
Copy link
Member

@6543 6543 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Aug 30, 2021
@6543 6543 added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Aug 30, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Aug 30, 2021
@6543
Copy link
Member

6543 commented Aug 30, 2021

🚀

@codecov-commenter
Copy link

Codecov Report

Merging #16887 (f2dca7c) into main (360d8e7) will increase coverage by 0.00%.
The diff coverage is 22.85%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #16887   +/-   ##
=======================================
  Coverage   45.46%   45.46%           
=======================================
  Files         762      762           
  Lines       86104    86116   +12     
=======================================
+ Hits        39150    39156    +6     
- Misses      40642    40650    +8     
+ Partials     6312     6310    -2     
Impacted Files Coverage Δ
modules/queue/manager.go 65.57% <0.00%> (+0.23%) ⬆️
routers/api/v1/admin/org.go 35.55% <0.00%> (-0.81%) ⬇️
routers/web/repo/wiki.go 41.80% <21.73%> (+0.18%) ⬆️
routers/api/v1/org/org.go 63.36% <100.00%> (+0.36%) ⬆️
routers/api/v1/user/user.go 52.50% <100.00%> (ø)
modules/util/timer.go 42.85% <0.00%> (-42.86%) ⬇️
modules/queue/queue_channel.go 95.00% <0.00%> (-1.67%) ⬇️
modules/indexer/stats/db.go 50.00% <0.00%> (+7.14%) ⬆️

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 87eb82c...f2dca7c. Read the comment docs.

@6543 6543 merged commit c0f5da3 into go-gitea:main Aug 30, 2021
@zeripath zeripath deleted the prevent-coverage-break branch August 31, 2021 06:37
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants