Skip to content

feat(elicitation): add user consent through elicitation MCP-185 #1979

feat(elicitation): add user consent through elicitation MCP-185

feat(elicitation): add user consent through elicitation MCP-185 #1979

Triggered via pull request September 12, 2025 11:47
Status Failure
Total duration 7m 54s
Artifacts 3

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
3m 4s
Run Atlas tests
Report Coverage
39s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

22 errors, 9 warnings, and 1 notice
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across any other error MongoDB Error - ForbiddenCollscan > should not handle the error and let the static handling take over it: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across a MongoDB Error - MisconfiguredConnectionString > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across a MongoDB Error - NotConnectedToMongoDB > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across any other error MongoDB Error - ForbiddenCollscan > should not handle the error and let the static handling take over it: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across a MongoDB Error - MisconfiguredConnectionString > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across a MongoDB Error - NotConnectedToMongoDB > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across any other error MongoDB Error - ForbiddenCollscan > should not handle the error and let the static handling take over it: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across a MongoDB Error - MisconfiguredConnectionString > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across a MongoDB Error - NotConnectedToMongoDB > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across any other error MongoDB Error - ForbiddenCollscan > should not handle the error and let the static handling take over it: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across a MongoDB Error - MisconfiguredConnectionString > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across a MongoDB Error - NotConnectedToMongoDB > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across any other error MongoDB Error - ForbiddenCollscan > should not handle the error and let the static handling take over it: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across a MongoDB Error - MisconfiguredConnectionString > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using injected connection error handler > and comes across a MongoDB Error - NotConnectedToMongoDB > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across any other error MongoDB Error - ForbiddenCollscan > should not handle the error and let the static handling take over it: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across a MongoDB Error - MisconfiguredConnectionString > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
tests/integration/tools/mongodb/mongodbTool.test.ts > MongoDBTool implementations > when MCP is using default connection error handler > and comes across a MongoDB Error - NotConnectedToMongoDB > should handle the error: src/tools/tool.ts#L206
TypeError: Cannot read properties of undefined (reading 'readOnly') ❯ RandomTool.verifyAllowed src/tools/tool.ts:206:25 ❯ RandomTool.register src/tools/tool.ts:101:19 ❯ RandomTool.register src/tools/mongodb/mongodbTool.ts:51:22 ❯ cleanupAndStartServer tests/integration/tools/mongodb/mongodbTool.test.ts:127:14 ❯ tests/integration/tools/mongodb/mongodbTool.test.ts:148:9
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.
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
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 (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
atlas-test-results
16.4 KB
sha256:da778d597afb731b0a7104fb7a4e59cdf76a72cde80e175ab560ddb3a76b01c4
run-atlas-tests-permissions-964db0a5310b01b9c35abd4cb4e48963
140 Bytes
sha256:28c7e29721d4889b7bcf4ed885951a2b035f3556fa1a421df5b4b9c95231d1cd
run-tests-permissions-56a9a45ed388fe83d6015f41fb1d082c
140 Bytes
sha256:577eaaf7cc2fc2fc31bb5c43ab97e7cded836b79d91a806b9a952f1b7f5b9664