Skip to content

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

fix: fix the schema for embeddings parameter MCP-281

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

Triggered via pull request November 26, 2025 15:12
Status Failure
Total duration 5m 4s
Artifacts 6

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 29s
Run Atlas tests
Run Atlas Local tests
3m 22s
Run Atlas Local tests
Run git secrets
57s
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/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': '7577052819656540162' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052819656540162' } }, code: 11600, codeName: 'InterruptedAtShutdown', '$clusterTime': { clusterTime: { '$timestamp': '7577052819656540162' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052819656540162' }, 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': '7577052819656540162' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052819656540162' } }, code: 90, codeName: 'CallbackCanceled', '$clusterTime': { clusterTime: { '$timestamp': '7577052819656540162' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577052819656540162' }, errorLabels: [], errmsg: 'onInvoke :: caused by :: Callback was canceled', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>' }
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/create/createIndex.test.ts > createIndex tool when search is not enabled: tests/integration/tools/mongodb/mongodbHelpers.ts#L135
Error: Hook timed out in 120000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:135:5 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:94:32
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:59b14537939996fc21aed04c67cff17c86e2b0f2a7fbe723dea23f901e736fdd
atlas-test-results
19.7 KB
sha256:49b9bf332cd8d1e274703e74c9f2224b5cce757c9d7e80510288e3cd7ba5620c
run-atlas-local-tests-permissions-ac206390df4236cc65338ff3f67846fb
140 Bytes
sha256:3ee51126d239cfab683476471c66480d412138d5fd45b65b2c21d0206a05fba1
run-atlas-tests-permissions-808b959a719d436f9ef1c95973ce22aa
140 Bytes
sha256:2aebc816fa57e5653559bd7e65b15cca99ed367a9ea7e6548f056ecd3642769e
run-git-secrets-permissions-d65c46b4dd123f2ba38e07cc22d0cd71
140 Bytes
sha256:d9f90670d36bb04ef8a422d2528add0124653f6938db18a80c589834371f539e
run-tests-permissions-58211a48bb07f187e8b80e336918dc8e
140 Bytes
sha256:2aae3c117add70bafdaabba8cfb72002f2132861ea65465906aa0201fcbcb06e