-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fixes #15783: Make class_prefix unique #1071
Fixes #15783: Make class_prefix unique #1071
Conversation
# @class_prefix command_execution | ||
# @class_parameter command_name | ||
|
||
bundle agent command_execution(command_name) | ||
{ | ||
vars: | ||
"old_class_prefix" string => canonify("command_execution_${command_name}"); | ||
"old_class_prefix" string => canonify("${report_data.canonified_directive_id}_command_execution_${command_name}"); |
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 tricky we are changing the expected outcome classes, maybe we should add a third one ?
PR updated with a new commit |
1 similar comment
PR updated with a new commit |
PR rebased |
adb0cf0
to
373db52
Compare
Commit modified |
373db52
to
7ce7197
Compare
PR updated with a new commit |
1 similar comment
PR updated with a new commit |
PR rebased |
177de25
to
821ea3b
Compare
@@ -1173,7 +1173,7 @@ bundle agent ncf_services(service, action) | |||
"canonified_action" string => canonify("${action}"); | |||
"canonified_action_command" string => canonify("${action_command}"); | |||
|
|||
"class_prefix" string => "ncf_services_${canonified_service}_${canonified_action}"; | |||
"class_prefix" string => "${report_data.canonified_directive_id}_ncf_services_${canonified_service}_${canonified_action}"; |
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 breaks all services methods, that use "ncf_services_*" classes for all conditions
This not good enough, we should wait to have a proper id for each call done by the generation before trying to fix this, or it will seem super hacky |
https://issues.rudder.io/issues/15783