Skip to content

chore: disallow overriding of internal tool implementations #757

chore: disallow overriding of internal tool implementations

chore: disallow overriding of internal tool implementations #757

Triggered via pull request November 27, 2025 14:47
Status Failure
Total duration 4m 12s
Artifacts 5

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
1m 42s
Run Atlas tests
Run Atlas Local tests
3m 4s
Run Atlas Local tests
Run git secrets
52s
Run git secrets
Report Coverage
27s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/clusters.test.ts > clusters > with project: src/common/atlas/apiClientError.ts#L31
ApiClientError: [500 Internal Server Error] error calling Atlas API: Server Error ❯ ApiClientError.fromError src/common/atlas/apiClientError.ts:31:16 ❯ ApiClient.listOrgs src/common/atlas/apiClient.ts:567:34 ❯ createGroup tests/integration/tools/atlas/atlasHelpers.ts:116:18 ❯ tests/integration/tools/atlas/atlasHelpers.ts:69:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { size: +0, constructor: 'Function<Response>', type: 'default', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/orgs', status: 500, ok: false, redirected: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', toString: 'Function<toString>', get: 'Function<get>', forEach: 'Function<forEach>', values: 'Function<values>', entries: 'Function<entries>', raw: 'Function<raw>', size: '<unserializable>: Value of "this" must be of type URLSearchParams', append: 'Function<anonymous>', delete: 'Function<anonymous>', getAll: 'Function<anonymous>', has: 'Function<anonymous>', set: 'Function<anonymous>', sort: 'Function<sort>', keys: 'Function<anonymous>' }, highWaterMark: 16384, clone: 'Function<clone>', body: { _events: { close: [ 'Function<anonymous>', 'Function<anonymous>', 'Function<onclose>' ], error: [ 'Function<anonymous>', 'Function<onerror>' ], prefinish: 'Function<prefinish>', finish: 'Function<onfinish>', drain: undefined, data: undefined, end: 'Function<onend>', readable: 'Function<next>', unpipe: undefined }, _readableState: { highWaterMark: 65536, buffer: [], bufferIndex: +0, length: +0, pipes: [], awaitDrainWriters: null, constructor: 'Function<ReadableState>', objectMode: false, ended: true, endEmitted: true, reading: false, constructed: true, sync: false, needReadable: false, emittedReadable: false, readableListening: true, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: true, destroyed: true, closed: true, closeEmitted: true, multiAwaitDrain: false, readingMore: false, dataEmitted: true, errored: null, defaultEncoding: 'utf8', decoder: null, encoding: null, flowing: false, pipesCount: +0, paused: false }, _writableState: { highWaterMark: 65536, length: +0, corked: +0, onwrite: 'Function<bound onwrite>', writelen: +0, bufferedIndex: +0, pendingcb: +0, constructor: 'Function<WritableState>', objectMode: false, finalCalled: true, needDrain: false, ending: true, ended: true, finished: true, destroyed: true, decodeStrings: true, writing: false, sync: false, bufferProcessing: false, constructed: true, prefinished: true, errorEmitted: false, emitClose: true, autoDestroy: true, closed: true, closeEmitted: true, allBuffers: true, allNoop: true, errored: null, writable: undefined, defaultEncoding: 'utf8', writecb: 'Function<nop>', afterWriteTickInfo: null, buffered: [], getBuffer: 'Function<getBuffer>', bufferedRequestCount: +0 }, allowHalfOpen: true, _maxListeners: undefined, _eventsCount: 6, constructor: 'Function<PassThrough>', _transform: 'Function<anonymous>', _final: 'Function<final>', _write: 'Function<anonymous>', _read: 'Function<anonymous>', write: 'Function<anonymous>', cork: 'Function<anonymous>', uncork: 'Function<anonymous>', setDefaultEncoding: 'Function<setDefaultEncoding>', _writev: null, end: 'Function<anonymous>', destroy: 'Function<anonymous>', writable: false, writableHighWaterMark: 65536, writableObjectMode: false, writableBuffer: [], writableLength: +0, writableFinished: true, writableCorked: +0, writableEnded: true, writableNeedDrain: false, destroyed: true, _undestroy: 'Function<undestroy>', _destroy: 'Function<anonymous>', push: 'Function<anonymous>', unshift: 'Function<anonymous>', isPaused: 'Function<anonymous>', setEncoding: 'Function<anonymous>', read: 'Function<anonymous>', pipe: 'Function<anonymous>', unpipe: 'Function<anonymous>', on: 'Function<anonymous>', addListener: 'Function<anonymous>', removeListener: 'Function<anonymous>', off: 'Function<anonymous>', removeAllListeners: 'Function<anonymous>', resume: 'Function<anonymous>', pause: 'Function<anonymous>', wrap: 'Function<anonymous>', iterator: 'Function<anonymous>', readable: false, readabl
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: mongot is shutting down ❯ Connection.sendCommand 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:561:17 ❯ Connection.command 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:635:22 ❯ Server.command 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/sdam/server.ts:350:21 ❯ tryOperation 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/operations/execute_operation.ts:289:24 ❯ executeOperation 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/operations/execute_operation.ts:119:12 ❯ Collection.createSearchIndexes 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: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: 'mongot is shutting down', code: 8, codeName: 'UnknownError', '$clusterTime': { clusterTime: { '$timestamp': '7577417728667942916' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577417728667942916' } }, code: 8, codeName: 'UnknownError', '$clusterTime': { clusterTime: { '$timestamp': '7577417728667942916' }, signature: { hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAA=', keyId: +0 } }, operationTime: { '$timestamp': '7577417728667942916' }, errorLabels: [], errmsg: 'mongot is shutting down', 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 Atlas tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
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.6 KB
sha256:cf564e43515b26f6a86b3fad9b96fd6c5551a2e67bf3b2305459cb578ad8351f
run-atlas-local-tests-permissions-81f7822d01dee018ff291d78f5e7898d
140 Bytes
sha256:63b16d9ef48c0f11f781225701875da1c12b1b8527db2abfe40af2b8b682fe3d
run-atlas-tests-permissions-db080fae08f3183d53b431ee0a603846
140 Bytes
sha256:a32b8de6e4d2c01fd89b6d207b4ee10ae8b49af62290365dc9a36d9119d6430f
run-git-secrets-permissions-3de2323a4c750f531eb37c1efb532f0f
140 Bytes
sha256:ce763ce99efd5a4fecf745214f15f5ef4e1a71bd173ab86df1a2824f650fd919
run-tests-permissions-dac478b1bcbe118bc3c2f8ce789be49a
140 Bytes
sha256:b07e7c68bbc5a50d6ccff3439b06d813da4536371a4ceefd4a06b6a0707b4553