Skip to content

docs(cmd): fix stale runMCPServer reference in mcp start comment#3742

Merged
knative-prow[bot] merged 1 commit into
knative:mainfrom
Ankitsinghsisodya:fix/mcp-start-comment
May 15, 2026
Merged

docs(cmd): fix stale runMCPServer reference in mcp start comment#3742
knative-prow[bot] merged 1 commit into
knative:mainfrom
Ankitsinghsisodya:fix/mcp-start-comment

Conversation

@Ankitsinghsisodya
Copy link
Copy Markdown
Contributor

Summary

Updates an inline comment in cmd/mcp.go that referred to a non-existent runMCPServer helper. The actual entry point is runMCPStart.

Motivation

Stale names in comments mislead readers when tracing how mcp start is wired.

Changes

  • cmd/mcp.go: comment under NewMCPStartCmd now references runMCPStart.

Testing

  • Not required for comment-only change; optional: make check / go test ./cmd/...

Changed the comment in cmd/mcp.go to reflect the correct function name for gathering options, updating from runMCPServer to runMCPStart. This improves clarity for future enhancements related to MCP server configuration.
Copilot AI review requested due to automatic review settings May 14, 2026 23:40
@knative-prow knative-prow Bot requested review from dsimansk and jrangelramos May 14, 2026 23:40
@knative-prow knative-prow Bot added the size/XS 🤖 PR changes 0-9 lines, ignoring generated files. label May 14, 2026
@knative-prow
Copy link
Copy Markdown

knative-prow Bot commented May 14, 2026

Hi @Ankitsinghsisodya. Thanks for your PR.

I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@knative-prow knative-prow Bot added the needs-ok-to-test 🤖 Needs an org member to approve testing label May 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates a code comment in cmd/mcp.go to reference the renamed function runMCPStart instead of runMCPServer.

Changes:

  • Comment-only update reflecting a function rename.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.96%. Comparing base (e435a89) to head (d3dcfd3).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3742      +/-   ##
==========================================
+ Coverage   56.95%   56.96%   +0.01%     
==========================================
  Files         181      181              
  Lines       21116    21116              
==========================================
+ Hits        12026    12029       +3     
+ Misses       7866     7863       -3     
  Partials     1224     1224              
Flag Coverage Δ
e2e 35.81% <ø> (-0.01%) ⬇️
e2e go 32.42% <ø> (ø)
e2e node 28.20% <ø> (ø)
e2e python 32.80% <ø> (ø)
e2e quarkus 28.34% <ø> (ø)
e2e rust 27.73% <ø> (?)
e2e springboot 26.24% <ø> (-0.03%) ⬇️
e2e typescript 28.30% <ø> (-0.03%) ⬇️
e2e-config-ci 17.70% <ø> (ø)
integration 17.30% <ø> (ø)
unit macos-14 45.05% <ø> (ø)
unit macos-latest 45.05% <ø> (ø)
unit ubuntu-24.04-arm 45.32% <ø> (ø)
unit ubuntu-latest 46.00% <ø> (ø)
unit windows-latest 45.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@gauron99 gauron99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow Bot added the lgtm 🤖 PR is ready to be merged. label May 15, 2026
@knative-prow
Copy link
Copy Markdown

knative-prow Bot commented May 15, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ankitsinghsisodya, gauron99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow Bot added the approved 🤖 PR has been approved by an approver from all required OWNERS files. label May 15, 2026
@gauron99
Copy link
Copy Markdown
Contributor

/ok-to-test

@knative-prow knative-prow Bot added ok-to-test 🤖 Non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test 🤖 Needs an org member to approve testing labels May 15, 2026
@gauron99
Copy link
Copy Markdown
Contributor

/retest

@knative-prow knative-prow Bot merged commit 56bf842 into knative:main May 15, 2026
63 of 70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. lgtm 🤖 PR is ready to be merged. ok-to-test 🤖 Non-member PR verified by an org member that is safe to test. size/XS 🤖 PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants