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: Grammar for codecov comment when missing coverage #481

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

ajay-sentry
Copy link
Contributor

@ajay-sentry ajay-sentry commented May 31, 2024

Removes the "are" when missing lines of coverage.

Also adds a conditional where if there's only 1 line uncovered we say "line" instead of "lines"

Old: Attention: Patch coverage is 97.53086% with 2 lines in your changes are missing coverage. Please review.
New: Attention: Patch coverage is 97.53086% with 2 lines in your changes missing coverage. Please review.

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.

Copy link

codecov bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.29%. Comparing base (2d39bca) to head (1617c8e).

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #481   +/-   ##
=======================================
  Coverage   97.29%   97.29%           
=======================================
  Files         443      443           
  Lines       34851    34853    +2     
=======================================
+ Hits        33908    33910    +2     
  Misses        943      943           
Flag Coverage Δ
integration 97.26% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 97.26% <100.00%> (+<0.01%) ⬆️
unit 97.26% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 94.42% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.52% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
.../notification/notifiers/mixins/message/sections.py 96.15% <100.00%> (+0.01%) ⬆️
...s/notification/notifiers/mixins/message/writers.py 90.14% <100.00%> (+0.14%) ⬆️
...s/notification/notifiers/tests/unit/test_checks.py 98.26% <ø> (ø)
.../notification/notifiers/tests/unit/test_comment.py 99.27% <ø> (ø)

This change has been scanned for critical changes. Learn more

@codecov-notifications
Copy link

codecov-notifications bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #481   +/-   ##
=======================================
  Coverage   97.26%   97.26%           
=======================================
  Files         412      412           
  Lines       34122    34124    +2     
=======================================
+ Hits        33189    33191    +2     
  Misses        933      933           
Flag Coverage Δ
integration 97.26% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 97.26% <100.00%> (+<0.01%) ⬆️
unit 97.26% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 94.37% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.52% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
.../notification/notifiers/mixins/message/sections.py 97.02% <100.00%> (+<0.01%) ⬆️
...s/notification/notifiers/mixins/message/writers.py 90.14% <100.00%> (+0.14%) ⬆️
...s/notification/notifiers/tests/unit/test_checks.py 98.26% <ø> (ø)
.../notification/notifiers/tests/unit/test_comment.py 99.22% <ø> (ø)

@codecov-qa
Copy link

codecov-qa bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.26%. Comparing base (2d39bca) to head (1617c8e).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #481   +/-   ##
=======================================
  Coverage   97.26%   97.26%           
=======================================
  Files         412      412           
  Lines       34122    34124    +2     
=======================================
+ Hits        33189    33191    +2     
  Misses        933      933           
Flag Coverage Δ
integration 97.26% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 97.26% <100.00%> (+<0.01%) ⬆️
unit 97.26% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 94.37% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.52% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
.../notification/notifiers/mixins/message/sections.py 97.02% <100.00%> (+<0.01%) ⬆️
...s/notification/notifiers/mixins/message/writers.py 90.14% <100.00%> (+0.14%) ⬆️
...s/notification/notifiers/tests/unit/test_checks.py 98.26% <ø> (ø)
.../notification/notifiers/tests/unit/test_comment.py 99.22% <ø> (ø)

Copy link

codecov-public-qa bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.26%. Comparing base (2d39bca) to head (1617c8e).

✅ All tests successful. No failed tests found ☺️

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #481   +/-   ##
=======================================
  Coverage   97.26%   97.26%           
=======================================
  Files         412      412           
  Lines       34122    34124    +2     
=======================================
+ Hits        33189    33191    +2     
  Misses        933      933           
Flag Coverage Δ
integration 97.26% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 97.26% <100.00%> (+<0.01%) ⬆️
unit 97.26% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 94.37% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.52% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
.../notification/notifiers/mixins/message/sections.py 97.02% <100.00%> (+<0.01%) ⬆️
...s/notification/notifiers/mixins/message/writers.py 90.14% <100.00%> (+0.14%) ⬆️
...s/notification/notifiers/tests/unit/test_checks.py 98.26% <ø> (ø)
.../notification/notifiers/tests/unit/test_comment.py 99.22% <ø> (ø)

@ajay-sentry ajay-sentry added this pull request to the merge queue Jun 3, 2024
Merged via the queue into main with commit c307e19 Jun 3, 2024
29 of 30 checks passed
@ajay-sentry ajay-sentry deleted the Ajay/comment-grammar-update branch June 3, 2024 17:20
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.

None yet

2 participants