feat: add ability to create vector search indexes MCP-234 MCP-243 #144
code-health.yml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
11m 29s
Report Coverage
49s
Annotations
10 errors and 8 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","numDimensions":128},{"type":"filter","path":"bar","numDimensions":128}]}]}:
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
|
|
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck enabled > indexCheck functionality:
tests/integration/tools/mongodb/mongodbHelpers.ts#L121
Error: Hook timed out in 120000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:121:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:79:32
|
|
Run MongoDB tests (ubuntu-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","numDimensions":128},{"type":"filter","path":"bar","numDimensions":128}]}]}:
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","numDimensions":128},{"type":"filter","path":"bar","numDimensions":128}]}]}:
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 Atlas tests
Process completed with exit code 1.
|
|
tests/integration/tools/atlas/orgs.test.ts > orgs > atlas-list-orgs > returns org names:
tests/integration/tools/atlas/orgs.test.ts#L16
AssertionError: expected 'Unable to authenticate with MongoDB A…' to contain 'Found 1 organizations'
- Expected
+ Received
- Found 1 organizations
+ Unable to authenticate with MongoDB Atlas, API error: [401 Unauthorized] error calling Atlas API: Unauthorized; You are not authorized for this resource.
+
+ Hint: Your API credentials may be invalid, expired or lack permissions.
+ Please check your Atlas API credentials and ensure they have the appropriate permissions.
+ For more information on setting up API keys, visit: https://www.mongodb.com/docs/atlas/configure-api-access/
❯ tests/integration/tools/atlas/orgs.test.ts:16:39
|
|
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
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
|
|
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 | |
|---|---|---|---|
|
run-atlas-tests-permissions-c0d0e8964ed7ee76f2f74d787f052d0b
|
140 Bytes |
sha256:e569e0a72d4169814bef9aa8e8828c4c3fe6cf78cbe4eadb059260c18c3ca20f
|
|
|
run-tests-permissions-015682938dd61a02422b7d52c870e047
|
140 Bytes |
sha256:3cd7768bfcc62f8e38ee6db695d861623f4d7125f83b2e39e9d196dcc8fea128
|
|