Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: warn about the usage of deprecated cli arguments MCP-107 #493

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

Merged
kmruiz merged 6 commits into main from chore/mcp-107
Sep 1, 2025

Conversation

Copy link
Collaborator

@kmruiz kmruiz commented Aug 29, 2025

Proposed changes

Checklist

@Copilot Copilot AI review requested due to automatic review settings August 29, 2025 12:24
@kmruiz kmruiz requested a review from a team as a code owner August 29, 2025 12:24
@kmruiz kmruiz self-assigned this Aug 29, 2025
Copy link
Contributor

@Copilot 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

This PR adds functionality to warn users about deprecated CLI arguments, specifically targeting the --connectionString argument. The change encourages users to adopt the preferred method of using positional arguments or environment variables for connection strings.

  • Implements a new warnAboutDeprecatedCliArgs function that checks for deprecated CLI arguments and issues warnings
  • Integrates the warning system into the CLI config parsing flow
  • Adds comprehensive unit tests to verify the deprecation warning behavior

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/common/config.ts Adds the warnAboutDeprecatedCliArgs function and integrates it into CLI parsing
tests/unit/common/config.test.ts Adds unit tests for the deprecated CLI argument warning functionality

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@kmruiz kmruiz enabled auto-merge (squash) September 1, 2025 09:37
@kmruiz kmruiz merged commit 4a54404 into main Sep 1, 2025
17 checks passed
@kmruiz kmruiz deleted the chore/mcp-107 branch September 1, 2025 09:43
Copy link
Collaborator

coveralls commented Sep 1, 2025
edited
Loading

Pull Request Test Coverage Report for Build 17373727595

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 16 of 16 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 80.948%

Totals Coverage Status
Change from base Build 17330103427: 0.04%
Covered Lines: 4536
Relevant Lines: 5519

💛 - Coveralls

nirinchev added a commit that referenced this pull request Sep 3, 2025
* main:
 feat: add more details about atlas connect flow - MCP-124 (#500)
 chore: extend library interfaces to allow injecting a custom connection error handler MCP-132 (#502)
 fix: start mcp even if connection fails - [MCP-140] (#503)
 fix: allow connect tool on readOnly mode (#499)
 chore: warn about the usage of deprecated cli arguments MCP-107 (#493)
 ci: add ipAccessList after creating project (#496)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

Copilot code review Copilot Copilot left review comments

@gagik gagik gagik approved these changes

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /