Skip to content

chore: add developer guide and code examples to extend MCP server via library exports MCP-299 #754

chore: add developer guide and code examples to extend MCP server via library exports MCP-299

chore: add developer guide and code examples to extend MCP server via library exports MCP-299 #754

Re-run triggered November 26, 2025 20:45
Status Failure
Total duration 4m 57s
Artifacts 7

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 0s
Run Atlas tests
Run Atlas Local tests
2m 58s
Run Atlas Local tests
Run git secrets
47s
Run git secrets
Report Coverage
22s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

4 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': '7577138817786707975' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577138817786707975' } }, code: 11600, codeName: 'InterruptedAtShutdown', '$clusterTime': { clusterTime: { '$timestamp': '7577138817786707975' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577138817786707975' }, 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': '7577138817786707975' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577138817786707975' } }, code: 90, codeName: 'CallbackCanceled', '$clusterTime': { clusterTime: { '$timestamp': '7577138817786707975' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577138817786707975' }, 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
run-tests-permissions-710df16cdea66c5167b02fa947471cfe
140 Bytes
sha256:4a59fd4f1463a31354cdd289419c8af216b91a9acea3d3d9ffdbbb14bbd3704c