feat: support for OIDC connectivity between the MCP Server and a MongoDB Cluster MCP-84 #1547
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
7m 47s
Report Coverage
36s
Annotations
35 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
|
tests/integration/tools/atlas/projects.test.ts > atlas:
tests/integration/helpers.ts#L47
TypeError: getDriverOptions is not a function
❯ tests/integration/helpers.ts:47:31
|
tests/integration/tools/atlas/orgs.test.ts > atlas:
tests/integration/helpers.ts#L47
TypeError: getDriverOptions is not a function
❯ tests/integration/helpers.ts:47:31
|
tests/integration/tools/atlas/dbUsers.test.ts > atlas:
tests/integration/helpers.ts#L47
TypeError: getDriverOptions is not a function
❯ tests/integration/helpers.ts:47:31
|
tests/integration/tools/atlas/clusters.test.ts > atlas:
tests/integration/helpers.ts#L47
TypeError: getDriverOptions is not a function
❯ tests/integration/helpers.ts:47:31
|
tests/integration/tools/atlas/alerts.test.ts > atlas:
tests/integration/helpers.ts#L47
TypeError: getDriverOptions is not a function
❯ tests/integration/helpers.ts:47:31
|
tests/integration/tools/atlas/accessLists.test.ts > atlas:
tests/integration/helpers.ts#L47
TypeError: getDriverOptions is not a function
❯ tests/integration/helpers.ts:47:31
|
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 08:45:29.937 sysadminctl[2992:15521] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-08-13 08:45:29.828 sysadminctl[2992:15521] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-08-13 08:45:29.539 sysadminctl[2992:15521] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-08-13 08:45:28.684 sysadminctl[2992:15521] ----------------------------
2025-08-13 08:45:28.684 sysadminctl[2992:15521] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-08-13 08:45:28.684 sysadminctl[2992:15521] ----------------------------
|
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-4e4c34c623bc5f21a2b00721914fa868
|
140 Bytes |
sha256:412b95c5d6c186046ab46de743c7ad3729253ed6c1b53f73804e4bc144be8859
|
|
run-tests-permissions-347a031224b242af85c4902f0b544c79
|
140 Bytes |
sha256:1cb6f4beea1bca56088ff38c4dea76e067a7282d2266d329aa20bdb11cdd1030
|
|
run-tests-permissions-c91cd000c7058b710b90bafa557943ce
|
140 Bytes |
sha256:eba3b4016c981230db45a353f7b55b252f119a7cb437e8e8b6b328932fbafddb
|
|