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

redo: Failed check and status messaging in comment, part I #1022

Merged
merged 6 commits into from
Jan 23, 2025

Conversation

nora-codecov
Copy link
Contributor

this PR was missing a check and caused an error.
the check has been added and a unit test to cover the condition that broke when it was deployed.

perviously deployed and reverted version: #1014

@nora-codecov nora-codecov requested a review from a team January 21, 2025 21:36
notification_result = result["result"]
if (
notification_result is not None
and notification_result.data_sent is not None
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this check notification_result.data_sent is not None is added since the reverted version #1014

]
res = notifications_service.notify(sample_comparison)
assert expected_result == res

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added this test to cover the case that failed in the now reverted version #1014

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 96.55172% with 3 lines in your changes missing coverage. Please review.

Project coverage is 97.71%. Comparing base (490b9dc) to head (9634837).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
services/notification/notifiers/status/patch.py 75.00% 2 Missing ⚠️
services/notification/__init__.py 93.75% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1022   +/-   ##
=======================================
  Coverage   97.71%   97.71%           
=======================================
  Files         458      458           
  Lines       37006    37072   +66     
=======================================
+ Hits        36159    36224   +65     
- Misses        847      848    +1     
Flag Coverage Δ
integration 42.59% <65.51%> (+0.05%) ⬆️
unit 90.26% <88.50%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

⚠️ Impact Analysis from Codecov is deprecated and will be sunset on Jan 31 2025. See more

@codecov-notifications
Copy link

codecov-notifications bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 96.55172% with 3 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
services/notification/notifiers/status/patch.py 75.00% 2 Missing ⚠️
services/notification/__init__.py 93.75% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link

✅ All tests successful. No failed tests were found.

📣 Thoughts on this report? Let Codecov know! | Powered by Codecov

@nora-codecov nora-codecov added this pull request to the merge queue Jan 23, 2025
Merged via the queue into main with commit 254374e Jan 23, 2025
24 of 27 checks passed
@nora-codecov nora-codecov deleted the nora/1626 branch January 23, 2025 22:01
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.

3 participants