-
Notifications
You must be signed in to change notification settings - Fork 27
DPE 1073 DPE 1080: DEBUG verbosity for deferrals and early returns #49
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #49 +/- ##
==========================================
+ Coverage 64.05% 65.35% +1.29%
==========================================
Files 6 6
Lines 818 814 -4
Branches 121 115 -6
==========================================
+ Hits 524 532 +8
+ Misses 264 258 -6
+ Partials 30 24 -6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Nice! Tnx!
BTW, how to deal with unhappy codecov?
@taurus-forever To not fail the codecov checks we must cover the specified amount (65%) of the new code and the overall code |
It doesn't match the warnings I see in https://github.com/canonical/postgresql-operator/pull/49/checks?check_run_id=10457437969 |
I think enforcing testing debug lines is not something that brings value to the code. We probably can use something like the .coveragerc file like the one from https://github.com/canonical/opensearch-operator/blob/56b9ed036d44f69a269217087093c55db89926c8/.coveragerc to avoid some lines to be verified in the coverage checks. I thought on something like (I haven't tested it): [report]
exclude_lines =
# Don't complain about missing debug-only code:
logger\.debug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing! Thanks for all those improvements @dragomirp!
Issue
Solution
Context
allowlist_externals
Testing
Release Notes
Increased log verbosity on deferrals