chore: Support for proxies for Atlas tools. MCP-87 #1360
Annotations
10 errors and 5 warnings
Run tests:
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
|
Run tests:
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]' }
|
Run tests:
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]' }
|
Run tests:
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]' }
|
Run tests:
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]' }
|
Run tests:
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]' }
|
Run tests:
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]' }
|
Run tests:
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]' }
|
Run tests:
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]' }
|
Run tests:
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
|
Upload test results
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
|
Run GitHubSecurityLab/actions-permissions/monitor@v1
1 added, 0 removed; done.
|
Run GitHubSecurityLab/actions-permissions/monitor@v1
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
|
Run GitHubSecurityLab/actions-permissions/monitor@v1
Updating certificates in /etc/ssl/certs...
|
Run GitHubSecurityLab/actions-permissions/monitor@v1
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
Loading