-
Notifications
You must be signed in to change notification settings - Fork 27
DPE 1083: Prevent relation extensions #50
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 #50 +/- ##
=======================================
Coverage 65.35% 65.35%
=======================================
Files 6 6
Lines 814 814
Branches 115 115
=======================================
Hits 532 532
Misses 258 258
Partials 24 24
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
await ops_test.model.deploy( | ||
"nextcloud", | ||
channel="edge", | ||
application_name="nextcloud", | ||
num_units=APPLICATION_UNITS, | ||
) | ||
await ops_test.model.wait_for_idle( | ||
apps=["nextcloud"], | ||
status="blocked", | ||
raise_on_blocked=False, | ||
timeout=1000, | ||
) |
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.
This is a third party charm requesting extensions.
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.
Awesome finding!
Codecov seems to complain that the patch doesn't change the coverage. How should we deal with such cases? |
@marceloneppel ? IMHO, enforcing test coverage is not something we should push now, IMHO. |
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.
Tnx!
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.
It looks great! @taurus-forever, I agree about not enforcing the coverage now. And also because IMO the specific issue we see in this PR may be a bug on codecov or its action.
In this case it commented The diff coverage is 0.00%.
but it passed when it commented The diff coverage is n/a.
(on #43 (comment)). I know we have a minor difference between both PRs, but it seems to be a bug on codecov.
await ops_test.model.deploy( | ||
"nextcloud", | ||
channel="edge", | ||
application_name="nextcloud", | ||
num_units=APPLICATION_UNITS, | ||
) | ||
await ops_test.model.wait_for_idle( | ||
apps=["nextcloud"], | ||
status="blocked", | ||
raise_on_blocked=False, | ||
timeout=1000, | ||
) |
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.
Awesome finding!
* Prevent relation extensions * Integration test
Issue
Solution
Context
Testing
Release Notes
Fixes bug in preventing relation extensions