← Back to Pull requests

fix(controller): Correct the --analysis-threads help text #5191

Merged
bhavishyajain545 merged 1 files (2 lines) on Nov 14, 2026 23:08 UTC
View on GitHub
bhavishyajain545 bhavishyajain545 commented on Nov 13, 2026 17:18 UTC
Author

--analysis-threads sets the worker threads of the Analysis controller, but its help text said "Experiment controller", copied from the --experiment-threads line above it. One-word fix in cmd/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-threads flag description to reference the Analysis controller.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 2 lines (+1 / -1) across 1 files Reviewer: kostis-codefresh Review duration: 1790m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.10) × (1 − Review Confidence (0.87)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.10 · 2 lines diff across 1 files
0.10
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.92 · 5 substantive comment(s)
0.92
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
86%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.066
Real PR Conversation Timeline
7 items
coderabbitai[bot] coderabbitai[bot] commented on Nov 13, 2026 17:18 UTC
Bot

<!-- 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&amp;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 -->

  • <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

  • <!-- 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>

  • X

  • Mastodon

  • Reddit

  • LinkedIn
  • </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>

  • Source mode: Auto

  • Repository: Unavailable

  • Branch: Unavailable

  • File: No configuration file from this repository applied

  • Commit: Unavailable

  • Layers: Repository UI

  • Review profile: CHILL

  • Plan: Advanced

  • Run ID: 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 -->

    github-actions[bot] github-actions[bot] commented on Nov 13, 2026 18:00 UTC
    Bot

    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==

    github-actions[bot] github-actions[bot] commented on Nov 13, 2026 18:00 UTC
    Bot

    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[bot] codecov[bot] commented on Nov 13, 2026 18:01 UTC
    Bot

    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>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

  • </details>

    kostis-codefresh kostis-codefresh approved these changes on Nov 14, 2026 23:08 UTC
    Approved Reviewer

    Thanks!

    Assignees
    bhavishyajain545 bhavishyajain545
    Labels
    risk: low confidence: 86.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 9.6% (LOW) · Higher = larger blast radius
    9.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 86.7% · Lower = rushed or shallow review
    86.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 2% · Safe to merge
    2%