feat: support for OIDC connectivity between the MCP Server and a MongoDB Cluster MCP-84 #1549
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
7m 38s
Report Coverage
34s
Annotations
32 errors, 20 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)
No ALTQ support in kernel
ALTQ related functions disabled
|
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.
|
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:40:40.128 sysadminctl[2628:15042] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-08-13 09:40:40.084 sysadminctl[2628:15042] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-08-13 09:40:39.929 sysadminctl[2628:15042] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-08-13 09:40:39.520 sysadminctl[2628:15042] ----------------------------
2025-08-13 09:40:39.520 sysadminctl[2628:15042] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-08-13 09:40:39.520 sysadminctl[2628:15042] ----------------------------
|
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-e2504f6efdb302123fdd21d53e2674bf
|
140 Bytes |
sha256:a4ffe71f42049900e8a7a803ebe4ebfb1b4fdf002e96114b007f165ad35857cf
|
|
run-tests-permissions-b670017c0801b96674736db401e6e983
|
140 Bytes |
sha256:80b0083dc0ca45c05d3c416c16c6ca0e9d808043a56dd5dea58a37fa82b55c58
|
|
run-tests-permissions-f1fa93f0d09c6231fda095dc0b6ed382
|
140 Bytes |
sha256:8ee54bfec0ae267f0b9ce401da8649275d443b45f93c06a582c02f89ef4f58c2
|
|