feat(atlas-local): Added Atlas Local List Deployments tool #1843
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
4m 59s
Report Coverage
36s
Annotations
14 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:15: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#L27
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:27: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 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#L27
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:27: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#L27
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:27:26
|
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-033e4ebe9f12d5f5e79784aed50fac49
|
140 Bytes |
sha256:a67dbb3267d15546af5a23660c969ae4c0ece93f072e94a4a66c284f04e39bcd
|
|
run-tests-permissions-37472594e081eda257dd1bbe6828b502
|
140 Bytes |
sha256:f182265ea074eef21914e3d9b16ef874a770c1a50af6d3c845c64b7489c04b10
|
|