feat: add ability to create vector search indexes MCP-234 MCP-243 #186
code-health.yml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
10m 49s
Report Coverage
37s
Annotations
8 errors and 7 warnings
|
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
|
|
tests/integration/tools/mongodb/create/createIndex.test.ts > createIndex tool with classic indexes > with invalid arguments > throws a schema error for: {"collection":"bar","database":"test","definition":[{"type":"vectorSearch","fields":[{"type":"vector","path":"foo"}]}]}:
tests/integration/helpers.ts#L319
AssertionError: expected 'Expected an error to be thrown' to not deeply equal 'Expected an error to be thrown'
❯ tests/integration/helpers.ts:319:58
|
|
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
|
|
tests/integration/tools/mongodb/create/createIndex.test.ts > createIndex tool with classic indexes > with invalid arguments > throws a schema error for: {"collection":"bar","database":"test","definition":[{"type":"vectorSearch","fields":[{"type":"vector","path":"foo"}]}]}:
tests/integration/helpers.ts#L319
AssertionError: expected 'Expected an error to be thrown' to not deeply equal 'Expected an error to be thrown'
❯ tests/integration/helpers.ts:319:58
|
|
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
|
|
tests/integration/tools/mongodb/create/createIndex.test.ts > createIndex tool with classic indexes > with invalid arguments > throws a schema error for: {"collection":"bar","database":"test","definition":[{"type":"vectorSearch","fields":[{"type":"vector","path":"foo"}]}]}:
tests/integration/helpers.ts#L319
AssertionError: expected 'Expected an error to be thrown' to not deeply equal 'Expected an error to be thrown'
❯ tests/integration/helpers.ts:319:58
|
|
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.4 KB |
sha256:82c9a9724ea13a3d80fc1bdf41dc0cb81e479c0fb7b3dd7280e28f67f717344d
|
|
|
run-atlas-tests-permissions-e945ce13f67bd9026b373e12b76038e8
|
140 Bytes |
sha256:62cee69e0fa1fca95f8d96892413776a888b98bbb824f3868d93c4b197ac4115
|
|
|
run-tests-permissions-ab545b417e44568695ee4ee98f03e869
|
140 Bytes |
sha256:0aeed884d44224af90a00e5d156ad7d2c401f9f737b69e568b98d2782f685fb0
|
|