feat: support for OIDC connectivity between the MCP Server and a MongoDB Cluster MCP-84 #1550
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
7m 40s
Report Coverage
42s
Annotations
32 errors, 19 warnings, and 3 notices
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
|
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled > is not suggested when querying MongoDB disconnected:
tests/integration/tools/mongodb/connect/connect.test.ts#L157
AssertionError: expected [ { type: 'text', …(1) }, …(2) ] to have a length of 2 but got 3
- Expected
+ Received
- 2
+ 3
❯ tests/integration/tools/mongodb/connect/connect.test.ts:157:26
|
tests/unit/common/session.test.ts > Session > connectToMongoDB > should configure the proxy to use environment variables:
tests/unit/common/session.test.ts#L77
AssertionError: expected undefined to deeply equal { useEnvironmentVariableProxies: true }
- Expected:
{
"useEnvironmentVariableProxies": true,
}
+ Received:
undefined
❯ tests/unit/common/session.test.ts:77:45
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: device-flow:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: device-flow:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: auth-flow;nonce=true:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: auth-flow;nonce=false:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
|
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled > is not suggested when querying MongoDB disconnected:
tests/integration/tools/mongodb/connect/connect.test.ts#L157
AssertionError: expected [ { type: 'text', …(1) }, …(2) ] to have a length of 2 but got 3
- Expected
+ Received
- 2
+ 3
❯ tests/integration/tools/mongodb/connect/connect.test.ts:157:26
|
tests/unit/common/session.test.ts > Session > connectToMongoDB > should configure the proxy to use environment variables:
tests/unit/common/session.test.ts#L77
AssertionError: expected undefined to deeply equal { useEnvironmentVariableProxies: true }
- Expected:
{
"useEnvironmentVariableProxies": true,
}
+ Received:
undefined
❯ tests/unit/common/session.test.ts:77:45
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: device-flow:
tests/integration/tools/mongodb/mongodbHelpers.ts#L109
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:109:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:66:32
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: auth-flow;nonce=true:
tests/integration/tools/mongodb/mongodbHelpers.ts#L109
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:109:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:66:32
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: auth-flow;nonce=false:
tests/integration/tools/mongodb/mongodbHelpers.ts#L109
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:109:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:66:32
|
Run Atlas tests
Process completed with exit code 1.
|
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled > is not suggested when querying MongoDB disconnected:
tests/integration/tools/mongodb/connect/connect.test.ts#L157
AssertionError: expected [ { type: 'text', …(1) }, …(2) ] to have a length of 2 but got 3
- Expected
+ Received
- 2
+ 3
❯ tests/integration/tools/mongodb/connect/connect.test.ts:157:26
|
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project > atlas-connect-cluster > when not connected > prompts for atlas-connect-cluster when querying mongodb:
tests/integration/tools/atlas/clusters.test.ts#L226
AssertionError: expected [ { type: 'text', …(1) }, …(2) ] to have a length of 2 but got 3
- Expected
+ Received
- 2
+ 3
❯ tests/integration/tools/atlas/clusters.test.ts:226:38
|
tests/unit/common/session.test.ts > Session > connectToMongoDB > should configure the proxy to use environment variables:
tests/unit/common/session.test.ts#L77
AssertionError: expected undefined to deeply equal { useEnvironmentVariableProxies: true }
- Expected:
{
"useEnvironmentVariableProxies": true,
}
+ Received:
undefined
❯ tests/unit/common/session.test.ts:77:45
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: device-flow:
tests/integration/tools/mongodb/mongodbHelpers.ts#L109
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:109:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:66:32
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: auth-flow;nonce=true:
tests/integration/tools/mongodb/mongodbHelpers.ts#L109
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:109:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:66:32
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: auth-flow;nonce=false:
tests/integration/tools/mongodb/mongodbHelpers.ts#L109
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:109:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:66:32
|
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
|
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled > is not suggested when querying MongoDB disconnected:
tests/integration/tools/mongodb/connect/connect.test.ts#L157
AssertionError: expected [ { type: 'text', …(1) }, …(2) ] to have a length of 2 but got 3
- Expected
+ Received
- 2
+ 3
❯ tests/integration/tools/mongodb/connect/connect.test.ts:157:26
|
tests/unit/common/session.test.ts > Session > connectToMongoDB > should configure the proxy to use environment variables:
tests/unit/common/session.test.ts#L77
AssertionError: expected undefined to deeply equal { useEnvironmentVariableProxies: true }
- Expected:
{
"useEnvironmentVariableProxies": true,
}
+ Received:
undefined
❯ tests/unit/common/session.test.ts:77:45
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: device-flow:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: device-flow:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false:
tests/integration/tools/mongodb/mongodbHelpers.ts#L109
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:109:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:66:32
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: auth-flow;nonce=true:
tests/integration/tools/mongodb/mongodbHelpers.ts#L147
Error: Failed to start cluster after 10 attempts
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:147:15
|
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 7.0.22 Enterprise :: auth-flow;nonce=false:
tests/integration/tools/mongodb/mongodbHelpers.ts#L109
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:109:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:66:32
|
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 (macos-latest)
No ALTQ support in kernel
ALTQ related functions disabled
pf enabled
|
Run MongoDB tests (macos-latest)
pfctl: Use of -f option, could result in flushing of rules
present in the main ruleset added by the system at startup.
See /etc/pf.conf for further details.
No ALTQ support in kernel
ALTQ related functions disabled
|
Run MongoDB tests (macos-latest)
YES (0)
|
Run MongoDB tests (macos-latest)
[notice] A new release of pip is available: 25.1.1 -> 25.2
[notice] To update, run: /Users/mitmproxyuser/venv/bin/python3.13 -m pip install --upgrade pip
|
Run MongoDB tests (macos-latest)
2025-08-13 09:43:46.165 sysadminctl[1415:8790] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-08-13 09:43:46.108 sysadminctl[1415:8790] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-08-13 09:43:46.024 sysadminctl[1415:8790] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-08-13 09:43:45.455 sysadminctl[1415:8790] ----------------------------
2025-08-13 09:43:45.455 sysadminctl[1415:8790] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-08-13 09:43:45.455 sysadminctl[1415:8790] ----------------------------
|
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...
|
Run MongoDB tests (ubuntu-latest)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
Run Atlas tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
|
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 tests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Run MongoDB tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
run-atlas-tests-permissions-9cbd907b70915d7e3607f13f74807f2a
|
140 Bytes |
sha256:31a900d15d158c4a5e0b9b8514cde0c551eed1329cc92d24264274e79187b9e5
|
|
run-tests-permissions-da732a7e08f48d89833bfc811a615021
|
140 Bytes |
sha256:1d2b006177f17eed0b44491f01904853ccf938d1a2fa38e81bf90518d24a69aa
|
|
run-tests-permissions-de7645dd31dcffe5963e097d6e820748
|
140 Bytes |
sha256:3c211c357dca540ef7ebdac3ffb223b77b45e53e98c2637393ecd59df0c93d67
|
|