Skip to content

chore: bump @mongosh dependencies #2115

chore: bump @mongosh dependencies

chore: bump @mongosh dependencies #2115

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

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
3m 0s
Run Atlas tests
Report Coverage
47s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

33 errors, 10 warnings, and 1 notice
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: 68d268f235e9ac45e71f61d7 ❯ 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 "68d268de41be10c1e21e8682"" ❯ 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 "68d268ebf62c26d0d97fd9fb"." ❯ 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: 68d26905ee09ee3f23371256 ❯ 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 "68d268f6a1f4833f03a8f4ae"" ❯ 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 "68d269007eaf98d6166f851f"." ❯ 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/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: 68d269dea12b96e87f5dd368 ❯ 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 "68d269c3064fe6494971f376"" ❯ 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 "68d269d4dea0c85aae12a6d3"." ❯ 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-9bb80df1adc683001566b385910da15b
140 Bytes
sha256:310de1beba10000d312446e27e2315789f6175eea48e3c3ae3e4e82d82c85f37
run-tests-permissions-00a331adcb3fbc7d808bc814de62d2ab
140 Bytes
sha256:f9c905cc59a81a29e2d0fd04c725bbf9054844fbcdeadfeaeb9c5b4672981bc2