feat: add ability to create vector search indexes MCP-234 MCP-243 #187
code-health.yml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
11m 20s
Report Coverage
53s
Annotations
3 errors and 7 warnings
|
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
|
|
tests/integration/tools/mongodb/create/createIndex.test.ts > createIndex tool with vector search indexes > when the collection exists > creates the index:
tests/integration/tools/mongodb/create/createIndex.test.ts#L492
AssertionError: expected { fields: [ { …(4) }, { …(2) } ] } to deeply equal { fields: [ { …(4) }, { …(2) } ] }
- Expected
+ Received
@@ -1,11 +1,11 @@
{
"fields": [
{
"numDimensions": 4,
"path": "vector_1",
- "similarity": "cosine",
+ "similarity": "euclidean",
"type": "vector",
},
{
"path": "category",
"type": "filter",
❯ tests/integration/tools/mongodb/create/createIndex.test.ts:492:54
|
|
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 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...
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
atlas-test-results
|
18.5 KB |
sha256:5b8d05cc00ffd42dbf00ed5bce62051b2fd9afa4e1c7c31ef82f628b1c7c8f05
|
|
|
run-atlas-tests-permissions-88cb11e697b606f9f81c6d6127c1f3d0
|
140 Bytes |
sha256:9926c2b19e123d1e2b99091c55ae85f944559767c417128321c6004f1241e592
|
|
|
run-tests-permissions-88a4d47252aa8ea85d6c66744befc518
|
140 Bytes |
sha256:ea1464acd1cf2f7989b5552bdc85f40fe98c79a37e3f68338635181d4aec4d90
|
|