Skip to content

feat(atlas-local): Added Atlas Local List Deployments tool #1844

feat(atlas-local): Added Atlas Local List Deployments tool

feat(atlas-local): Added Atlas Local List Deployments tool #1844

Triggered via pull request September 4, 2025 15:21
Status Failure
Total duration 6m 25s
Artifacts 2

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
4m 56s
Run Atlas tests
Report Coverage
40s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

15 errors, 10 warnings, and 1 notice
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/integration/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should not crash when calling the tool: tests/integration/inMemoryTransport.ts#L24
McpError: MCP error -32602: MCP error -32602: Tool atlas-local-list-deployments 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/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should have correct metadata: tests/integration/helpers.ts#L268
AssertionError: expected undefined to be defined ❯ expectDefined tests/integration/helpers.ts:268:17 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:19:9
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/integration/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should not crash when calling the tool: tests/integration/tools/atlas-local/listDeployments.test.ts#L31
AssertionError: expected [ { type: 'text', …(1) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:31:26
tests/integration/transports/stdio.test.ts > StdioRunner > client connects successfully > handles requests and sends responses: tests/integration/transports/stdio.test.ts#L35
AssertionError: expected [ { …(4) }, …(21) ] to have a length of 21 but got 22 - Expected + Received - 21 + 22 ❯ tests/integration/transports/stdio.test.ts:35:36
tests/integration/server.test.ts > Server integration test > without atlas > should return positive number of tools and have no atlas tools: tests/integration/server.test.ts#L15
AssertionError: expected 1 to be less than or equal to 0 ❯ tests/integration/server.test.ts:15:43
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should not crash when calling the tool: tests/integration/tools/atlas-local/listDeployments.test.ts#L31
AssertionError: expected [ { type: 'text', …(1) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:31:26
tests/integration/tools/atlas/orgs.test.ts > orgs > atlas-list-orgs > returns org names: tests/integration/tools/atlas/orgs.test.ts#L16
AssertionError: expected 'Unable to authenticate with MongoDB A…' to contain 'Found 1 organizations' - Expected + Received - Found 1 organizations + Unable to authenticate with MongoDB Atlas, API error: [401 Unauthorized] error calling Atlas API: Unauthorized; You are not authorized for this resource. + + Hint: Your API credentials may be invalid, expired or lack permissions. + Please check your Atlas API credentials and ensure they have the appropriate permissions. + For more information on setting up API keys, visit: https://www.mongodb.com/docs/atlas/configure-api-access/ ❯ tests/integration/tools/atlas/orgs.test.ts:16:39
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should not crash when calling the tool: tests/integration/tools/atlas-local/listDeployments.test.ts#L31
AssertionError: expected [ { type: 'text', …(1) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:31:26
tests/integration/transports/stdio.test.ts > StdioRunner > client connects successfully > handles requests and sends responses: tests/integration/transports/stdio.test.ts#L35
AssertionError: expected [ { …(4) }, …(21) ] to have a length of 21 but got 22 - Expected + Received - 21 + 22 ❯ tests/integration/transports/stdio.test.ts:35:36
tests/integration/server.test.ts > Server integration test > without atlas > should return positive number of tools and have no atlas tools: tests/integration/server.test.ts#L15
AssertionError: expected 1 to be less than or equal to 0 ❯ tests/integration/server.test.ts:15:43
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-bdcea6629b7a91bedcc60dd72b4c4fc9
140 Bytes
sha256:92803f8dae39ff8d33aa32ab4b24299676ec5e5c092c87bf3f8569d50e923f3b
run-tests-permissions-682aa6d82323578683f128339a0eb218
140 Bytes
sha256:1894ca26bc27c1d10cd44e87d42e49b7f183ce0cfea6bcf379f15f6029cf1e65