Skip to content

chore: adopt strict validation for all command line arguments MCP-298 #822

chore: adopt strict validation for all command line arguments MCP-298

chore: adopt strict validation for all command line arguments MCP-298 #822

Triggered via pull request December 4, 2025 11:06
Status Failure
Total duration 4m 57s
Artifacts 6

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 57s
Run Atlas tests
Run Atlas Local tests
3m 5s
Run Atlas Local tests
Run git secrets
1m 40s
Run git secrets
Report Coverage
27s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
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#L58
AssertionError: expected { parsed: { …(28) }, …(2) } to strictly equal { parsed: { …(27) }, …(2) } - Expected + Received @@ -10,10 +10,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "deepInspect": true, "disabledTools": [], "dryRun": false, "embeddingsValidation": true, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, ❯ tests/unit/common/config.test.ts:58:48
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L54
AssertionError: expected { deepInspect: true, …(27) } to strictly equal { …(27) } - Expected + Received @@ -8,10 +8,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "deepInspect": true, "disabledTools": [], "dryRun": false, "embeddingsValidation": true, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, ❯ tests/unit/common/config.test.ts:54: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#L58
AssertionError: expected { parsed: { …(28) }, …(2) } to strictly equal { parsed: { …(27) }, …(2) } - Expected + Received @@ -10,10 +10,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "deepInspect": true, "disabledTools": [], "dryRun": false, "embeddingsValidation": true, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, ❯ tests/unit/common/config.test.ts:58:48
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L54
AssertionError: expected { deepInspect: true, …(27) } to strictly equal { …(27) } - Expected + Received @@ -8,10 +8,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "deepInspect": true, "disabledTools": [], "dryRun": false, "embeddingsValidation": true, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, ❯ tests/unit/common/config.test.ts:54: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#L58
AssertionError: expected { parsed: { …(28) }, …(2) } to strictly equal { parsed: { …(27) }, …(2) } - Expected + Received @@ -10,10 +10,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "deepInspect": true, "disabledTools": [], "dryRun": false, "embeddingsValidation": true, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, ❯ tests/unit/common/config.test.ts:58:48
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L54
AssertionError: expected { deepInspect: true, …(27) } to strictly equal { …(27) } - Expected + Received @@ -8,10 +8,11 @@ "drop-database", "drop-collection", "delete-many", "drop-index", ], + "deepInspect": true, "disabledTools": [], "dryRun": false, "embeddingsValidation": true, "exportCleanupIntervalMs": 120000, "exportTimeoutMs": 300000, ❯ tests/unit/common/config.test.ts:54: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 MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
atlas-local-test-results
18.8 KB
sha256:b2354a10446bccc0bd4bf4256ac41e5373a14da650ff0ae57bce2b6f326bf6b4
atlas-test-results
20.5 KB
sha256:1a4da89655f51a6b29aa506e45cff06804356964bfbb411a053de263b7881322
run-atlas-local-tests-permissions-e7bfdcd05b31432ee207d29c09f87ff1
140 Bytes
sha256:87a9b762c7fa83dc92c43603083550fd853dbb800d276493ecc4487bbb155e6b
run-atlas-tests-permissions-e28b489d72750b3cf08aa74c95889e95
140 Bytes
sha256:62706005382855a95814ef65fd7dc41109e26e00c8cb6c48f1814bd84e91d409
run-git-secrets-permissions-7aedb5fd00b4df07f5118ed8bcaf351a
140 Bytes
sha256:48bcd29a044da430e46e2c76c8635195a2c86df216e1f31b39610119b88a9802
run-tests-permissions-2be059c62f240b93a29b81af52ce78c3
140 Bytes
sha256:b8d45bcb67d8415997caeee2c68659de41398701bbfa05cf610cd3c58e9d7d04