Skip to content

chore: Support for proxies for Atlas tools. MCP-87 #1359

chore: Support for proxies for Atlas tools. MCP-87

chore: Support for proxies for Atlas tools. MCP-87 #1359

Triggered via pull request July 29, 2025 13:04
@kmruizkmruiz
synchronize #407
chore/mcp-87
Status Failure
Total duration 6m 1s
Artifacts 3

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
1m 46s
Run Atlas tests
Report Coverage
36s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

17 errors, 19 warnings, and 2 notices
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 (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
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 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)
No ALTQ support in kernel ALTQ related functions disabled pf enabled
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. No ALTQ support in kernel ALTQ related functions disabled
Run MongoDB tests (macos-latest)
YES (0)
Run MongoDB tests (macos-latest)
2025-07-29 13:04:42.183 sysadminctl[1093:6388] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-07-29 13:04:42.050 sysadminctl[1093:6388] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-07-29 13:04:41.879 sysadminctl[1093:6388] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-07-29 13:04:41.278 sysadminctl[1093:6388] ----------------------------
Run MongoDB tests (macos-latest)
2025-07-29 13:04:41.277 sysadminctl[1093:6388] ---------------------------- 2025-07-29 13:04:41.278 sysadminctl[1093:6388] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
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-4050cbbcef4e48bd7245eccb3ff59b11
140 Bytes
sha256:adcabf60faa0b3453d26b5a3974bd0b071001696084a19262d6771eb02d2de4e
run-tests-permissions-442b3d63a7c4680f7af03988e5488ac6
140 Bytes
sha256:bf89061260fd8149cde6e4558af2d8250789de1dc14eb238259f565037588fb9
run-tests-permissions-cc08fa95ccca4dc4b27bf13636a01250
140 Bytes
sha256:f18221f187cd039d594ca1566254f2e8e25c2054c591f3faeee834daa2728ba4