Skip to content

chore: fix publish workflow for MCP registry #856

chore: fix publish workflow for MCP registry

chore: fix publish workflow for MCP registry #856

Triggered via pull request December 8, 2025 13:13
Status Failure
Total duration 4m 54s
Artifacts 6

code-health.yml

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

Annotations

9 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' > should fail with appropriate error: tests/integration/tools/mongodb/delete/dropIndex.test.ts#L66
MongoBulkWriteError: connection 1 to [::1]:32773 closed ❯ executeCommands node_modules/.pnpm/mongodb@6.21.0_kerberos@2.2.2_mongodb-client-encryption@6.5.0_socks@2.8.7/node_modules/mongodb/src/bulk/common.ts:581:15 ❯ node_modules/.pnpm/mongodb@6.21.0_kerberos@2.2.2_mongodb-client-encryption@6.5.0_socks@2.8.7/node_modules/mongodb/src/bulk/common.ts:1190:16 ❯ MongoClient.withSession node_modules/.pnpm/mongodb@6.21.0_kerberos@2.2.2_mongodb-client-encryption@6.5.0_socks@2.8.7/node_modules/mongodb/src/mongo_client.ts:949:14 ❯ OrderedBulkOperation.execute node_modules/.pnpm/mongodb@6.21.0_kerberos@2.2.2_mongodb-client-encryption@6.5.0_socks@2.8.7/node_modules/mongodb/src/bulk/common.ts:1189:14 ❯ Collection.bulkWrite node_modules/.pnpm/mongodb@6.21.0_kerberos@2.2.2_mongodb-client-encryption@6.5.0_socks@2.8.7/node_modules/mongodb/src/collection.ts:391:12 ❯ Collection.insertMany node_modules/.pnpm/mongodb@6.21.0_kerberos@2.2.2_mongodb-client-encryption@6.5.0_socks@2.8.7/node_modules/mongodb/src/collection.ts:324:19 ❯ tests/integration/tools/mongodb/delete/dropIndex.test.ts:66: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: 2, symmetricDifference: 'Function<symmetricDifference>', union: 'Function<union>', values: 'Function<values>', keys: 'Function<values>' }, errorResponse: { stack: 'MongoNetworkError: connection 1 to [::1]:32773 closed\n at Connection.onClose (/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/node_modules/.pnpm/mongodb@6.21.0_kerberos@2.2.2_mongodb-client-encryption@6.5.0_socks@2.8.7/node_modules/mongodb/src/cmap/connection.ts:323:18)\n at Socket.emit (node:events:520:35)\n at TCP.<anonymous> (node:net:346:12)', message: 'connection 1 to [::1]:32773 closed', cause: undefined, 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, connectionGeneration: +0, constructor: 'Function<MongoNetworkError>', name: 'MongoNetworkError', errorLabels: [ 'HandshakeError', 'ResetPool' ], errmsg: 'connection 1 to [::1]:32773 closed', hasErrorLabel: 'Function<hasErrorLabel>', addErrorLabel: 'Function<addErrorLabel>', toString: 'Function<toString>' }, beforeHandshake: false, connectionGeneration: +0, writeErrors: [], result: { result: { ok: 1, writeErrors: [], writeConcernErrors: [], insertedIds: [ { index: +0, _id: '6936cf7242d478c5639de38d' } ], nInserted: +0, nUpserted: +0, nMatched: +0, nModified: +0, nRemoved: +0, upserted: [] }, insertedCount: +0, matchedCount: +0, modifiedCount: +0, deletedCount: +0, upsertedCount: +0, upsertedIds: {}, insertedIds: { '0': '6936cf7242d478c5639de38d' }, constructor: 'Function<BulkWriteResult>', ok: 1, getSuccessfullyInsertedIds: 'Function<getSuccessfullyInsertedIds>', getUpsertedIdAt: 'Function<getUpsertedIdAt>', getRawResponse: 'Function<getRawResponse>', hasWriteErrors: 'Function<hasWriteErrors>', getWriteErrorCount: 'Function<getWriteErrorCount>', getWriteErrorAt: 'Function<getWriteErrorAt>', getWriteErrors: 'Function<getWriteErrors>', getWriteConcernError: 'Function<getWriteConcernError>', toString: 'Function<toString>', isOk: 'Function<isOk>' }, insertedCount: +0, matchedCount: +0, mo
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: device-flow > gets requested by the agent to connect: tests/integration/helpers.ts#L382
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:382:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: device-flow > gets requested by the agent to connect: tests/integration/helpers.ts#L382
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:382:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: device-flow > gets requested by the agent to connect: tests/integration/helpers.ts#L382
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:382:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: device-flow > gets requested by the agent to connect: tests/integration/helpers.ts#L382
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:382:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: device-flow > gets requested by the agent to connect: tests/integration/helpers.ts#L382
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:382:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: device-flow > gets requested by the agent to connect: tests/integration/common/connectionManager.oidc.test.ts#L111
Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ it tests/integration/common/connectionManager.oidc.test.ts:111:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:255:17 ❯ getUserConfig tests/integration/common/connectionManager.oidc.test.ts:153:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:103:9
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.9 KB
sha256:7eeaec00dc289673519315c1004cfe6fce4c4d65e904d9a7559c2842784a429a
atlas-test-results
20.5 KB
sha256:a7fbea162f2daaeb811be57cb997542522504c4d72e0efec2b7518e92072bbff
run-atlas-local-tests-permissions-e61e5d148e6d240770e1c8e9e556a5b3
140 Bytes
sha256:37b258c52ed86edf38eb6789dc68f1f96ecac40049f20200ab5371d74eb4dc75
run-atlas-tests-permissions-f1ec85770b382e29ad0f4ec132b48699
140 Bytes
sha256:d31f362a6f93937fe36203de8d86ca8b4ddff38e2e46b328e40d72b9148e9dca
run-git-secrets-permissions-9635cac3dd4342c6f8f119184f4d28a6
140 Bytes
sha256:b52c44f5392bb69e5a3cd9f8253a88172281407880842d05fa4f2f6659b32c36
run-tests-permissions-3565b7f482468981ee3327c2f8c8713b
140 Bytes
sha256:0bf8f5836c867ac892e04f12d718549d6e06d28c68646ac861cf3e7ecd03bf2e