-
Notifications
You must be signed in to change notification settings - Fork 273
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
improvement(api): send action type to cloud #5447
Conversation
1178087
to
4b5d7e2
Compare
4d339c8
to
01d0522
Compare
01d0522
to
ce93d19
Compare
@@ -115,7 +115,7 @@ describe("kubernetes-type handlers", () => { | |||
} | |||
|
|||
async function deployInNamespace({ nsName, deployName }: { nsName: string; deployName: string }) { | |||
garden.setModuleConfigs([withNamespace(nsModuleConfig, nsName)]) | |||
garden.mergeModuleConfigs([withNamespace(nsModuleConfig, nsName)]) |
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.
In the previous version these tests were actually not working right because when setting the module config here we replaced the actual module configs from the test projects.
With this change we now merge the module config we're setting dynamically with the existing configs so that nothing gets overwritten.
ce93d19
to
67e8830
Compare
Before this improvement we weren't sending the action type to Cloud due to some legacy issues which have since been resolved. The action type is used in Cloud in e.g. the graph UI and on command results. Note that Cloud has already been updated to handle the action type and those changes rolled out to all users, so this is only required Core side work.
67e8830
to
234bad0
Compare
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.
👍
What this PR does / why we need it:
Sends the action type to cloud so that it can e.g. be displayed in the graph UI and in command results in general.
We weren't doing that previously because a bit of a legacy baggage but that has been resolved.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Garden Cloud itself was updated awhile ago to handle this data so this only required Core fixes.