chore: Support for proxies for Atlas tools. MCP-87 #1363
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
1m 48s
Report Coverage
29s
Annotations
20 errors, 19 warnings, and 2 notices
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
|
tests/integration/common/apiClient.test.ts > ApiClient integration test > oauth authentication proxy > should request a new token and an atlas call when the token is expired:
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
❯ tests/integration/common/apiClient.test.ts:70:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/common/apiClient.test.ts > ApiClient integration test > oauth authentication proxy > should make an atlas call when the token is not expired:
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
❯ tests/integration/common/apiClient.test.ts:62:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
|
tests/integration/common/apiClient.test.ts > ApiClient integration test > oauth authentication proxy > should request a new token and an atlas call when the token is expired:
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
❯ tests/integration/common/apiClient.test.ts:70:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/common/apiClient.test.ts > ApiClient integration test > oauth authentication proxy > should make an atlas call when the token is not expired:
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
❯ tests/integration/common/apiClient.test.ts:62: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#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/integration/common/apiClient.test.ts > ApiClient integration test > oauth authentication proxy > should request a new token and an atlas call when the token is expired:
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
❯ tests/integration/common/apiClient.test.ts:70:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/common/apiClient.test.ts > ApiClient integration test > oauth authentication proxy > should make an atlas call when the token is not expired:
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
❯ tests/integration/common/apiClient.test.ts:62:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
|
tests/integration/common/apiClient.test.ts > ApiClient integration test > oauth authentication proxy > should request a new token and an atlas call when the token is expired:
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
❯ tests/integration/common/apiClient.test.ts:70:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
tests/integration/common/apiClient.test.ts > ApiClient integration test > oauth authentication proxy > should make an atlas call when the token is not expired:
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
❯ tests/integration/common/apiClient.test.ts:62:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_URL', input: '[object Request]' }
|
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 17:11:16.890 sysadminctl[1901:11388] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-07-29 17:11:16.842 sysadminctl[1901:11388] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-07-29 17:11:16.659 sysadminctl[1901:11388] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-07-29 17:11:16.152 sysadminctl[1901:11388] ----------------------------
2025-07-29 17:11:16.152 sysadminctl[1901:11388] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-07-29 17:11:16.152 sysadminctl[1901:11388] ----------------------------
|
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
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
run-atlas-tests-permissions-a5033ebec0d663dc3815f5f963f7d3f7
|
140 Bytes |
sha256:660d6f7efc53bc7154689f7a551505bcc2939e948d02cb802030976b2fe88270
|
|
run-tests-permissions-47139cf8875f05e0b47d64cef0a5ead8
|
140 Bytes |
sha256:5b33a1244e1f80dbadab95a0860d9794e94134e198626da04e89124d76e3e230
|
|
run-tests-permissions-58a680a1ca75079852f7ce0c761cf77e
|
140 Bytes |
sha256:c6180ac918b509f68ca4ba864f1c964e092511edf85ac1b8683ff709d1c9bd23
|
|