Skip to content

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

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

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

Triggered via pull request July 28, 2025 18:35
Status Failure
Total duration 7m 29s
Artifacts 3

code_health.yaml

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

Annotations

14 errors, 19 warnings, and 2 notices
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/integration/tools/atlas/projects.test.ts > atlas > projects: src/common/atlas/apiClient.ts#L233
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.listProjects src/common/atlas/apiClient.ts:233:43 ❯ tests/integration/tools/atlas/projects.test.ts:15:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
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#L249
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:249: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#L408
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:408:43 ❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:94:18 ❯ tests/integration/tools/atlas/atlasHelpers.ts:43:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project: src/common/atlas/apiClient.ts#L249
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:249: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#L408
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:408:43 ❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:94:18 ❯ tests/integration/tools/atlas/atlasHelpers.ts:43:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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#L249
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:249: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#L408
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:408:43 ❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:94:18 ❯ tests/integration/tools/atlas/atlasHelpers.ts:43:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ 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#L249
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:249: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#L408
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:408:43 ❯ createProject tests/integration/tools/atlas/atlasHelpers.ts:94:18 ❯ tests/integration/tools/atlas/atlasHelpers.ts:43:27 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
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-28 18:35:49.549 sysadminctl[1042:6096] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-07-28 18:35:49.501 sysadminctl[1042:6096] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-07-28 18:35:49.392 sysadminctl[1042:6096] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-07-28 18:35:48.851 sysadminctl[1042:6096] ---------------------------- 2025-07-28 18:35:48.851 sysadminctl[1042:6096] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-07-28 18:35:48.851 sysadminctl[1042:6096] ----------------------------
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-720f8f08c0538160eb44919655af869e
140 Bytes
sha256:30093489b303ca352eb8a65f24e04f2ea1265b9b8491432b2ecb56a0a8c752c2
run-tests-permissions-47093ebbbfa3ff3b0cd317637eda4ac9
140 Bytes
sha256:699b2b07acd1a048920a1ffe5b43061004af5d9bef58d8ba3efae871460b05f5
run-tests-permissions-663313c39cc55b0bb5daeb033ded0406
140 Bytes
sha256:3566e4741ea6c57cfd67dafcc285a65fd539f4843deb6396b7304c6d30009172