Skip to content

chore: bump @mongosh dependencies #2116

chore: bump @mongosh dependencies

chore: bump @mongosh dependencies #2116

Triggered via pull request September 23, 2025 09:34
Status Failure
Total duration 6m 17s
Artifacts 2

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 44s
Run Atlas tests
Report Coverage
50s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

33 errors, 10 warnings, and 1 notice
tests/integration/tools/mongodb/read/count.test.ts > count tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Found 0 documents in the collection "…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Found 0 documents in the collection "coll1"" ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/read/collectionIndexes.test.ts > collectionIndexes tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'The indexes for "68d26a02f869a546b421…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "The indexes for "68d26a02f869a546b421a04b.coll1" cannot be determined because the collection does not exist." ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/read/aggregate.test.ts > aggregate tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'The aggregation resulted in 0 documen…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "The aggregation resulted in 0 documents. Returning 0 documents." ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/read/aggregate.test.ts > find tool with default configuration > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Query on collection "coll1" resulted …' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Query on collection "coll1" resulted in 0 documents. Returning 0 documents." ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool > with invalid connection string > returns error message: tests/integration/inMemoryTransport.ts#L24
McpError: MCP error -32602: MCP error -32602: Tool connect not found ❯ Client._onresponse node_modules/@modelcontextprotocol/sdk/src/shared/protocol.ts:495:21 ❯ InMemoryTransport._transport.onmessage node_modules/@modelcontextprotocol/sdk/src/shared/protocol.ts:316:14 ❯ Object.write tests/integration/inMemoryTransport.ts:24:44 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: -32602, data: undefined }
tests/integration/common/connectionManager.test.ts > Connection Manager > when successfully connected > when disconnects > should be marked explicitly as disconnected: tests/integration/common/connectionManager.test.ts#L84
AssertionError: expected 'connected' to deeply equal 'disconnected' Expected: "disconnected" Received: "connected" ❯ tests/integration/common/connectionManager.test.ts:84:72
tests/integration/tools/mongodb/delete/deleteMany.test.ts > deleteMany tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Deleted `0` document(s) from collecti…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Deleted `0` document(s) from collection "coll1"" ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/create/insertMany.test.ts > insertMany tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Inserted `1` document(s) into collect…' to contain 'You need to connect to a MongoDB inst…' - Expected + Received - You need to connect to a MongoDB instance before you can access its data. + Inserted `1` document(s) into collection "coll1" + Inserted IDs: 68d26a2fa2e7434ae750d84d ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/create/createIndex.test.ts > createIndex tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Created the index "prop1_1" on collec…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Created the index "prop1_1" on collection "coll1" in database "68d26a1f7a6b17d92eb801fa"" ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/create/createCollection.test.ts > createCollection tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Collection "new-collection" created i…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Collection "new-collection" created in database "68d26a2931e494fcd7c13b7d"." ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool > with invalid connection string > returns error message: tests/integration/inMemoryTransport.ts#L24
McpError: MCP error -32602: MCP error -32602: Tool connect not found ❯ Client._onresponse node_modules/@modelcontextprotocol/sdk/src/shared/protocol.ts:495:21 ❯ InMemoryTransport._transport.onmessage node_modules/@modelcontextprotocol/sdk/src/shared/protocol.ts:316:14 ❯ Object.write tests/integration/inMemoryTransport.ts:24:44 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: -32602, data: undefined }
tests/integration/common/connectionManager.test.ts > Connection Manager > when successfully connected > when disconnects > should be marked explicitly as disconnected: tests/integration/common/connectionManager.test.ts#L84
AssertionError: expected 'connected' to deeply equal 'disconnected' Expected: "disconnected" Received: "connected" ❯ tests/integration/common/connectionManager.test.ts:84:72
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/clusters.test.ts > clusters > with project > atlas-connect-cluster > when not connected > prompts for atlas-connect-cluster when querying mongodb: tests/integration/tools/atlas/clusters.test.ts#L240
AssertionError: expected [ { type: 'text', …(1) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ tests/integration/tools/atlas/clusters.test.ts:240:38
tests/integration/tools/mongodb/create/createCollection.test.ts > createCollection tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Collection "new-collection" created i…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Collection "new-collection" created in database "68d26ad571f72e3f4a227994"." ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/delete/dropDatabase.test.ts > dropDatabase tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Successfully dropped database "68d26a…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Successfully dropped database "68d26ae0123b900d555f92a1"" ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/delete/dropCollection.test.ts > dropCollection tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Successfully dropped collection "coll…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Successfully dropped collection "coll1" from database "68d26ae311d0e56fd444e70b"" ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/delete/deleteMany.test.ts > deleteMany tool > when not connected > throws an error if connection string is not configured: tests/integration/tools/mongodb/mongodbHelpers.ts#L225
AssertionError: expected 'Deleted `0` document(s) from collecti…' to contain 'You need to connect to a MongoDB inst…' Expected: "You need to connect to a MongoDB instance before you can access its data." Received: "Deleted `0` document(s) from collection "coll1"" ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:225:29
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool > with invalid connection string > returns error message: tests/integration/inMemoryTransport.ts#L24
McpError: MCP error -32602: MCP error -32602: Tool connect not found ❯ Client._onresponse node_modules/@modelcontextprotocol/sdk/src/shared/protocol.ts:495:21 ❯ InMemoryTransport._transport.onmessage node_modules/@modelcontextprotocol/sdk/src/shared/protocol.ts:316:14 ❯ Object.write tests/integration/inMemoryTransport.ts:24:44 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: -32602, data: undefined }
tests/integration/common/connectionManager.test.ts > Connection Manager > when successfully connected > when disconnects > should be marked explicitly as disconnected: tests/integration/common/connectionManager.test.ts#L84
AssertionError: expected 'connected' to deeply equal 'disconnected' Expected: "disconnected" Received: "connected" ❯ tests/integration/common/connectionManager.test.ts:84:72
Report Coverage
Unable to download artifact(s): Artifact not found for name: test-results Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
Run MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
Run MongoDB tests (ubuntu-latest)
1 added, 0 removed; done.
Run MongoDB tests (ubuntu-latest)
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run MongoDB tests (ubuntu-latest)
Updating certificates in /etc/ssl/certs...
Run MongoDB tests (ubuntu-latest)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run Atlas tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
Run Atlas tests
1 added, 0 removed; done.
Run Atlas tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run Atlas tests
Updating certificates in /etc/ssl/certs...
Run Atlas tests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run MongoDB tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
run-atlas-tests-permissions-0ad1a60d15fc4d3cfb84cef25b2fd0cc
140 Bytes
sha256:0aa15b15f3e5076805687413e724aca3ae358b2933bfc71f968f96681e0b8222
run-tests-permissions-4be12cf5ce5f054fa548a30e6fdb8b21
140 Bytes
sha256:26861e8b50bcc6f7a28c05cc5ffffd26f1ef0fc062a0dc80004cb289e294bdf2