Skip to content

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

fix: fix the schema for embeddings parameter MCP-281

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

Triggered via pull request November 26, 2025 14:20
Status Failure
Total duration 5m 0s
Artifacts 6

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 56s
Run Atlas tests
Run Atlas Local tests
4m 5s
Run Atlas Local tests
Run git secrets
54s
Run git secrets
Report Coverage
22s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts > collectionIndexes tool without voyage API key > does not return search indexes: tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts#L336
MongoServerError: Error connecting to Search Index Management service. ❯ 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 ❯ tests/integration/tools/mongodb/metadata/collectionIndexes.test.ts:336:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'Error connecting to Search Index Management service.', code: 125, codeName: 'CommandFailed', '$clusterTime': { clusterTime: { '$timestamp': '7577039981999292419' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577039981999292419' } }, code: 125, codeName: 'CommandFailed', '$clusterTime': { clusterTime: { '$timestamp': '7577039981999292419' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577039981999292419' }, errorLabels: [], errmsg: 'Error connecting to Search Index Management service.', 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 connected to MongoDB with search support > and attempting to delete 'an index from non-existent database' (namespace - 'non-existent-db' 'non-existent-coll') > should fail with appropriate error: tests/integration/tools/mongodb/delete/dropIndex.test.ts#L80
MongoServerError: interrupted at shutdown ❯ 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 ❯ 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: { ok: +0, errmsg: 'interrupted at shutdown', code: 11600, codeName: 'InterruptedAtShutdown', '$clusterTime': { clusterTime: { '$timestamp': '7577039835970404354' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577039835970404354' } }, code: 11600, codeName: 'InterruptedAtShutdown', '$clusterTime': { clusterTime: { '$timestamp': '7577039835970404354' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577039835970404354' }, errorLabels: [ 'ResetPool' ], errmsg: 'interrupted at shutdown', 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 connected to MongoDB with search support > and attempting to delete 'an index from non-existent database' (namespace - 'non-existent-db' 'non-existent-coll') > should fail with appropriate error: 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': '7577039835970404354' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577039835970404354' } }, code: 90, codeName: 'CallbackCanceled', '$clusterTime': { clusterTime: { '$timestamp': '7577039835970404354' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577039835970404354' }, errorLabels: [], errmsg: 'onInvoke :: caused by :: Callback was canceled', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>' }
tests/integration/tools/mongodb/create/insertMany.test.ts > insertMany tool when search is enabled > should have correct metadata: tests/integration/tools/mongodb/create/insertMany.test.ts#L130
MongoServerError: interrupted at shutdown ❯ 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 ❯ 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/create/insertMany.test.ts:130:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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: 'interrupted at shutdown', code: 11600, codeName: 'InterruptedAtShutdown', '$clusterTime': { clusterTime: { '$timestamp': '7577039771545894914' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577039771545894914' } }, code: 11600, codeName: 'InterruptedAtShutdown', '$clusterTime': { clusterTime: { '$timestamp': '7577039771545894914' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577039771545894914' }, errorLabels: [], errmsg: 'interrupted at shutdown', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>' }
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.

Artifacts

Produced during runtime
Name Size Digest
atlas-local-test-results
18 KB
sha256:d91a81568487b9dc071f6ce41c53b0a39244e70f71561c77267c9aa213d98b58
atlas-test-results
19.8 KB
sha256:def3044bda05500afd50400e0ee91c3db3991104e81083cd33d713ac08f9f611
run-atlas-local-tests-permissions-5bb2b9687b3d2d0c13f0daad56882e73
140 Bytes
sha256:afa7215c4928ba76e45a53be4be691f7318ff5c3856627dbde4bd3f9641da9af
run-atlas-tests-permissions-b0cad1e2062f4776650988c92c2e6be5
140 Bytes
sha256:63a196458622c44fb79b0bb03612fda64e339cc3c100d1db168a99256570dc71
run-git-secrets-permissions-efbc57d5c34ba1ef0f11c52debc8732f
140 Bytes
sha256:3daa10799c510b259584d49b87f529572cb1a4f4084a2216c7e785aba7ced3d7
run-tests-permissions-a124fbf3ce328fcfbfd726509e733938
140 Bytes
sha256:21c2d083febabb373371a63ebbfc70dc5a981cd0a3f9a65a5783179d0ad78ef4