Skip to content

chore: get default user config from schema #503

chore: get default user config from schema

chore: get default user config from schema #503

Triggered via pull request October 31, 2025 12:28
Status Failure
Total duration 7m 43s
Artifacts 5

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 16s
Run Atlas tests
Run Atlas Local tests
3m 23s
Run Atlas Local tests
Report Coverage
1m 5s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L51
AssertionError: expected { …(25) } to strictly equal { …(24) } - Expected + Received @@ -7,10 +7,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "disableEmbeddingsValidation": false, "disabledTools": [], "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "/Users/runner/.mongodb/mongodb-mcp/exports", "httpHeaders": {}, ❯ tests/unit/common/config.test.ts:51:44
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L51
AssertionError: expected { …(25) } to strictly equal { …(24) } - Expected + Received @@ -7,10 +7,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "disableEmbeddingsValidation": false, "disabledTools": [], "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "/home/runner/.mongodb/mongodb-mcp/exports", "httpHeaders": {}, ❯ tests/unit/common/config.test.ts:51:44
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L51
AssertionError: expected { …(25) } to strictly equal { …(24) } - Expected + Received @@ -7,10 +7,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "disableEmbeddingsValidation": false, "disabledTools": [], "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, "exportsPath": "C:\\Users\\runneradmin\\AppData\\Local\\mongodb\\mongodb-mcp\\exports", "httpHeaders": {}, ❯ tests/unit/common/config.test.ts:51: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 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 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 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 KB
sha256:aa98877dcd99871611c1bd9b99c7797ceddcfb059cc56a54be14ac9dccfe45f0
atlas-test-results
19.8 KB
sha256:08f010c66d64221a7951a8001dfccc3d13eaacbb3ba4a5fe6668b16cae27b2ef
run-atlas-local-tests-permissions-6cd8eb0238414fb1c60a8da34ace8585
140 Bytes
sha256:3f0865f7f76409341339e19f828023fdd09a1a0f9004ff5fd2539e3577f0fed2
run-atlas-tests-permissions-6eacc5cfc166cf7a583c63ebdc445088
140 Bytes
sha256:2f2911719558b33e410d141eea0babfb4bfba423be645d233938bf1de2b9c461
run-tests-permissions-2011ae3b7660e10a97b66787427f3e71
140 Bytes
sha256:03c9ccd31f1e0f899ab19b02de3d1b9faf783fba5d7da159b9b2463eacc46846