-
Notifications
You must be signed in to change notification settings - Fork 4
Add the option to Zathras to turn on and off pcp in the wrappers. #315
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
will be on by default.
PullHero ReviewProvider: generativelanguage.googleapis.com Model: gemini-2.0-flash Okay, I've reviewed the proposed changes. Here's my analysis: OverviewThis PR introduces a new command-line option, Analysis1. Code Quality and Maintainability:
2. Potential Bugs or Security Issues:
3. Adherence to Project Conventions:
4. Documentation Completeness:
Specific Feedback
Revised Code SuggestionHere's a revised snippet from --- a/bin/burden
+++ b/bin/burden
@@ -140,7 +140,7 @@ gl_spot_recover=1
gl_cloud_placement=${value_not_set}
gl_cloud_networks_sys="duplicate"
gl_preflight=0
-gl_pcp_state="--use_pcp"
+gl_pcp_state="true"
#
# Global values
# gl_sys_file: sysctl files to use.
@@ -1930,7 +1930,7 @@ create_ansible_options()
echo " test_exec_location: none" >> ansible_vars_main.yml
fi
- echo " pcp_state: ${gl_pcp_state}" >> ansible_vars_main.yml
+ echo " pcp_state: ${gl_pcp_state}" >> ansible_vars_main.yml
And the corresponding change in --- a/ansible_roles/roles/test_generic/tasks/main.yml
+++ b/ansible_roles/roles/test_generic/tasks/
**Vote**: +1
**[PullHero](https://github.com/pullhero/)** |
|
This relates to RPOPC-683 |
kdvalin
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.
Change option to --use_pcp simplifies down the number of options across Zathras and wrappers
PullHero ReviewProvider: generativelanguage.googleapis.com Model: gemini-2.0-flash Okay, I've reviewed the proposed changes. Here's my analysis: OverviewThis PR introduces a new command-line option, AnalysisCode Quality and Maintainability
Potential Bugs or Security Issues
Adherence to Project Conventions
Documentation Completeness
Specific Feedback
Suggested Improvements
ConclusionThe changes are well-structured and achieve the intended functionality. Addressing the recommendations would improve the robustness and clarity of the changes. Vote: +1 Vote: +1 |
kdvalin
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.
LGTM
Description
Add the option to Zathras to turn on and off pcp in the wrappers. PCP will be on by default.
Requires redhat-performance/test_tools-wrappers#112 to be fixed at the same time.
Before/After Comparison
Before: Zathras did nothing with the --use_pcp option to the wrappers.
After: Zathras will nw set by default --use_pcp, user may override via --pcp_state 0
Documentation Check
Yes. Both usage for burden and the documentation has been updated.
Clerical Stuff
This closes #314
Relates to JIRA: RPOPC-683