Skip to content

feat: add streamable http [MCP-42] #1225

feat: add streamable http [MCP-42]

feat: add streamable http [MCP-42] #1225

Triggered via pull request July 15, 2025 14:10
@fmenezesfmenezes
synchronize #361
MCP-42
Status Failure
Total duration 6m 19s
Artifacts 4

code_health.yaml

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

Annotations

13 errors, 17 warnings, and 2 notices
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/unit/transports/streamableHttp.test.ts: tests/unit/transports/streamableHttp.test.ts#L7
ReferenceError: describe is not defined ❯ tests/unit/transports/streamableHttp.test.ts:7:1
tests/unit/helpers/indexCheck.test.ts: tests/unit/helpers/indexCheck.test.ts#L2
Error: Cannot find module '../../src/helpers/indexCheck.js' imported from '/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/unit/helpers/indexCheck.test.ts' ❯ tests/unit/helpers/indexCheck.test.ts:2:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Caused by: Error: Failed to load url ../../src/helpers/indexCheck.js (resolved id: ../../src/helpers/indexCheck.js) in /home/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/unit/helpers/indexCheck.test.ts. Does the file exist? ❯ loadAndTransform node_modules/vite/dist/node/chunks/dep-DZ2tZksn.js:26412:33
tests/unit/common/apiClient.test.ts: tests/unit/common/apiClient.test.ts#L2
Error: Cannot find module '../../src/common/atlas/apiClient.js' imported from '/home/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/unit/common/apiClient.test.ts' ❯ tests/unit/common/apiClient.test.ts:2:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Caused by: Error: Failed to load url ../../src/common/atlas/apiClient.js (resolved id: ../../src/common/atlas/apiClient.js) in /home/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/unit/common/apiClient.test.ts. Does the file exist? ❯ loadAndTransform node_modules/vite/dist/node/chunks/dep-DZ2tZksn.js:26412:33
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/unit/transports/streamableHttp.test.ts: tests/unit/transports/streamableHttp.test.ts#L7
ReferenceError: describe is not defined ❯ tests/unit/transports/streamableHttp.test.ts:7:1
tests/unit/common/apiClient.test.ts: tests/unit/common/apiClient.test.ts#L2
Error: Cannot find module '../../src/common/atlas/apiClient.js' imported from '/Users/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/unit/common/apiClient.test.ts' ❯ tests/unit/common/apiClient.test.ts:2:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Caused by: Error: Failed to load url ../../src/common/atlas/apiClient.js (resolved id: ../../src/common/atlas/apiClient.js) in /Users/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/unit/common/apiClient.test.ts. Does the file exist? ❯ loadAndTransform node_modules/vite/dist/node/chunks/dep-DZ2tZksn.js:26412:33
tests/unit/helpers/indexCheck.test.ts: tests/unit/helpers/indexCheck.test.ts#L2
Error: Cannot find module '../../src/helpers/indexCheck.js' imported from '/Users/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/unit/helpers/indexCheck.test.ts' ❯ tests/unit/helpers/indexCheck.test.ts:2:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Caused by: Error: Failed to load url ../../src/helpers/indexCheck.js (resolved id: ../../src/helpers/indexCheck.js) in /Users/runner/work/mongodb-mcp-server/mongodb-mcp-server/tests/unit/helpers/indexCheck.test.ts. Does the file exist? ❯ loadAndTransform node_modules/vite/dist/node/chunks/dep-DZ2tZksn.js:26412:33
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/unit/transports/streamableHttp.test.ts: tests/unit/transports/streamableHttp.test.ts#L7
ReferenceError: describe is not defined ❯ tests/unit/transports/streamableHttp.test.ts:7:1
tests/unit/helpers/indexCheck.test.ts: tests/unit/helpers/indexCheck.test.ts#L2
Error: Cannot find module '../../src/helpers/indexCheck.js' imported from 'D:/a/mongodb-mcp-server/mongodb-mcp-server/tests/unit/helpers/indexCheck.test.ts' ❯ tests/unit/helpers/indexCheck.test.ts:2:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Caused by: Error: Failed to load url ../../src/helpers/indexCheck.js (resolved id: ../../src/helpers/indexCheck.js) in D:/a/mongodb-mcp-server/mongodb-mcp-server/tests/unit/helpers/indexCheck.test.ts. Does the file exist? ❯ loadAndTransform node_modules/vite/dist/node/chunks/dep-DZ2tZksn.js:26412:33
tests/unit/common/apiClient.test.ts: tests/unit/common/apiClient.test.ts#L2
Error: Cannot find module '../../src/common/atlas/apiClient.js' imported from 'D:/a/mongodb-mcp-server/mongodb-mcp-server/tests/unit/common/apiClient.test.ts' ❯ tests/unit/common/apiClient.test.ts:2:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Caused by: Error: Failed to load url ../../src/common/atlas/apiClient.js (resolved id: ../../src/common/atlas/apiClient.js) in D:/a/mongodb-mcp-server/mongodb-mcp-server/tests/unit/common/apiClient.test.ts. Does the file exist? ❯ loadAndTransform node_modules/vite/dist/node/chunks/dep-DZ2tZksn.js:26412:33
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 (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
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)
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-15 14:11:13.036 sysadminctl[917:5288] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-07-15 14:11:12.956 sysadminctl[917:5288] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-07-15 14:11:12.761 sysadminctl[917:5288] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-07-15 14:11:11.909 sysadminctl[917:5288] ---------------------------- 2025-07-15 14:11:11.909 sysadminctl[917:5288] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-07-15 14:11:11.909 sysadminctl[917:5288] ----------------------------
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
atlas-test-results Expired
9.58 KB
sha256:a59b6df4c16fadca09aefe28b0e8885d6f7d6ee859bb50726c1e32706b8c9fb2
run-atlas-tests-permissions-2da8b7c02aaa769c6cb23f8ac23a5b23 Expired
140 Bytes
sha256:f56982b2bd147115b7ae2d5201a9724f9dceb5a6888c969e659999e62d106a02
run-tests-permissions-b4c6ada727f7b747188f800804e653f5 Expired
140 Bytes
sha256:bc8b809b7b13fdec4f7bd5152e28640d5153618b86c1d2d8d5d9ebd72842da03
run-tests-permissions-e5392c3e8f4ba886d50b4a29cd5c9599 Expired
140 Bytes
sha256:c74193ce7a7a4d6ac19fb1df4be0bc59ff0ae05f26e8467cf8045e8eb5d4f021