Skip to content

chore: bump mcp SDK, refactor tool arguments #809

chore: bump mcp SDK, refactor tool arguments

chore: bump mcp SDK, refactor tool arguments #809

Triggered via pull request December 3, 2025 22:24
@gagikgagik
synchronize #779
gagik/bump-sdk
Status Failure
Total duration 3m 52s
Artifacts 5

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 29s
Run Atlas tests
Run Atlas Local tests
3m 1s
Run Atlas Local tests
Run git secrets
1m 14s
Run git secrets
Report Coverage
23s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 2 warnings
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject multiple not-allowed fields at once: tests/integration/transports/configOverrides.test.ts#L225
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:225:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxDocumentsPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxDocumentsPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxBytesPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxBytesPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'httpPort' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key httpPort is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'transport' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key transport is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientSecret' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientSecret is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientId' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientId is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiBaseUrl' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > override behavior > should not be able tooverride connectionString with header: tests/integration/transports/configOverrides.test.ts#L115
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key connectionString is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:115:39
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should return empty metadata by default: tests/unit/toolBase.test.ts#L165
AssertionError: expected { command: 'test-tool', …(5) } to not have property "test_param2" - Expected: undefined + Received: "three" ❯ tests/unit/toolBase.test.ts:165:42
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject multiple not-allowed fields at once: tests/integration/transports/configOverrides.test.ts#L225
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:225:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxDocumentsPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxDocumentsPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxBytesPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxBytesPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'httpPort' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key httpPort is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'transport' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key transport is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientSecret' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientSecret is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientId' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientId is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiBaseUrl' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > override behavior > should not be able tooverride connectionString with header: tests/integration/transports/configOverrides.test.ts#L115
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key connectionString is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:115:39
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should return empty metadata by default: tests/unit/toolBase.test.ts#L165
AssertionError: expected { command: 'test-tool', …(5) } to not have property "test_param2" - Expected: undefined + Received: "three" ❯ tests/unit/toolBase.test.ts:165:42
Run Atlas Local 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#L30
AssertionError: expected 'Error running atlas-local-list-deploy…' to contain 'No deployments found.' Expected: "No deployments found." Received: "Error running atlas-local-list-deployments: client.listDeployments is not a function" ❯ tests/integration/tools/atlas-local/listDeployments.test.ts:30:39
tests/integration/tools/atlas-local/deleteDeployment.test.ts > atlas-local-delete-deployment > should delete a deployment when calling the tool: tests/integration/tools/atlas-local/deleteDeployment.test.ts#L50
AssertionError: expected '' to contain 'test-deployment-1764800753845' - Expected + Received - test-deployment-1764800753845 ❯ tests/integration/tools/atlas-local/deleteDeployment.test.ts:50:47
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment when name is not provided: tests/integration/tools/atlas-local/createDeployment.test.ts#L143
AssertionError: expected '' to contain 'local5216' - Expected + Received - local5216 ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:143:41
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment with the correct name: tests/integration/tools/atlas-local/createDeployment.test.ts#L113
AssertionError: expected '' to contain 'test-deployment-1764800820034' - Expected + Received - test-deployment-1764800820034 ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:113:41
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment when calling the tool: tests/integration/tools/atlas-local/createDeployment.test.ts#L64
AssertionError: expected [ { type: 'text', …(1) } ] to have a length of 2 but got 1 - Expected + Received - 2 + 1 ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:64:31
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject multiple not-allowed fields at once: tests/integration/transports/configOverrides.test.ts#L225
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:225:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxDocumentsPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxDocumentsPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'maxBytesPerQuery' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key maxBytesPerQuery is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'httpPort' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key httpPort is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'transport' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key transport is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientSecret' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientSecret is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiClientId' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiClientId is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > not-allowed behavior > should reject 'apiBaseUrl' with header: tests/integration/transports/configOverrides.test.ts#L202
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key apiBaseUrl is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:202:39
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > override behavior > should not be able tooverride connectionString with header: tests/integration/transports/configOverrides.test.ts#L115
AssertionError: expected 'Streamable HTTP error: Error POSTing …' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","error":{"code":-32000,"message":"failed to handle request","data":"Config key connectionString is not allowed to be overridden"}}" ❯ tests/integration/transports/configOverrides.test.ts:115:39
tests/unit/toolBase.test.ts > ToolBase > resolveTelemetryMetadata > should return empty metadata by default: tests/unit/toolBase.test.ts#L165
AssertionError: expected { command: 'test-tool', …(5) } to not have property "test_param2" - Expected: undefined + Received: "three" ❯ tests/unit/toolBase.test.ts:165:42
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 Atlas Local tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
Run MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
atlas-test-results
20.5 KB
sha256:a40395c87d98f031beb95be38113cefff8a5a75f02a34bb2ba94d72bc21c7dfe
run-atlas-local-tests-permissions-4eb9f2c50dcb99d43a87d8856359cc6d
140 Bytes
sha256:f4bb9405b443f2c05ee9296a090d2d6d7e4a76dfbf24e3b21f392920bef80007
run-atlas-tests-permissions-16ea19868e780c2e1aec2efaa68c6ca7
140 Bytes
sha256:ff2f76ed2260f3e0db812447816051baa81417443a78091d3d5c9b77402c68f0
run-git-secrets-permissions-f95eabe6627be7513ab5bd1cd6b0109d
140 Bytes
sha256:840d2226f28d7a326f7cfac4c64962a09311a7eb18cc49e3e64d9ebfa724602f
run-tests-permissions-316cff1d2b66160443261d764dc944d3
140 Bytes
sha256:7d4d2a65b43ad42c93361738362cf4257cee6b72a79b6e729705080df53503a0