Skip to content

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

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

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

Triggered via pull request September 5, 2025 10:28
Status Failure
Total duration 10m 25s
Artifacts 2

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
5m 5s
Run Atlas tests
Report Coverage
38s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 10 warnings, and 1 notice
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/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#L272
AssertionError: expected undefined to be defined ❯ expectDefined tests/integration/helpers.ts:272:17 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:38:9
tests/integration/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should have the atlas-local-list-deployments tool: tests/integration/helpers.ts#L272
AssertionError: expected undefined to be defined ❯ expectDefined tests/integration/helpers.ts:272:17 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:23:9
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/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#L272
AssertionError: expected undefined to be defined ❯ expectDefined tests/integration/helpers.ts:272:17 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:38:9
tests/integration/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should have the atlas-local-list-deployments tool: tests/integration/helpers.ts#L272
AssertionError: expected undefined to be defined ❯ expectDefined tests/integration/helpers.ts:272:17 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:23:9
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/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#L272
AssertionError: expected undefined to be defined ❯ expectDefined tests/integration/helpers.ts:272:17 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:38:9
tests/integration/tools/atlas-local/listDeployments.test.ts > atlas-local-list-deployments > should have the atlas-local-list-deployments tool: tests/integration/helpers.ts#L272
AssertionError: expected undefined to be defined ❯ expectDefined tests/integration/helpers.ts:272:17 ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:23:9
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-21bc81a01ec5d537dc5d75939cd957ff
140 Bytes
sha256:74294ce03f9bdc3819d5b972e97b870c20999cca52a8cfbe2ce7f12ec0050a0f
run-tests-permissions-8aa01f6e9dcc256e98d819d1339669c1
140 Bytes
sha256:bbcc2bdb110702859840b9fbf7ef208ef2e2cadfd29cd01d0eeede108ef8e20e