fix: minor tweaks to enable vscode integration MCP-134 #1627
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
3m 0s
Report Coverage
42s
Annotations
17 errors, 19 warnings, and 3 notices
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
|
tests/integration/transports/streamableHttp.test.ts > StreamableHttpRunner > with headers:
src/helpers/deviceId.ts#L24
Error: DeviceId instance already exists, use get() to retrieve the device ID
❯ Function.create src/helpers/deviceId.ts:24:19
❯ new TransportRunnerBase src/transports/base.ts:33:34
❯ new StreamableHttpRunner src/transports/streamableHttp.ts:34:9
❯ tests/integration/transports/streamableHttp.test.ts:35:26
|
tests/unit/common/exportsManager.test.ts > ExportsManager unit test > #cleanupExpiredExports > should cleanup expired exports:
tests/unit/common/exportsManager.test.ts#L556
AssertionError: expected [] to deep equally contain ObjectContaining{…}
- Expected:
ObjectContaining {
"exportName": "foo.bar.68a86eb7e0b5d084b60e3995.json",
"exportURI": "exported-data://foo.bar.68a86eb7e0b5d084b60e3995.json",
}
+ Received:
[]
❯ tests/unit/common/exportsManager.test.ts:556:46
|
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
|
tests/integration/transports/streamableHttp.test.ts > StreamableHttpRunner > with headers:
src/helpers/deviceId.ts#L24
Error: DeviceId instance already exists, use get() to retrieve the device ID
❯ Function.create src/helpers/deviceId.ts:24:19
❯ new TransportRunnerBase src/transports/base.ts:33:34
❯ new StreamableHttpRunner src/transports/streamableHttp.ts:34:9
❯ tests/integration/transports/streamableHttp.test.ts:35:26
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can connect with the expected user:
tests/integration/common/connectionManager.oidc.test.ts#L177
AssertionError: expected undefined to deeply equal { user: 'dev/testuser', …(1) }
- Expected:
{
"db": "$external",
"user": "dev/testuser",
}
+ Received:
undefined
❯ tests/integration/common/connectionManager.oidc.test.ts:177:63
❯ tests/integration/common/connectionManager.oidc.test.ts:121:25
|
Run Atlas tests
Process completed with exit code 1.
|
tests/integration/tools/atlas/projects.test.ts > atlas > projects > atlas-list-projects > returns project names:
tests/integration/tools/atlas/projects.test.ts#L66
AssertionError: expected 'Unable to authenticate with MongoDB A…' to contain 'testProj-68a86f07e6132ac8af154758'
- Expected
+ Received
- testProj-68a86f07e6132ac8af154758
+ Unable to authenticate with MongoDB Atlas, API error: [401 Unauthorized] error calling Atlas API: Unauthorized; You are not authorized for this resource.
+
+ Hint: Your API credentials may be invalid, expired or lack permissions.
+ Please check your Atlas API credentials and ensure they have the appropriate permissions.
+ For more information on setting up API keys, visit: https://www.mongodb.com/docs/atlas/configure-api-access/
❯ tests/integration/tools/atlas/projects.test.ts:66:47
|
tests/integration/tools/atlas/projects.test.ts > atlas > projects > atlas-create-project > should create a project:
tests/integration/tools/atlas/projects.test.ts#L47
AssertionError: expected 'Error running atlas-create-project: C…' to contain 'testProj-68a86f07e6132ac8af154758'
Expected: "testProj-68a86f07e6132ac8af154758"
Received: "Error running atlas-create-project: Could not search for organizations in your MongoDB Atlas account, please provide an organization ID or create one first."
❯ tests/integration/tools/atlas/projects.test.ts:47:47
|
tests/integration/tools/atlas/projects.test.ts > atlas > projects:
src/common/atlas/apiClientError.ts#L31
ApiClientError: [401 Unauthorized] error calling Atlas API: Unauthorized; You are not authorized for this resource.
❯ Function.fromError src/common/atlas/apiClientError.ts:31:16
❯ ApiClient.listProjects src/common/atlas/apiClient.ts:321:34
❯ tests/integration/tools/atlas/projects.test.ts:15:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { size: +0, constructor: 'Function<Response>', type: 'default', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/groups', status: 401, ok: false, redirected: false, statusText: 'Unauthorized', 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, readableDidRead: true, readableAborted: false, re
|
tests/integration/tools/atlas/orgs.test.ts > atlas > orgs > atlas-list-orgs > returns org names:
tests/integration/tools/atlas/orgs.test.ts#L21
AssertionError: expected [ { …(1) }, { …(1) } ] to have a length of 1 but got 2
- Expected
+ Received
- 1
+ 2
❯ tests/integration/tools/atlas/orgs.test.ts:21:26
|
tests/integration/tools/atlas/alerts.test.ts > atlas > alerts > atlas-list-alerts > project:
src/common/atlas/apiClientError.ts#L31
ApiClientError: [401 Unauthorized] error calling Atlas API: Unauthorized; You are not authorized for this resource.
❯ Function.fromError src/common/atlas/apiClientError.ts:31:16
❯ ApiClient.listOrganizations src/common/atlas/apiClient.ts:514:34
❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:97:18
❯ tests/integration/tools/atlas/atlasHelpers.ts:46:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { size: +0, constructor: 'Function<Response>', type: 'default', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/orgs', status: 401, ok: false, redirected: false, statusText: 'Unauthorized', 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<anonymou
|
tests/integration/transports/streamableHttp.test.ts > StreamableHttpRunner > with headers:
src/helpers/deviceId.ts#L24
Error: DeviceId instance already exists, use get() to retrieve the device ID
❯ Function.create src/helpers/deviceId.ts:24:19
❯ new TransportRunnerBase src/transports/base.ts:33:34
❯ new StreamableHttpRunner src/transports/streamableHttp.ts:34:9
❯ tests/integration/transports/streamableHttp.test.ts:35:26
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can connect with the expected user:
tests/integration/common/connectionManager.oidc.test.ts#L177
AssertionError: expected undefined to deeply equal { user: 'dev/testuser', …(1) }
- Expected:
{
"db": "$external",
"user": "dev/testuser",
}
+ Received:
undefined
❯ tests/integration/common/connectionManager.oidc.test.ts:177:63
❯ tests/integration/common/connectionManager.oidc.test.ts:121:25
|
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
|
tests/integration/transports/streamableHttp.test.ts > StreamableHttpRunner > with headers:
src/helpers/deviceId.ts#L24
Error: DeviceId instance already exists, use get() to retrieve the device ID
❯ Function.create src/helpers/deviceId.ts:24:19
❯ new TransportRunnerBase src/transports/base.ts:33:34
❯ new StreamableHttpRunner src/transports/streamableHttp.ts:34:9
❯ tests/integration/transports/streamableHttp.test.ts:35:26
|
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 (macos-latest)
No ALTQ support in kernel
ALTQ related functions disabled
pf enabled
|
Run MongoDB tests (macos-latest)
No ALTQ support in kernel
ALTQ related functions disabled
|
Run MongoDB tests (macos-latest)
pfctl: Use of -f option, could result in flushing of rules
present in the main ruleset added by the system at startup.
See /etc/pf.conf for further details.
|
Run MongoDB tests (macos-latest)
YES (0)
|
Run MongoDB tests (macos-latest)
2025-08-22 13:20:02.564 sysadminctl[1182:6916] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-08-22 13:20:02.511 sysadminctl[1182:6916] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-08-22 13:20:02.401 sysadminctl[1182:6916] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-08-22 13:20:01.891 sysadminctl[1182:6916] ----------------------------
2025-08-22 13:20:01.891 sysadminctl[1182:6916] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-08-22 13:20:01.891 sysadminctl[1182:6916] ----------------------------
|
Run MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
|
Run MongoDB tests (ubuntu-latest)
1 added, 0 removed; done.
|
Run MongoDB tests (ubuntu-latest)
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
|
Run MongoDB tests (ubuntu-latest)
Updating certificates in /etc/ssl/certs...
|
Run MongoDB tests (ubuntu-latest)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
Run Atlas tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
|
Run Atlas tests
1 added, 0 removed; done.
|
Run Atlas tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
|
Run Atlas tests
Updating certificates in /etc/ssl/certs...
|
Run Atlas tests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Run MongoDB tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
run-atlas-tests-permissions-0c338fee6b79a6ce580565f470c9fef1
|
140 Bytes |
sha256:715dc86e2df8ff667a9b058a54f10d9943b51357dc00d8a39a4d0d14dcf67230
|
|
run-tests-permissions-304eb76a36b4648c993f2f6869f321ef
|
140 Bytes |
sha256:9cccf7b6135f820c7744cf860654a7b24a4ae0a3ab5ddbca9cf31667a3e4dac1
|
|
run-tests-permissions-fb2d3bc2263e054afb9a2fab974ef86e
|
140 Bytes |
sha256:c1de85ced556366c15a606a6545d61200cca30a9dbdc66b21b7eda0e01495505
|
|