Skip to content

fix: add guards against possible memory overflow in find and aggregate tools MCP-21 #1891

fix: add guards against possible memory overflow in find and aggregate tools MCP-21

fix: add guards against possible memory overflow in find and aggregate tools MCP-21 #1891

Triggered via pull request September 10, 2025 09:10
Status Failure
Total duration 5m 6s
Artifacts 2

code_health.yaml

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

Annotations

15 errors, 10 warnings, and 1 notice
Run MongoDB tests (macos-latest)
Process completed with exit code 2.
Run MongoDB tests (macos-latest): src/tools/mongodb/read/find.ts#L11
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Run MongoDB tests (macos-latest): src/tools/mongodb/read/aggregate.ts#L13
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Run Atlas tests
Process completed with exit code 2.
Run Atlas tests: src/tools/mongodb/read/find.ts#L11
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Run Atlas tests: src/tools/mongodb/read/aggregate.ts#L13
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 2.
Run MongoDB tests (ubuntu-latest): src/tools/mongodb/read/find.ts#L11
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Run MongoDB tests (ubuntu-latest): src/tools/mongodb/read/aggregate.ts#L13
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
Run MongoDB tests (windows-latest): src/tools/mongodb/read/find.ts#L11
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Run MongoDB tests (windows-latest): src/tools/mongodb/read/aggregate.ts#L13
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Report Coverage
Process completed with exit code 2.
Report Coverage: src/tools/mongodb/read/find.ts#L11
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
Report Coverage: src/tools/mongodb/read/aggregate.ts#L13
Cannot find module '../../../helpers/constants.js' or its corresponding type declarations.
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 (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 (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-2f8c4c83292606033459a7ce50b44bb1 Expired
140 Bytes
sha256:023bdb2790dd8493a0b850977a60171171901c92b51145b28aaa3c9915162c9c
run-tests-permissions-f52ffcaa640cd7b6e286164039a2a09d Expired
140 Bytes
sha256:4e8e9d9fc618e9d4bb7c9253d68628d980da7d3d8fa4ecc18292ef95807aad1f