-
Notifications
You must be signed in to change notification settings - Fork 188
PMM-14694: reduce saas package dependency #4900
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
base: v3
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## v3 #4900 +/- ##
==========================================
+ Coverage 45.93% 46.01% +0.08%
==========================================
Files 366 377 +11
Lines 38427 39228 +801
==========================================
+ Hits 17651 18052 +401
- Misses 19078 19378 +300
- Partials 1698 1798 +100
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
as I remember signatures were used in order to make sure that received data (advisor, alert template, etc) are really originated by Percona (signed by Percona's private key). in case the templates are moved to pmm repo itself - is it still required to check the signature?
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.
You are raising a good question! Let's prepare for a discussion on the next BE call.
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.
FYI: we will be asked to source the advisors and alert templates from a GitHub repo. This is why I'm a bit reluctant to drop them now. It's never late to do that.
ademidoff
left a comment
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.
@idoqo Can we remove checks and alerts from that saas repo?
managed/pi/check/check.go
Outdated
| case MySQL: | ||
| fallthrough | ||
| case PostgreSQL: | ||
| fallthrough | ||
| case MongoDB: | ||
| return nil |
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.
| case MySQL: | |
| fallthrough | |
| case PostgreSQL: | |
| fallthrough | |
| case MongoDB: | |
| return nil | |
| case MySQL, PostgreSQL, MongoDB: | |
| return nil |
managed/pi/check/check.go
Outdated
| case Standard: | ||
| fallthrough | ||
| case Frequent: | ||
| fallthrough | ||
| case Rare: | ||
| fallthrough |
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.
Let's get rid of fallthrough in favor of comma-separated cases.
PMM-14694
Percona-Lab/pmm-submodules#4182