chore: Support for proxies for Atlas tools. MCP-87 #1360
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 9s
Report Coverage
29s
Annotations
17 errors, 19 warnings, and 2 notices
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
|
tests/unit/common/apiClient.test.ts > ApiClient > oauth authentication proxy > should send the oauth request through a proxy if configured:
tests/unit/common/apiClient.test.ts#L132
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ tests/unit/common/apiClient.test.ts:132:26
|
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 [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ tests/integration/tools/atlas/orgs.test.ts:21:26
|
tests/integration/tools/atlas/dbUsers.test.ts > atlas > db users > project:
src/common/atlas/apiClient.ts#L309
TypeError: Invalid URL
❯ new Request node_modules/node-fetch/src/request.js:55:16
❯ node_modules/node-fetch/src/index.js:51:19
❯ fetch node_modules/node-fetch/src/index.js:49:9
❯ Object.assign.agent.agent node_modules/@mongodb-js/devtools-proxy-support/src/fetch.ts:58:20
❯ coreFetch node_modules/openapi-fetch/src/index.js:162:20
❯ ApiClient.deleteProject src/common/atlas/apiClient.ts:309:37
❯ tests/integration/tools/atlas/atlasHelpers.ts:50:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/tools/atlas/dbUsers.test.ts > atlas > db users > project:
src/common/atlas/apiClient.ts#L468
TypeError: Invalid URL
❯ new Request node_modules/node-fetch/src/request.js:55:16
❯ node_modules/node-fetch/src/index.js:51:19
❯ fetch node_modules/node-fetch/src/index.js:49:9
❯ Object.assign.agent.agent node_modules/@mongodb-js/devtools-proxy-support/src/fetch.ts:58:20
❯ coreFetch node_modules/openapi-fetch/src/index.js:162:20
❯ ApiClient.listOrganizations src/common/atlas/apiClient.ts:468:43
❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:94:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project:
src/common/atlas/apiClient.ts#L309
TypeError: Invalid URL
❯ new Request node_modules/node-fetch/src/request.js:55:16
❯ node_modules/node-fetch/src/index.js:51:19
❯ fetch node_modules/node-fetch/src/index.js:49:9
❯ Object.assign.agent.agent node_modules/@mongodb-js/devtools-proxy-support/src/fetch.ts:58:20
❯ coreFetch node_modules/openapi-fetch/src/index.js:162:20
❯ ApiClient.deleteProject src/common/atlas/apiClient.ts:309:37
❯ tests/integration/tools/atlas/atlasHelpers.ts:50:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project:
src/common/atlas/apiClient.ts#L468
TypeError: Invalid URL
❯ new Request node_modules/node-fetch/src/request.js:55:16
❯ node_modules/node-fetch/src/index.js:51:19
❯ fetch node_modules/node-fetch/src/index.js:49:9
❯ Object.assign.agent.agent node_modules/@mongodb-js/devtools-proxy-support/src/fetch.ts:58:20
❯ coreFetch node_modules/openapi-fetch/src/index.js:162:20
❯ ApiClient.listOrganizations src/common/atlas/apiClient.ts:468:43
❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:94:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/tools/atlas/alerts.test.ts > atlas > alerts > atlas-list-alerts > project:
src/common/atlas/apiClient.ts#L309
TypeError: Invalid URL
❯ new Request node_modules/node-fetch/src/request.js:55:16
❯ node_modules/node-fetch/src/index.js:51:19
❯ fetch node_modules/node-fetch/src/index.js:49:9
❯ Object.assign.agent.agent node_modules/@mongodb-js/devtools-proxy-support/src/fetch.ts:58:20
❯ coreFetch node_modules/openapi-fetch/src/index.js:162:20
❯ ApiClient.deleteProject src/common/atlas/apiClient.ts:309:37
❯ tests/integration/tools/atlas/atlasHelpers.ts:50:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/tools/atlas/alerts.test.ts > atlas > alerts > atlas-list-alerts > project:
src/common/atlas/apiClient.ts#L468
TypeError: Invalid URL
❯ new Request node_modules/node-fetch/src/request.js:55:16
❯ node_modules/node-fetch/src/index.js:51:19
❯ fetch node_modules/node-fetch/src/index.js:49:9
❯ Object.assign.agent.agent node_modules/@mongodb-js/devtools-proxy-support/src/fetch.ts:58:20
❯ coreFetch node_modules/openapi-fetch/src/index.js:162:20
❯ ApiClient.listOrganizations src/common/atlas/apiClient.ts:468:43
❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:94:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/tools/atlas/accessLists.test.ts > atlas > ip access lists > project:
src/common/atlas/apiClient.ts#L309
TypeError: Invalid URL
❯ new Request node_modules/node-fetch/src/request.js:55:16
❯ node_modules/node-fetch/src/index.js:51:19
❯ fetch node_modules/node-fetch/src/index.js:49:9
❯ Object.assign.agent.agent node_modules/@mongodb-js/devtools-proxy-support/src/fetch.ts:58:20
❯ coreFetch node_modules/openapi-fetch/src/index.js:162:20
❯ ApiClient.deleteProject src/common/atlas/apiClient.ts:309:37
❯ tests/integration/tools/atlas/atlasHelpers.ts:50:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/tools/atlas/accessLists.test.ts > atlas > ip access lists > project:
src/common/atlas/apiClient.ts#L468
TypeError: Invalid URL
❯ new Request node_modules/node-fetch/src/request.js:55:16
❯ node_modules/node-fetch/src/index.js:51:19
❯ fetch node_modules/node-fetch/src/index.js:49:9
❯ Object.assign.agent.agent node_modules/@mongodb-js/devtools-proxy-support/src/fetch.ts:58:20
❯ coreFetch node_modules/openapi-fetch/src/index.js:162:20
❯ ApiClient.listOrganizations src/common/atlas/apiClient.ts:468:43
❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:94:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/unit/common/apiClient.test.ts > ApiClient > oauth authentication proxy > should send the oauth request through a proxy if configured:
tests/unit/common/apiClient.test.ts#L132
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ tests/unit/common/apiClient.test.ts:132:26
|
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
|
tests/unit/common/apiClient.test.ts > ApiClient > oauth authentication proxy > should send the oauth request through a proxy if configured:
tests/unit/common/apiClient.test.ts#L132
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ tests/unit/common/apiClient.test.ts:132:26
|
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
|
tests/unit/common/apiClient.test.ts > ApiClient > oauth authentication proxy > should send the oauth request through a proxy if configured:
tests/unit/common/apiClient.test.ts#L132
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ tests/unit/common/apiClient.test.ts:132: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-07-29 13:07:09.080 sysadminctl[2295:12352] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-07-29 13:07:08.999 sysadminctl[2295:12352] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-07-29 13:07:08.842 sysadminctl[2295:12352] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-07-29 13:07:08.005 sysadminctl[2295:12352] ----------------------------
2025-07-29 13:07:08.006 sysadminctl[2295:12352] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-07-29 13:07:08.006 sysadminctl[2295:12352] ----------------------------
|
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 (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 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
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
run-atlas-tests-permissions-ef7a27598ff6515bc50fbda607be5ef7
|
140 Bytes |
sha256:92c933a78f2135c8595af8a932c41f9141a171f344cb4171e979b4fccc3d19da
|
|
run-tests-permissions-49ddf034f93505831ec2658a3277d52c
|
140 Bytes |
sha256:fbf7fa61d868b3f3199d24c980ec6f503c744fb410af15dfeefb63e7ff34e9fe
|
|
run-tests-permissions-7ccd80dc35611fb6473d682f51e1f2b1
|
140 Bytes |
sha256:79d90968674f6c8df6718e917242593d35f9f56ca7a8a367a18c1c9ad746e459
|
|