fix(controller): Correct the --analysis-threads help text #5191
<!-- coderabbit-ai-generated:v1 -->
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- review_stack_entry_start -->
<a href="https://app.coderabbit.ai/change-stack/argoproj/argo-rollouts/pull/5191?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-buttons-v1/explain-change.svg" alt="Explain Change →" height="32"></picture></a>
<!-- review_stack_entry_end -->
<!-- recent_review_status_start -->
No actionable comments were generated in the recent review.
<!-- recent_review_status_end -->
<!-- walkthrough_start -->
<details>
<summary><strong>Walkthrough</strong></summary>
<dl>
<dd>
<br>
The --analysis-threads flag description now identifies the Analysis controller instead of the Experiment controller. The flag name, default, and behavior are unchanged.
Changes: Controller flag description
|Layer / File(s)|Summary|
|:---|:---|
|Update flag description <br> cmd/rollouts-controller/main.go|The --analysis-threads description now names the Analysis controller. Its name, default, and behavior are unchanged.|
<!-- change_assessment_start -->
Estimated code review effort: 1 (Trivial) | ~2 minutes
<!-- change_assessment_commit:"39c8e761061d8aee3f80ff7ecffea2a561efd271" -->
<!-- change_assessment_priority:{"version":1,"urgency":"p3","manual":false} -->
Change: Other
<!-- change_assessment_end -->
Suggested reviewers: agaudreault
</dd>
</dl>
</details>
<!-- walkthrough_end -->
<details>
<summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>39c8e</code></summary>
<dl>
<dd>
<br>
<!-- final_review_risk_start -->
<!-- final_review_risk_label
Merge Risk: ⚪ Minimal · up to 39c8e
-->
<!-- final_review_risk_coverage:{"sourceCommitId":"39c8e761061d8aee3f80ff7ecffea2a561efd271","coveredCommitId":"39c8e761061d8aee3f80ff7ecffea2a561efd271","kind":"reviewed"} -->
This corrects a misleading help message for the analysis threads flag. It has no runtime behavior impact and is safe to merge.
<!-- final_review_risk_end -->
</dd>
</dl>
</details>
<!-- pre_merge_checks_walkthrough_start -->
<details>
<summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4</strong></summary>
<dl>
<dd>
<br>
| Check name | Status | Explanation |
| :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Title check | !Passed | The title names the change: the --analysis-threads help text is corrected. It is a conventional commit with the fix(controller) scope. It matches the single-line change in cmd/rollouts-controller/main… |
| Description check | !Passed | The description states the problem and the fix. It names the file and links the related work (#5190). The checklist is filled in. Several items are unchecked: green builds, unit or e2e tests, local te… |
| Linked Issues check | !Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | !Passed | Check skipped because no linked issues were found for this pull request. |
<details>
<summary><strong>Full details: Title check</strong></summary>
<dl>
<dd>
<br>
Explanation
The title names the change: the --analysis-threads help text is corrected. It is a conventional commit with the fix(controller) scope. It matches the single-line change in cmd/rollouts-controller/main.go, which replaces 'Experiment controller' with 'Analysis controller'. It is specific and clear.
</dd>
</dl>
</details>
<details>
<summary><strong>Full details: Description check</strong></summary>
<dl>
<dd>
<br>
Explanation
The description states the problem and the fix. It names the file and links the related work (#5190). The checklist is filled in. Several items are unchecked: green builds, unit or e2e tests, local test runs, and USERS.md. The template also asks for an issue number suffix in the title, and the title has none. The description is mostly complete for a one-word bug fix.
</dd>
</dl>
</details>
</dd>
</dl>
</details>
<!-- pre_merge_checks_walkthrough_end -->
<!-- autopilot:start -->
<!-- autopilot:end -->
<!-- tips_start -->
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
<details>
<summary><strong>Share</strong></summary>
<dl>
<dd>
<br>
</dd>
</dl>
</details>
<!-- tips_end -->
<!-- recent_review_start -->
<h6>
<details>
<summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Recent review info</strong></summary>
<dl>
<dd>
<br>
<!-- review_info_content -->
<details>
<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary>
<dl>
<dd>
<br>
a51e0014-7889-4391-9548-caaec6efca5d</dd>
</dl>
</details>
<details>
<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary>
<dl>
<dd>
<br>
Reviewing files that changed from the base of the PR and between 9962f9327bcb9568b948a721294c9659efdad535 and 39c8e761061d8aee3f80ff7ecffea2a561efd271.
</dd>
</dl>
</details>
<details>
<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 1</strong></summary>
<dl>
<dd>
<br>
cmd/rollouts-controller/main.go</dd>
</dl>
</details>
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
</dd>
</dl>
</details>
</h6>
<!-- recent_review_end -->
 Quality Gate passed
Issues
 0 New issues
 0 Accepted issues
Measures
 0 Security Hotspots
 0.0% Coverage on New Code
 0.0% Duplication on New Code
<!-- sqra-placement-anchor -->
See analysis details on SonarQube Cloud
Published E2E Test Results
4 files 4 suites 4h 26m 30s ⏱️
150 tests 141 ✅ 7 💤 2 ❌
602 runs 572 ✅ 28 💤 2 ❌
For more details on these failures, see this check.
Results for commit 39c8e761.
[test-results]:data:application/gzip;base64,H4sIAFJQ92oC/03MSw6DIBSF4a0Yxh0AKo9upiF4b0Kq0vAYNd17r7aiw/87yXkzDDNkdu+GW8dyDaXFVJMrIa6UYrSWE9FY8t6tHrl6v9EgTnqGF5FugC7MBLIBpBQTyXaT6rp9Ki7/cVyO+pTfozQHXB73vh76uCyhULDeegNaCa7EZBxAj4YjavCI4KQblQCcpBbs8wUIe7CWCAEAAA==
Published Unit Test Results
2 671 tests 2 671 ✅ 3m 29s ⏱️
131 suites 0 💤
1 files 0 ❌
Results for commit 39c8e761.
[test-results]:data:application/gzip;base64,H4sIAFlQ92oC/2XMSw7CIBSF4a00jB0AjUDdjCFwb3JjWwyPkXHvQusDdfh/Jzk3hjRDYqdBHAaWCuU9xpa+RJsprBUknyrUMbdZKi1eeU7FuT+70LUafwNamr8AYgzxKbGs3Wurn9OdPp9bd5db948uLAvlGmycnAGtBFfCGwswouGIGhwiWGmPSgB6qQW7PwB0+SAMCwEAAA==
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 85.27%. Comparing base (
601f4cb) to head (39c8e76).:warning: Report is 7 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
@@ Coverage Diff @@
## master #5191 +/- ##
==========================================
- Coverage 85.27% 85.27% -0.01%
==========================================
Files 167 167
Lines 19596 19597 +1
==========================================
Hits 16711 16711
Misses 2027 2027
- Partials 858 859 +1
| Flag | Coverage Δ | |
|---|---|---|
| e2e | 53.16% <100.00%> (+0.07%) | :arrow_up: |
| unit-tests | 81.78% <100.00%> (+0.01%) | :arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
</details>
:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
Thanks!
kostis-codefresh
bhavishyajain545
--analysis-threadssets the worker threads of the Analysis controller, but its help text said "Experiment controller", copied from the--experiment-threadsline above it. One-word fix incmd/rollouts-controller/main.go; noticed while writing the controller flags reference in #5190.Checklist:
[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional with a list of types and scopes found here, (b) states what changed, and (c) suffixes the related issues number. E.g.
"fix(controller): Updates such and such. Fixes #1234".[x] I've signed my commits with DCO
[ ] My builds are green. Try syncing with master if they are not.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] I have run all tests locally (including the flaky ones) and they pass on my workstation
[x] I have used LLM/AI/Agent tools for this PR but I am responsible for all code of this PR
[x] I understand what the code does and WHY/HOW it works in several scenarios
[x] I know if my code is just adding new functionality or changing old functionality for existing users
[ ] My organization is added to USERS.md.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Documentation
Corrected the
--analysis-threadsflag description to reference the Analysis controller.<!-- end of auto-generated comment: release notes by coderabbit.ai -->