-
Notifications
You must be signed in to change notification settings - Fork 204
Stop unnecessarily scanning all files to report app configs #2854
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
|
/kapetanios reload |
|
@nakabonne: Successfully loaded the latest Kapetanios configuration. |
|
Code coverage for golang is
|
nghialv
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.
Looks neat! Good job!
Just some nits.
| if appInfo.Kind != app.Kind { | ||
| return false | ||
| } |
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.
Changing the Kind could cause unexpected behavior since the application is paired with a Cloud Provider selected while adding the app.
So I think that field should not be allowed to be changed. How do you think?
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.
Actually I feel the same way. Currently changing it via the web client is allowed, but few users use it possibly.
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.
Applied at f05df12
Co-authored-by: Le Van Nghia <[email protected]>
|
Code coverage for golang is
|
|
Code coverage for golang is
|
|
I changed to emit log when kind has been changed |
|
Thank you. So let's remove this too. |
|
Code coverage for golang is
|
|
The following ISSUES will be created once got merged. If you want me to skip creating the issue, you can use Details1. Make it possible to follow the ApplicationInfo field changesThis was created by todo plugin since "TODO:" was found in 1acc33e when #2854 was merged. cc: @nakabonne. |
|
@nghialv Fixed 👍 |
|
Nice. Well done. |
|
Code coverage for golang is
|
|
Nice work |
What this PR does / why we need it:
This PR mainly improves
appconfigreporterto:For more information about the first one, please visit #2838.
The second one is solved by caching the latest unregistered apps.
Which issue(s) this PR fixes:
Fixes #2838
Close #2837
Does this PR introduce a user-facing change?: