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

fix bug when there's changed files, but none have missing cov lines #105

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

dana-yaish
Copy link
Contributor

@dana-yaish dana-yaish commented Sep 21, 2023

sometimes a PR has changed files, but all changed files has patch coverage 100%. Currently, we have a bug that prints out the header without the printing anything in the table. In this case, we don't want anything to be printed out, as we only care about files with patch coverage < 100%

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #105 (5645820) into main (5aff524) will increase coverage by 0.00%.
The diff coverage is 94.11%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   98.46%   98.47%           
=======================================
  Files         364      364           
  Lines       26847    26855    +8     
=======================================
+ Hits        26436    26445    +9     
+ Misses        411      410    -1     
Flag Coverage Δ
integration 98.43% <94.11%> (+<0.01%) ⬆️
latest-uploader-overall 98.43% <94.11%> (+<0.01%) ⬆️
onlysomelabels 98.47% <94.11%> (+<0.01%) ⬆️
unit 98.43% <94.11%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 97.10% <90.90%> (+0.01%) ⬆️
OutsideTasks 98.22% <94.11%> (+<0.01%) ⬆️
Files Changed Coverage Δ
.../notification/notifiers/mixins/message/sections.py 97.93% <90.90%> (+0.36%) ⬆️
.../notification/notifiers/tests/unit/test_comment.py 100.00% <100.00%> (ø)
Related Entrypoints
run/app.tasks.notify.Notify

@codecov-staging
Copy link

codecov-staging bot commented Sep 21, 2023

Codecov Report

Merging #105 (5645820) into main (5aff524) will increase coverage by 0.00%.
The diff coverage is 94.11%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   98.43%   98.43%           
=======================================
  Files         343      343           
  Lines       26675    26683    +8     
=======================================
+ Hits        26257    26266    +9     
+ Misses        418      417    -1     
Flag Coverage Δ
integration 98.43% <94.11%> (+<0.01%) ⬆️
latest-uploader-overall 98.43% <94.11%> (+<0.01%) ⬆️
unit 98.43% <94.11%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 97.01% <90.90%> (+0.01%) ⬆️
OutsideTasks 98.22% <94.11%> (+<0.01%) ⬆️
Files Patch % Lines
.../notification/notifiers/mixins/message/sections.py 90.90% 1 Missing ⚠️

@codecov-public-qa
Copy link

codecov-public-qa bot commented Sep 21, 2023

Codecov Report

Merging #105 (5645820) into main (5aff524) will increase coverage by 0.00%.
The diff coverage is 94.11%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   98.43%   98.43%           
=======================================
  Files         343      343           
  Lines       26675    26683    +8     
=======================================
+ Hits        26257    26266    +9     
+ Misses        418      417    -1     
Flag Coverage Δ
integration 98.43% <94.11%> (+<0.01%) ⬆️
latest-uploader-overall 98.43% <94.11%> (+<0.01%) ⬆️
unit 98.43% <94.11%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 97.01% <90.90%> (+0.01%) ⬆️
OutsideTasks 98.22% <94.11%> (+<0.01%) ⬆️
Files Changed Coverage Δ
.../notification/notifiers/mixins/message/sections.py 97.93% <90.90%> (+0.36%) ⬆️
.../notification/notifiers/tests/unit/test_comment.py 100.00% <100.00%> (ø)

@dana-yaish dana-yaish merged commit 21da335 into main Sep 21, 2023
28 of 31 checks passed
@dana-yaish dana-yaish deleted the dana/no-missing-lines-bug branch September 21, 2023 14:42
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

Successfully merging this pull request may close these issues.

2 participants