Skip to content

fix: fix the schema for embeddings parameter MCP-281 #745

fix: fix the schema for embeddings parameter MCP-281

fix: fix the schema for embeddings parameter MCP-281 #745

Triggered via pull request November 26, 2025 15:09
Status Failure
Total duration 5m 23s
Artifacts 5

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
4m 52s
Run Atlas tests
Run Atlas Local tests
3m 37s
Run Atlas Local tests
Run git secrets
1m 5s
Run git secrets
Report Coverage
23s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts > collection-indexes tool with Search > when there are Atlas search indexes > returns them alongside the regular indexes: tests/integration/tools/mongodb/mongodbHelpers.ts#L285
Error: Timed out in waitFor! ❯ waitUntilSearchIsReady tests/integration/tools/mongodb/mongodbHelpers.ts:285:14 ❯ tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts:132:19
tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts > collection-indexes tool with Search > when there are vector search indexes > returns the list of existing indexes and detects if they are queryable: tests/integration/tools/mongodb/mongodbHelpers.ts#L285
Error: Timed out in waitFor! ❯ waitUntilSearchIsReady tests/integration/tools/mongodb/mongodbHelpers.ts:285:14 ❯ tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts:132:19
tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts > collection-indexes tool with Search > when there are vector search indexes > returns the list of existing indexes: tests/integration/tools/mongodb/mongodbHelpers.ts#L285
Error: Timed out in waitFor! ❯ waitUntilSearchIsReady tests/integration/tools/mongodb/mongodbHelpers.ts:285:14 ❯ tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts:132:19
tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts > collection-indexes tool with Search > when there are no search indexes > returns just the regular indexes: tests/integration/tools/mongodb/mongodbHelpers.ts#L285
Error: Timed out in waitFor! ❯ waitUntilSearchIsReady tests/integration/tools/mongodb/mongodbHelpers.ts:285:14 ❯ tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts:132:19
tests/integration/tools/mongodb/delete/dropIndex.test.ts > drop-index tool > when vector search feature flag is enabled > dropping vector search indexes > when invoked via an elicitation enabled client > should not drop the index if the confirmation was not provided: tests/integration/tools/mongodb/delete/dropIndex.test.ts#L80
MongoServerSelectionError: connection <monitor> to [::1]:32774 closed ❯ Topology.selectServer node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/sdam/topology.ts:635:30 ❯ tryOperation node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/execute_operation.ts:202:16 ❯ executeOperation node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/execute_operation.ts:119:12 ❯ dropCollections node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/drop.ts:99:10 ❯ Db.dropCollection node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/db.ts:412:12 ❯ Collection.drop node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/collection.ts:518:12 ❯ tests/integration/tools/mongodb/delete/dropIndex.test.ts:80:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errorLabelSet: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', difference: 'Function<difference>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', intersection: 'Function<intersection>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>', size: +0, symmetricDifference: 'Function<symmetricDifference>', union: 'Function<union>', values: 'Function<values>', keys: 'Function<values>' }, reason: { type: 'Single', servers: { 'localhost:32774': { address: 'localhost:32774', type: 'Unknown', hosts: [], passives: [], arbiters: [], tags: {}, minWireVersion: +0, maxWireVersion: +0, roundTripTime: -1, minRoundTripTime: +0, lastUpdateTime: 254302, lastWriteDate: +0, error: { errorLabelSet: {}, beforeHandshake: false }, topologyVersion: null, setName: null, setVersion: null, electionId: null, logicalSessionTimeoutMinutes: null, maxMessageSizeBytes: null, maxWriteBatchSize: null, maxBsonObjectSize: null, primary: null, me: null, '$clusterTime': null, iscryptd: false } }, stale: false, compatible: true, heartbeatFrequencyMS: 10000, localThresholdMS: 15, setName: null, maxElectionId: null, maxSetVersion: null, commonWireVersion: +0, logicalSessionTimeoutMinutes: null }, code: undefined, errorLabels: [], errmsg: 'connection <monitor> to [::1]:32774 closed', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>' } Caused by: Caused by: MongoNetworkError: connection <monitor> to [::1]:32774 closed ❯ Connection.onClose node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/cmap/connection.ts:323:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errorLabelSet: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', difference: 'Function<difference>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', intersection: 'Function<intersection>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>', size: 2, symmetricDifference: 'Function<symmetricDifference>', union: 'Function<union>', values: 'Function<values>', keys: 'Function<values>' }, beforeHandshake: false, errorLabels: [ 'HandshakeError', 'ResetPool' ], errmsg: 'connection <monitor> to [::1]:32774 closed', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>' }
tests/integration/tools/mongodb/delete/dropIndex.test.ts > drop-index tool > when vector search feature flag is enabled > dropping vector search indexes > when invoked via an elicitation enabled client > should not drop the index if the confirmation was not provided: tests/integration/tools/mongodb/delete/dropIndex.test.ts#L64
MongoBulkWriteError: connection <monitor> to [::1]:32774 closed ❯ executeCommands node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/bulk/common.ts:581:15 ❯ node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/bulk/common.ts:1190:16 ❯ MongoClient.withSession node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/mongo_client.ts:949:14 ❯ OrderedBulkOperation.execute node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/bulk/common.ts:1189:14 ❯ Collection.bulkWrite node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/collection.ts:391:12 ❯ Collection.insertMany node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/collection.ts:324:19 ❯ tests/integration/tools/mongodb/delete/dropIndex.test.ts:64:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errorLabelSet: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', difference: 'Function<difference>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', intersection: 'Function<intersection>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>', size: +0, symmetricDifference: 'Function<symmetricDifference>', union: 'Function<union>', values: 'Function<values>', keys: 'Function<values>' }, errorResponse: { stack: 'MongoServerSelectionError: connection <monitor> to [::1]:32774 closed\n at Topology.selectServer (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/sdam/topology.ts:635:30)\n at tryOperation (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/execute_operation.ts:202:16)\n at executeOperation (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/execute_operation.ts:119:12)\n at executeCommands (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/bulk/common.ts:555:16)\n at /home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/bulk/common.ts:1190:16\n at MongoClient.withSession (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/mongo_client.ts:949:14)\n at OrderedBulkOperation.execute (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/bulk/common.ts:1189:14)\n at Collection.bulkWrite (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/collection.ts:391:12)\n at Collection.insertMany (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/collection.ts:324:19)\n at /home/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/integration/tools/mongodb/delete/dropIndex.test.ts:64:9', message: 'connection <monitor> to [::1]:32774 closed', cause: { stack: 'MongoNetworkError: connection <monitor> to [::1]:
tests/integration/tools/mongodb/delete/dropIndex.test.ts > drop-index tool > when vector search feature flag is enabled > dropping vector search indexes > when invoked via an elicitation enabled client > should ask for confirmation before proceeding with tool call: tests/integration/tools/mongodb/delete/dropIndex.test.ts#L80
MongoWriteConcernError: Replication is being shut down ❯ throwIfWriteConcernError node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/write_concern.ts:180:13 ❯ Server.command node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/sdam/server.ts:351:33 ❯ tryOperation node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/execute_operation.ts:289:24 ❯ executeOperation node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/execute_operation.ts:119:12 ❯ dropCollections node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/drop.ts:99:10 ❯ Db.dropCollection node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/db.ts:412:12 ❯ Collection.drop node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/collection.ts:518:12 ❯ tests/integration/tools/mongodb/delete/dropIndex.test.ts:80:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errorLabelSet: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', difference: 'Function<difference>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', intersection: 'Function<intersection>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>', size: 1, symmetricDifference: 'Function<symmetricDifference>', union: 'Function<union>', values: 'Function<values>', keys: 'Function<values>' }, errorResponse: { code: 91, codeName: 'ShutdownInProgress', errmsg: 'Replication is being shut down', errInfo: { writeConcern: { w: 'majority', wtimeout: +0, provenance: 'implicitDefault' } }, nIndexesWas: 1, ns: 'mflix.movies', writeConcernError: { code: 91, codeName: 'ShutdownInProgress', errmsg: 'Replication is being shut down', errInfo: { writeConcern: { w: 'majority', wtimeout: +0, provenance: 'implicitDefault' } } }, ok: 1, '$clusterTime': { clusterTime: { '$timestamp': '7577052192591314950' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052192591314950' } }, code: 91, codeName: 'ShutdownInProgress', errInfo: { writeConcern: { w: 'majority', wtimeout: +0, provenance: 'implicitDefault' } }, nIndexesWas: 1, ns: 'mflix.movies', writeConcernError: { code: 91, codeName: 'ShutdownInProgress', errmsg: 'Replication is being shut down', errInfo: { writeConcern: { w: 'majority', wtimeout: +0, provenance: 'implicitDefault' } } }, '$clusterTime': { clusterTime: { '$timestamp': '7577052192591314950' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052192591314950' }, result: { nIndexesWas: 1, ns: 'mflix.movies', writeConcernError: { code: 91, codeName: 'ShutdownInProgress', errmsg: 'Replication is being shut down', errInfo: { writeConcern: { w: 'majority', wtimeout: +0, provenance: 'implicitDefault' } } }, ok: 1, '$clusterTime': { clusterTime: { '$timestamp': '7577052192591314950' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052192591314950' } }, errorLabels: [ 'ResetPool' ], errmsg: 'Replication is being shut down', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>' }
tests/integration/tools/mongodb/delete/dropIndex.test.ts > drop-index tool > when vector search feature flag is enabled > dropping vector search indexes > when invoked via an elicitation enabled client > should ask for confirmation before proceeding with tool call: tests/integration/tools/mongodb/delete/dropIndex.test.ts#L71
MongoServerError: onInvoke :: caused by :: Callback was canceled ❯ Connection.sendCommand node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/cmap/connection.ts:561:17 ❯ Connection.command node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/cmap/connection.ts:635:22 ❯ Server.command node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/sdam/server.ts:350:21 ❯ tryOperation node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/execute_operation.ts:289:24 ❯ executeOperation node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/operations/execute_operation.ts:119:12 ❯ Collection.createSearchIndexes node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/collection.ts:1280:12 ❯ Collection.createSearchIndex node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/mongodb/src/collection.ts:1266:21 ❯ tests/integration/tools/mongodb/delete/dropIndex.test.ts:71:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errorLabelSet: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', difference: 'Function<difference>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', intersection: 'Function<intersection>', isSubsetOf: 'Function<isSubsetOf>', isSupersetOf: 'Function<isSupersetOf>', isDisjointFrom: 'Function<isDisjointFrom>', size: +0, symmetricDifference: 'Function<symmetricDifference>', union: 'Function<union>', values: 'Function<values>', keys: 'Function<values>' }, errorResponse: { ok: +0, errmsg: 'onInvoke :: caused by :: Callback was canceled', code: 90, codeName: 'CallbackCanceled', '$clusterTime': { clusterTime: { '$timestamp': '7577052192591314949' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052192591314949' } }, code: 90, codeName: 'CallbackCanceled', '$clusterTime': { clusterTime: { '$timestamp': '7577052192591314949' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052192591314949' }, errorLabels: [], errmsg: 'onInvoke :: caused by :: Callback was canceled', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>' }
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/clusters.test.ts > clusters > with project > atlas-connect-cluster > connects to cluster: tests/integration/tools/atlas/clusters.test.ts#L169
AssertionError: expected 'Attempting to connect to cluster "Clu…' to contain 'Connected to cluster' - Expected + Received - Connected to cluster + Attempting to connect to cluster "ClusterTest-69271883b818f5f484c31cf2"... + Warning: Provisioning a user and connecting to the cluster may take more time, please check again in a few seconds. + Note: Your current IP address has been added to the Atlas project's IP access list to enable secure connection. + Note: A temporary user has been created to enable secure connection to the cluster. For more information, see https://dochub.mongodb.org/core/mongodb-mcp-server-tools-considerations + + Note to LLM Agent: it is important to include the following link in your response to the user in case they want to get more information about the temporary user created: https://dochub.mongodb.org/core/mongodb-mcp-server-tools-considerations ❯ tests/integration/tools/atlas/clusters.test.ts:169:37
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 Atlas tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
atlas-local-test-results
18 KB
sha256:661dd7439560b4e3d88383a3d166f0bc920d00d0d7a021dd53fb58003a7f0b90
run-atlas-local-tests-permissions-7611dcf130debe82e72a358606cda4ea
140 Bytes
sha256:00bd8ed6f39ecd7c195929d46e103a5ea4e80c8dbb2c27e8e75f33f5963c94a1
run-atlas-tests-permissions-924e171bc2fc2c1b2b1b31ce6545cc04
140 Bytes
sha256:bb584bc4251551d3af9ad4ede4fb275a8b19728e7ffc331984323d0e70736950
run-git-secrets-permissions-5d555502a690d52556ac90ffcde746bb
140 Bytes
sha256:c6265b31f66d1116aa84014ed4c8b85cd024fce30605efc517a864917b76016c
run-tests-permissions-b12b9bfd6dc7e94dd79c3421db8c6e56
140 Bytes
sha256:8c16021ec910b24b9b8000e0474e446a10708c5170d880dceceb81fec37fa51b