Skip to content

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

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

Triggered via pull request October 27, 2025 12:50
Status Failure
Total duration 12m 58s
Artifacts 5

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
1m 54s
Run Atlas tests
Run Atlas Local tests
2m 13s
Run Atlas Local tests
Report Coverage
57s
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.2 KB
sha256:881b551dd0d66b7c9a77f1c2e0dbc896a72b7293beb9686b5e624817e486541c
atlas-test-results
19.9 KB
sha256:4c7e856e300b56bafced39a8602c4a994e0e9969ef21bf4614c00acd1923b999
run-atlas-local-tests-permissions-123e421db31fcc8e4452efec0bcde154
140 Bytes
sha256:48839cda8f5a6e2df39e9c85c1c061a23b6ada5678acbbeb6818f50090509e11
run-atlas-tests-permissions-243d24fa01084bb1c79f552b8fd2dd6f
140 Bytes
sha256:d336064f2165539485387bf128bd7854d5a2ecc607b06c2768e3b3160388b91a
run-tests-permissions-18cdc656f166f88bdfdf39577249ba45
140 Bytes
sha256:fb45f1b941462602c4794b9eed623597357c43a815f730d5c3ac032855761a95