Skip to content

feat: add ability to override parameters using HTTP headers MCP-293 #735

feat: add ability to override parameters using HTTP headers MCP-293

feat: add ability to override parameters using HTTP headers MCP-293 #735

Triggered via pull request November 26, 2025 11:34
Status Failure
Total duration 4m 40s
Artifacts 6

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 12s
Run Atlas tests
Run Atlas Local tests
2m 26s
Run Atlas Local tests
Run git secrets
1m 33s
Run git secrets
Report Coverage
22s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 1 warning
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > onlySubsetOfBaseValueOverride behavior > previewFeatures > should reject override when base is empty array and trying to add items: tests/integration/transports/configOverrides.test.ts#L542
AssertionError: expected 'Expected an error to be thrown' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Expected an error to be thrown" ❯ tests/integration/transports/configOverrides.test.ts:542:43
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#L218
AssertionError: expected [ 'apiBaseUrl', 'apiClientId', …(15) ] to deeply equal [ 'apiBaseUrl', 'apiClientId', …(14) ] - Expected + Received @@ -13,6 +13,7 @@ "maxBytesPerQuery", "maxDocumentsPerQuery", "exportsPath", "exportCleanupIntervalMs", "allowRequestOverrides", + "dryRun", ] ❯ tests/unit/common/config/configOverrides.test.ts:218:19
tests/unit/common/config.test.ts > config > should generate defaults when no config sources are populated: tests/unit/common/config.test.ts#L76
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -1,6 +1,7 @@ { + "allowRequestOverrides": false, "apiBaseUrl": "https://cloud.mongodb.com/", "atlasTemporaryDatabaseUserLifetimeMs": 14400000, "confirmationRequiredTools": [ "atlas-create-access-list", "atlas-create-db-user", ❯ tests/unit/common/config.test.ts:76:36
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L72
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -1,6 +1,7 @@ { + "allowRequestOverrides": false, "apiBaseUrl": "https://cloud.mongodb.com/", "atlasTemporaryDatabaseUserLifetimeMs": 14400000, "confirmationRequiredTools": [ "atlas-create-access-list", "atlas-create-db-user", ❯ tests/unit/common/config.test.ts:72:44
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
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#L218
AssertionError: expected [ 'apiBaseUrl', 'apiClientId', …(15) ] to deeply equal [ 'apiBaseUrl', 'apiClientId', …(14) ] - Expected + Received @@ -13,6 +13,7 @@ "maxBytesPerQuery", "maxDocumentsPerQuery", "exportsPath", "exportCleanupIntervalMs", "allowRequestOverrides", + "dryRun", ] ❯ tests/unit/common/config/configOverrides.test.ts:218:19
tests/unit/common/config.test.ts > config > should generate defaults when no config sources are populated: tests/unit/common/config.test.ts#L76
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -1,6 +1,7 @@ { + "allowRequestOverrides": false, "apiBaseUrl": "https://cloud.mongodb.com/", "atlasTemporaryDatabaseUserLifetimeMs": 14400000, "confirmationRequiredTools": [ "atlas-create-access-list", "atlas-create-db-user", ❯ tests/unit/common/config.test.ts:76:36
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L72
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -1,6 +1,7 @@ { + "allowRequestOverrides": false, "apiBaseUrl": "https://cloud.mongodb.com/", "atlasTemporaryDatabaseUserLifetimeMs": 14400000, "confirmationRequiredTools": [ "atlas-create-access-list", "atlas-create-db-user", ❯ tests/unit/common/config.test.ts:72:44
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > onlySubsetOfBaseValueOverride behavior > previewFeatures > should reject override when base is empty array and trying to add items: tests/integration/transports/configOverrides.test.ts#L542
AssertionError: expected 'Expected an error to be thrown' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Expected an error to be thrown" ❯ tests/integration/transports/configOverrides.test.ts:542:43
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
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#L218
AssertionError: expected [ 'apiBaseUrl', 'apiClientId', …(15) ] to deeply equal [ 'apiBaseUrl', 'apiClientId', …(14) ] - Expected + Received @@ -13,6 +13,7 @@ "maxBytesPerQuery", "maxDocumentsPerQuery", "exportsPath", "exportCleanupIntervalMs", "allowRequestOverrides", + "dryRun", ] ❯ tests/unit/common/config/configOverrides.test.ts:218:19
tests/unit/common/config.test.ts > config > should generate defaults when no config sources are populated: tests/unit/common/config.test.ts#L76
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -1,6 +1,7 @@ { + "allowRequestOverrides": false, "apiBaseUrl": "https://cloud.mongodb.com/", "atlasTemporaryDatabaseUserLifetimeMs": 14400000, "confirmationRequiredTools": [ "atlas-create-access-list", "atlas-create-db-user", ❯ tests/unit/common/config.test.ts:76:36
tests/unit/common/config.test.ts > config > should generate defaults from UserConfigSchema that match expected values: tests/unit/common/config.test.ts#L72
AssertionError: expected { …(27) } to strictly equal { …(26) } - Expected + Received @@ -1,6 +1,7 @@ { + "allowRequestOverrides": false, "apiBaseUrl": "https://cloud.mongodb.com/", "atlasTemporaryDatabaseUserLifetimeMs": 14400000, "confirmationRequiredTools": [ "atlas-create-access-list", "atlas-create-db-user", ❯ tests/unit/common/config.test.ts:72:44
tests/integration/transports/configOverrides.test.ts > Config Overrides via HTTP > onlySubsetOfBaseValueOverride behavior > previewFeatures > should reject override when base is empty array and trying to add items: tests/integration/transports/configOverrides.test.ts#L542
AssertionError: expected 'Expected an error to be thrown' to contain 'Error POSTing to endpoint (HTTP 400)' Expected: "Error POSTing to endpoint (HTTP 400)" Received: "Expected an error to be thrown" ❯ tests/integration/transports/configOverrides.test.ts:542:43
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.4 KB
sha256:ffa14dfa9db29f3e28dd99d3c937785193a23f10e9ce5bd9e8a30164f322ef9d
atlas-test-results
20 KB
sha256:5e6b2afc97a0f837d61971933a70b2f80bf0e12f1113b663c9122b827ddef465
run-atlas-local-tests-permissions-ae58fc53b0eef6ee0e2ab55519e8d7ff
140 Bytes
sha256:e6178cf37d86e05f1737f4f86b8ad978fd4196907067c32ba09af36307cf789f
run-atlas-tests-permissions-f530558dbf06cff3bb23c2623f5d0208
140 Bytes
sha256:59dc72c6280c145b529f642feebb5d2489f278ac644ced52562a5f9a57be1a4e
run-git-secrets-permissions-1a0db10243e6f16d8ad12ae0194135e0
140 Bytes
sha256:9c1e2379537c95cf137fca3dc34ad86185165912b0e12637c6c88ba22350057c
run-tests-permissions-384c94632ae78abdca022b641f4f055c
140 Bytes
sha256:20f4e89a4e4391676356102806052cf519ce5f561b20235fa114fc27f39736ea