Skip to content

Conversation

gagik
Copy link
Contributor

@gagik gagik commented Sep 19, 2025

Updates the mongosh service provider. Among other things, this allows us to no longer be broken with mongosh VSCode tests

Blocked by mongodb-js/mongodb-mcp-server#574

See also: mongodb-js/mongosh#2538

Updates the mongosh service provider. Among other things, this allows us to no longer be broken with mongosh VSCode tests
@gagik gagik requested a review from a team as a code owner September 19, 2025 12:17
@Copilot Copilot AI review requested due to automatic review settings September 19, 2025 12:17
Copy link

@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 updates mongosh dependencies to newer versions and removes the boolean parameter from service provider close() method calls to align with the updated API. This change ensures compatibility with the latest mongosh versions and fixes VSCode test issues.

  • Updated mongosh packages to version 3.23.0 and related dependencies
  • Removed boolean parameter from close() method calls across the codebase
  • Updated service provider core dependency to version 3.6.0

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

File Description
package.json Updated mongosh package versions to 3.23.0 and service-provider-core to 3.6.0
src/mcp/mcpConnectionManager.ts Removed boolean parameter from provider close() call
src/language/worker.ts Removed boolean parameter from serviceProvider close() call
src/language/mongoDBService.ts Removed boolean parameter from serviceProvider close() call

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

@gagik gagik added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Sep 19, 2025
@gagik gagik marked this pull request as draft September 19, 2025 12:23
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/mongodb-build-info/-/mongodb-build-info-1.7.2.tgz",
"integrity": "sha512-eoLFZvCIjcwijYJdxvYupj1c+55VAVm0o4gBJjrcDxxmmpm+bC4Ix9ayZbyhQdVXDZAGDi03NA0GghXjBVXnxg==",
"node_modules/mongodb-mcp-server/node_modules/@mongosh/service-provider-node-driver": {
Copy link
Contributor

Choose a reason for hiding this comment

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

^ This is probably the reason for the test failure – you basically always want @mongosh/service-provider-node-driver to be hoisted without duplicates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants