Skip to content

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

fix: fix the schema for embeddings parameter MCP-281

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

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

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 33s
Run Atlas tests
Run Atlas Local tests
3m 11s
Run Atlas Local tests
Run git secrets
58s
Run git secrets
Report Coverage
30s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 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#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': '7577046046493114370' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577046046493114370' } }, code: 90, codeName: 'CallbackCanceled', '$clusterTime': { clusterTime: { '$timestamp': '7577046046493114370' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577046046493114370' }, errorLabels: [], errmsg: 'onInvoke :: caused by :: Callback was canceled', 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: +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': '7577045977773637634' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577045977773637634' } }, code: 11600, codeName: 'InterruptedAtShutdown', '$clusterTime': { clusterTime: { '$timestamp': '7577045977773637634' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577045977773637634' }, errorLabels: [], 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': '7577045977773637634' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577045977773637634' } }, code: 90, codeName: 'CallbackCanceled', '$clusterTime': { clusterTime: { '$timestamp': '7577045977773637634' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577045977773637634' }, errorLabels: [], errmsg: 'onInvoke :: caused by :: Callback was canceled', 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:9e2e4ceba5e085fb3a65336dda4460ab7e90f92c8745c29c71644653739c70ae
atlas-test-results
19.7 KB
sha256:fee3dd1e759f27379a9bb646b983385615b85df25c5665d2a98f31bc8594ed50
run-atlas-local-tests-permissions-64f0fbee404c873e51eb7ae8576081f1
140 Bytes
sha256:4905cec3e4f448cb0b35f225e5aa131b379358b612d83ebd9d5ccac783fc098e
run-atlas-tests-permissions-62a14518601472fe03b1e240f4616ba7
140 Bytes
sha256:ecf82c3e311a9bf1bd826e031c90c04920cf712ec9148fbe9b0b7f96d766f51e
run-git-secrets-permissions-be0982963f860e9231050db1d9adf0ff
140 Bytes
sha256:c96130fe546df7fdc693ffe121ab6371760852a64eee5d6bd558dde54121112c
run-tests-permissions-2bf9363bfcc7c5edbf6e2e9a436af8fa
140 Bytes
sha256:ff2821f218eb3d897b05e1f456cd195cccaaf112c74c130d914d13fa2618e20a