Skip to content

feat: add support for automatic embeddings for the insert many tool MCP-236 #409

feat: add support for automatic embeddings for the insert many tool MCP-236

feat: add support for automatic embeddings for the insert many tool MCP-236 #409

Triggered via pull request October 24, 2025 14:01
Status Failure
Total duration 9m 17s
Artifacts 5

code-health.yml

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

Annotations

8 errors and 10 warnings
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/create/insertMany.test.ts > insertMany tool when search is disabled > should have correct metadata: tests/integration/helpers.ts#L306
AssertionError: expected [ { name: 'collection', …(3) }, …(3) ] to have a length of 3 but got 4 - Expected + Received - 3 + 4 ❯ tests/integration/helpers.ts:306:32
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/create/insertMany.test.ts > insertMany tool when search is enabled > returns an error when there is a search index and quantisation is wrong: tests/integration/tools/mongodb/create/insertMany.test.ts#L173
AssertionError: expected 'Error running insert-many: Fields [em…' to contain 'There were errors when inserting docu…' Expected: "There were errors when inserting documents. No document was inserted." Received: "Error running insert-many: Fields [embedding] have vector search indexes and contain raw text strings. The embeddingParameters parameter is required to generate embeddings for these fields." ❯ tests/integration/tools/mongodb/create/insertMany.test.ts:173:29
tests/integration/tools/mongodb/create/insertMany.test.ts > insertMany tool when search is disabled > should have correct metadata: tests/integration/helpers.ts#L306
AssertionError: expected [ { name: 'collection', …(3) }, …(3) ] to have a length of 3 but got 4 - Expected + Received - 3 + 4 ❯ tests/integration/helpers.ts:306:32
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/create/insertMany.test.ts > insertMany tool when search is disabled > should have correct metadata: tests/integration/helpers.ts#L306
AssertionError: expected [ { name: 'collection', …(3) }, …(3) ] to have a length of 3 but got 4 - Expected + Received - 3 + 4 ❯ tests/integration/helpers.ts:306: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 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 Local tests
1 added, 0 removed; done.
Run Atlas Local tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run Atlas Local tests
Updating certificates in /etc/ssl/certs...
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...

Artifacts

Produced during runtime
Name Size Digest
atlas-local-test-results
18.1 KB
sha256:649d6c5036b4b5a1f878195fc6357e0a0bfb54cf88d7d4e4e912d80b47ae5a43
atlas-test-results
19.9 KB
sha256:b20ade0e105641ae509e4d1b51a92d92043a6f67e2807633b6cbcd065d8b3900
run-atlas-local-tests-permissions-d4e0f733f3068a955e2bde7441748c58
140 Bytes
sha256:637a7bacc5271ecccab07461f2a29e0af4a28a45d43afc1e495d5947a10c6ff9
run-atlas-tests-permissions-d70ff9218511f3ac56a923cfaac2b9d6
140 Bytes
sha256:a521f2c76fe8619aee5a38aedd93a0e996810c33f5a004dc870c275ba1aed7da
run-tests-permissions-8a822ffc70ec5551ed5f0787b355bdc0
140 Bytes
sha256:e26f23d0d7357adcfde51c8d5be87d6fd5b90aeaa1dd36fd5e91bcbbbd61fee2