feat: adds an export tool and exported-data resource MCP-16 #1479
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 56s
Report Coverage
34s
Annotations
12 errors, 20 warnings, and 3 notices
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
|
tests/integration/tools/mongodb/read/export.test.ts > export tool > with correct namespace > should export relaxed json when provided jsonExportFormat is relaxed:
tests/integration/tools/mongodb/read/export.test.ts#L272
SyntaxError: Unexpected end of JSON input
❯ tests/integration/tools/mongodb/read/export.test.ts:272:42
|
tests/integration/tools/mongodb/read/export.test.ts > export tool > when provided with incorrect namespace, export should have empty data:
tests/integration/tools/mongodb/read/export.test.ts#L113
AssertionError: expected '[' to deeply equal '[]'
Expected: "[]"
Received: "["
❯ tests/integration/tools/mongodb/read/export.test.ts:113:64
|
tests/unit/common/sessionExportsManager.test.ts > SessionExportsManager unit test > #availableExport > should list only the exports that are in ready state:
tests/unit/common/sessionExportsManager.test.ts#L110
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ tests/unit/common/sessionExportsManager.test.ts:110:46
|
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
|
tests/integration/tools/mongodb/read/export.test.ts > export tool > with correct namespace > should export relaxed json when provided jsonExportFormat is relaxed:
tests/integration/tools/mongodb/read/export.test.ts#L272
SyntaxError: Unexpected end of JSON input
❯ tests/integration/tools/mongodb/read/export.test.ts:272:42
|
Run Atlas tests
Process completed with exit code 1.
|
tests/unit/common/sessionExportsManager.test.ts > SessionExportsManager unit test > #availableExport > should list only the exports that are in ready state:
tests/unit/common/sessionExportsManager.test.ts#L110
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ tests/unit/common/sessionExportsManager.test.ts:110:46
|
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
|
tests/integration/tools/mongodb/read/export.test.ts > export tool > with correct namespace > should export relaxed json when provided jsonExportFormat is relaxed:
tests/integration/tools/mongodb/read/export.test.ts#L272
Error: ENOENT: no such file or directory, open 'C:\Users\runneradmin\AppData\Local\mongodb\mongodb-mcp\exports\6894af4c9cd6785352db4cd1\6894af4cea52718b4601cf75.foo.1754574668640.json'
❯ tests/integration/tools/mongodb/read/export.test.ts:272:48
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'C:\Users\runneradmin\AppData\Local\mongodb\mongodb-mcp\exports\6894af4c9cd6785352db4cd1\6894af4cea52718b4601cf75.foo.1754574668640.json' }
|
tests/unit/common/sessionExportsManager.test.ts > SessionExportsManager unit test > #availableExport > should list only the exports that are in ready state:
tests/unit/common/sessionExportsManager.test.ts#L110
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ tests/unit/common/sessionExportsManager.test.ts:110:46
|
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 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-07 13:43:33.894 sysadminctl[1001:6204] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-08-07 13:43:33.818 sysadminctl[1001:6204] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-08-07 13:43:33.421 sysadminctl[1001:6204] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-08-07 13:43:32.043 sysadminctl[1001:6204] ----------------------------
2025-08-07 13:43:32.043 sysadminctl[1001:6204] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-08-07 13:43:32.043 sysadminctl[1001:6204] ----------------------------
|
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-8ab5cb40c12bfaa159294fab207714ee
|
140 Bytes |
sha256:6ffdf1e75950ceb1a44990a55041ef1a061b01b0ba936a67cdcf9f84b6e280ff
|
|
run-tests-permissions-07cfd1e96d3f7294489b95b55bb64362
|
140 Bytes |
sha256:eb16e88267939fb41b8c884a3a12a82a9dd01c25b86b1ac0192d26e947d77161
|
|
run-tests-permissions-d984104db83c026ffe0cabd0c6fa85d1
|
140 Bytes |
sha256:8303d986c4798c6785489c53847437e6ce651386125b7ad6901489bbba2ce5f7
|
|