Skip to content

feat: introduces dry mode for CLI MCP-297 #675

feat: introduces dry mode for CLI MCP-297

feat: introduces dry mode for CLI MCP-297 #675

Triggered via pull request November 24, 2025 12:17
Status Failure
Total duration 7m 38s
Artifacts 6

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 49s
Run Atlas tests
Run Atlas Local tests
2m 4s
Run Atlas Local tests
Run git secrets
51s
Run git secrets
Report Coverage
39s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/unit/common/config.test.ts > config > should generate defaults when no config sources are populated: tests/unit/common/config.test.ts#L77
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -9,10 +9,11 @@ "delete-many", "drop-index", ], "disableEmbeddingsValidation": false, "disabledTools": [], + "dry": false, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "/Users/runner/.mongodb/mongodb-mcp/exports", "httpHeaders": {}, "httpHost": "127.0.0.1", ❯ tests/unit/common/config.test.ts:77:36
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L73
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -9,10 +9,11 @@ "delete-many", "drop-index", ], "disableEmbeddingsValidation": false, "disabledTools": [], + "dry": false, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "/Users/runner/.mongodb/mongodb-mcp/exports", "httpHeaders": {}, "httpHost": "127.0.0.1", ❯ tests/unit/common/config.test.ts:73:44
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/unit/common/config.test.ts > config > should generate defaults when no config sources are populated: tests/unit/common/config.test.ts#L77
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -9,10 +9,11 @@ "delete-many", "drop-index", ], "disableEmbeddingsValidation": false, "disabledTools": [], + "dry": false, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "/home/runner/.mongodb/mongodb-mcp/exports", "httpHeaders": {}, "httpHost": "127.0.0.1", ❯ tests/unit/common/config.test.ts:77:36
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L73
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -9,10 +9,11 @@ "delete-many", "drop-index", ], "disableEmbeddingsValidation": false, "disabledTools": [], + "dry": false, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "/home/runner/.mongodb/mongodb-mcp/exports", "httpHeaders": {}, "httpHost": "127.0.0.1", ❯ tests/unit/common/config.test.ts:73:44
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/unit/common/config.test.ts > config > should generate defaults when no config sources are populated: tests/unit/common/config.test.ts#L77
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -9,10 +9,11 @@ "delete-many", "drop-index", ], "disableEmbeddingsValidation": false, "disabledTools": [], + "dry": false, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "C:\\Users\\runneradmin\\AppData\\Local\\mongodb\\mongodb-mcp\\exports", "httpHeaders": {}, "httpHost": "127.0.0.1", ❯ tests/unit/common/config.test.ts:77:36
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L73
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -9,10 +9,11 @@ "delete-many", "drop-index", ], "disableEmbeddingsValidation": false, "disabledTools": [], + "dry": false, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "C:\\Users\\runneradmin\\AppData\\Local\\mongodb\\mongodb-mcp\\exports", "httpHeaders": {}, "httpHost": "127.0.0.1", ❯ tests/unit/common/config.test.ts:73:44
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 git secrets
1 added, 0 removed; done.
Run git secrets
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run git secrets
Updating certificates in /etc/ssl/certs...
Run Atlas Local tests
1 added, 0 removed; done.
Run Atlas Local tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run Atlas Local tests
Updating certificates in /etc/ssl/certs...
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 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...

Artifacts

Produced during runtime
Name Size Digest
atlas-local-test-results
18.2 KB
sha256:fdeff7a827b8ece84ecab583280a6c09edc369311710ee26febc131f5b2bc5d6
atlas-test-results
19.9 KB
sha256:4487b30fa29b067890530b2d78518d02a33cc37d6853296cbb2f5d9e5b677860
run-atlas-local-tests-permissions-4967d9f4b8f08b668cde3b3ee2d41a40
140 Bytes
sha256:48fbd051ff264b8a80e8a64e88c04b808fefe0e783cd6f0a90941a14c34585b9
run-atlas-tests-permissions-362ef41213ca8c012e7841fc62022d66
140 Bytes
sha256:72a8d58fba4598f9552c8519849776fc1905ccd69f0cdc1eed63621b0ae4d594
run-git-secrets-permissions-fa533ba1f1ac8c7032f9cb933a04ec4e
140 Bytes
sha256:d7800e65ae1e62a0df9ee103685434b85648853148f9a74bcc595dd232113da5
run-tests-permissions-db75958dc29d3325f492dd514939d7fa
140 Bytes
sha256:f7db1fe31e57f4d31ceaf9c86e0c20c9a5edde953cbf45023e4617b729897838