Skip to content

feat: adds an export tool and exported-data resource MCP-16 #1421

feat: adds an export tool and exported-data resource MCP-16

feat: adds an export tool and exported-data resource MCP-16 #1421

Triggered via pull request August 5, 2025 13:46
Status Failure
Total duration 6m 24s
Artifacts 3

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 41s
Run Atlas tests
Report Coverage
37s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

41 errors, 20 warnings, and 3 notices
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/transports/stdio.test.ts > StdioRunner > client connects successfully > handles requests and sends responses: tests/integration/transports/stdio.test.ts#L33
AssertionError: expected [ { name: 'connect', …(3) }, …(20) ] to have a length of 20 but got 21 - Expected + Received - 20 + 21 ❯ tests/integration/transports/stdio.test.ts:33:36
tests/integration/server.test.ts > Server integration test > with read-only mode: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/server.test.ts > Server integration test > with atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/server.test.ts > Server integration test > without atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > indexCheck configuration validation > default indexCheck behavior: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck disabled > indexCheck disabled functionality: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck enabled > indexCheck functionality: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/transports/stdio.test.ts > StdioRunner > client connects successfully > handles requests and sends responses: tests/integration/transports/stdio.test.ts#L33
AssertionError: expected [ { name: 'connect', …(3) }, …(20) ] to have a length of 20 but got 21 - Expected + Received - 20 + 21 ❯ tests/integration/transports/stdio.test.ts:33:36
tests/integration/server.test.ts > Server integration test > with read-only mode: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/server.test.ts > Server integration test > with atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/server.test.ts > Server integration test > without atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > indexCheck configuration validation > default indexCheck behavior: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck disabled > indexCheck disabled functionality: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck enabled > indexCheck functionality: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/atlas/clusters.test.ts > atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/atlas/alerts.test.ts > atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/atlas/accessLists.test.ts > atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/transports/stdio.test.ts > StdioRunner > client connects successfully > handles requests and sends responses: tests/integration/transports/stdio.test.ts#L33
AssertionError: expected [ { name: 'connect', …(3) }, …(20) ] to have a length of 20 but got 21 - Expected + Received - 20 + 21 ❯ tests/integration/transports/stdio.test.ts:33:36
tests/integration/server.test.ts > Server integration test > with read-only mode: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/server.test.ts > Server integration test > with atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/server.test.ts > Server integration test > without atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > indexCheck configuration validation > default indexCheck behavior: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck disabled > indexCheck disabled functionality: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck enabled > indexCheck functionality: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool when disabled: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/transports/stdio.test.ts > StdioRunner > client connects successfully > handles requests and sends responses: tests/integration/transports/stdio.test.ts#L33
AssertionError: expected [ { name: 'connect', …(3) }, …(20) ] to have a length of 20 but got 21 - Expected + Received - 20 + 21 ❯ tests/integration/transports/stdio.test.ts:33:36
tests/integration/server.test.ts > Server integration test > with read-only mode: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/server.test.ts > Server integration test > with atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/server.test.ts > Server integration test > without atlas: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > indexCheck configuration validation > default indexCheck behavior: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck disabled > indexCheck disabled functionality: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck enabled > indexCheck functionality: src/server.ts#L114
TypeError: Cannot read properties of undefined (reading 'close') ❯ Server.close src/server.ts:114:29 ❯ tests/integration/helpers.ts:96:26
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-05 13:46:28.158 sysadminctl[1101:6877] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-08-05 13:46:28.112 sysadminctl[1101:6877] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-08-05 13:46:27.918 sysadminctl[1101:6877] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-08-05 13:46:27.261 sysadminctl[1101:6877] ---------------------------- 2025-08-05 13:46:27.261 sysadminctl[1101:6877] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-08-05 13:46:27.261 sysadminctl[1101:6877] ----------------------------
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-5f2db5991962fa0e95c9c88756b2fc45
140 Bytes
sha256:48800e2d567698e59dfd5864f3e81ea59adb7786f068512b18516be46851137f
run-tests-permissions-0ea85e5bd1e5682dda642306461949df
140 Bytes
sha256:0963110f39fe1744b7c2b6fb6a69f1f4e5476d39f4b4ef9609fc4cd65abef8d9
run-tests-permissions-19ee2cde8aadcf7adf86dae3531f6f00
140 Bytes
sha256:6358472bcf17f800b8bdd21445dcab87eb40bd80092a0afe1112007384d7424e