Skip to content

chore: add support for loading config from file MCP-327 #829

chore: add support for loading config from file MCP-327

chore: add support for loading config from file MCP-327 #829

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

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 32s
Run Atlas tests
Run Atlas Local tests
3m 5s
Run Atlas Local tests
Run git secrets
52s
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/configOverrides.test.ts > configOverrides > applyConfigOverrides > secret fields > should allow overriding secret fields with headers if they have override behavior: src/common/config/configOverrides.ts#L180
Error: Config key voyageApiKey is not allowed to be overridden ❯ applyOverride src/common/config/configOverrides.ts:180:19 ❯ applyConfigOverrides src/common/config/configOverrides.ts:47:26 ❯ tests/unit/common/config/configOverrides.test.ts:261:32
tests/unit/common/config/configOverrides.test.ts > configOverrides > applyConfigOverrides > not-allowed behavior > should have some not-allowed fields: tests/unit/common/config/configOverrides.test.ts#L217
AssertionError: expected [ 'apiBaseUrl', 'apiClientId', …(16) ] to deeply equal [ 'apiBaseUrl', 'apiClientId', …(15) ] - Expected + Received @@ -12,8 +12,9 @@ "httpHeaders", "maxBytesPerQuery", "maxDocumentsPerQuery", "exportsPath", "exportCleanupIntervalMs", + "voyageApiKey", "allowRequestOverrides", "dryRun", ] ❯ tests/unit/common/config/configOverrides.test.ts:217:19
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/unit/common/config/configOverrides.test.ts > configOverrides > applyConfigOverrides > secret fields > should allow overriding secret fields with headers if they have override behavior: src/common/config/configOverrides.ts#L180
Error: Config key voyageApiKey is not allowed to be overridden ❯ applyOverride src/common/config/configOverrides.ts:180:19 ❯ applyConfigOverrides src/common/config/configOverrides.ts:47:26 ❯ tests/unit/common/config/configOverrides.test.ts:261:32
tests/unit/common/config/configOverrides.test.ts > configOverrides > applyConfigOverrides > not-allowed behavior > should have some not-allowed fields: tests/unit/common/config/configOverrides.test.ts#L217
AssertionError: expected [ 'apiBaseUrl', 'apiClientId', …(16) ] to deeply equal [ 'apiBaseUrl', 'apiClientId', …(15) ] - Expected + Received @@ -12,8 +12,9 @@ "httpHeaders", "maxBytesPerQuery", "maxDocumentsPerQuery", "exportsPath", "exportCleanupIntervalMs", + "voyageApiKey", "allowRequestOverrides", "dryRun", ] ❯ tests/unit/common/config/configOverrides.test.ts:217:19
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/unit/common/config/configOverrides.test.ts > configOverrides > applyConfigOverrides > secret fields > should allow overriding secret fields with headers if they have override behavior: src/common/config/configOverrides.ts#L180
Error: Config key voyageApiKey is not allowed to be overridden ❯ applyOverride src/common/config/configOverrides.ts:180:19 ❯ applyConfigOverrides src/common/config/configOverrides.ts:47:26 ❯ tests/unit/common/config/configOverrides.test.ts:261:32
tests/unit/common/config/configOverrides.test.ts > configOverrides > applyConfigOverrides > not-allowed behavior > should have some not-allowed fields: tests/unit/common/config/configOverrides.test.ts#L217
AssertionError: expected [ 'apiBaseUrl', 'apiClientId', …(16) ] to deeply equal [ 'apiBaseUrl', 'apiClientId', …(15) ] - Expected + Received @@ -12,8 +12,9 @@ "httpHeaders", "maxBytesPerQuery", "maxDocumentsPerQuery", "exportsPath", "exportCleanupIntervalMs", + "voyageApiKey", "allowRequestOverrides", "dryRun", ] ❯ tests/unit/common/config/configOverrides.test.ts:217:19
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.9 KB
sha256:8c9d3ba3bf73b4d5fb485221aedc801bf0aee5172c7e7f902a508fe5fdf5bece
atlas-test-results
20.5 KB
sha256:7736e6c5bd6c76a81af79b899d96c6089c56a3f917761761fd176166752a1fb7
run-atlas-local-tests-permissions-eda23e3cdacc6ad5b8833408f86bc875
140 Bytes
sha256:d850c7df38c9f5c5ca4406af6f9d7ca5ca70c7729839bff0887d3948aca0ec2e
run-atlas-tests-permissions-82d0e47de117c2b65432c67ac59ba1a9
140 Bytes
sha256:487c605d8972150c75e5ff6a00ed2d34015f23202b6cea56e797f4819ec9e914
run-git-secrets-permissions-ae754b7fe01e8ca57067e27fb8e00df8
140 Bytes
sha256:e80cc5be98c2f86753f0db39b574a939a875fce7de41fcc49936debaff09ef7e
run-tests-permissions-cc1a33de6ddd119dfa257dbb85a29114
140 Bytes
sha256:3160ca386040cae719521af5070546a9be0cc7cf1e781fdc3728ae2baf3acbb0