Skip to content

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

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 #405

Triggered via pull request October 24, 2025 11:59
Status Failure
Total duration 8m 42s
Artifacts 5

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 23s
Run Atlas tests
Run Atlas Local tests
2m 28s
Run Atlas Local tests
Report Coverage
50s
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 but 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:1368b3333d6e5d72fb9000a201b3be44bfef56279a66367f0eac0d45c03b4961
atlas-test-results
19.9 KB
sha256:7b773cfbb90d5edebc35d710b699fbe65dfb97f478a0a3bf6ca19ae453ad42fe
run-atlas-local-tests-permissions-b25e8f4f3954669ecfa7636bdf673e0c
140 Bytes
sha256:744076a3dc095813cae0152dff59344c1662825f36dce53895dba837890ad947
run-atlas-tests-permissions-356a922a2730e25d922373ce884ec8ba
140 Bytes
sha256:7c1c46e5333a80cb34396f0d2c793a6cb2f3756ded451a7b58763c9e8093401b
run-tests-permissions-f7f95c7da72d8fa14dad8b0510e7fa52
140 Bytes
sha256:05b9eae5a2643dc8085448dc53e88734b7e943571421d240f93befcf36118917