feat: adds support for dropping vector search indexes in drop-index tool MCP-239 #184
code-health.yml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
10m 35s
Report Coverage
38s
Annotations
11 errors and 8 warnings
|
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
|
|
tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts > drop-search-index tool - when invoked via an elicitation enabled client:
tests/integration/tools/mongodb/mongodbClusterProcess.ts#L22
Error: Could not find a working container runtime strategy
❯ getContainerRuntimeClient node_modules/testcontainers/src/container-runtime/clients/client.ts:63:9
❯ GenericContainer.start node_modules/testcontainers/src/generic-container/generic-container.ts:87:20
❯ Function.spinUp tests/integration/tools/mongodb/mongodbClusterProcess.ts:22:38
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:139:24
|
|
tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts > drop-search-index tool - when connected to MongoDB with search support > when attempting to delete a non-existent index > should fail with appropriate error:
tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts#L81
AssertionError: expected 'This MongoDB cluster does not support…' to contain 'Index does not exist in the provided …'
Expected: "Index does not exist in the provided namespace."
Received: "This MongoDB cluster does not support Search Indexes. Make sure you are using an Atlas Cluster, either remotely in Atlas or using the Atlas Local image, or your cluster supports MongoDB Search."
❯ tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts:81:33
|
|
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
|
|
tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts > drop-search-index tool - when connected to MongoDB with search support > when attempting to delete a non-existent index > should fail with appropriate error:
tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts#L81
AssertionError: expected 'This MongoDB cluster does not support…' to contain 'Index does not exist in the provided …'
Expected: "Index does not exist in the provided namespace."
Received: "This MongoDB cluster does not support Search Indexes. Make sure you are using an Atlas Cluster, either remotely in Atlas or using the Atlas Local image, or your cluster supports MongoDB Search."
❯ tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts:81:33
|
|
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
|
|
tests/integration/tools/mongodb/read/find.test.ts > find tool with default configuration:
tests/integration/tools/mongodb/mongodbHelpers.ts#L138
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:138:5
❯ tests/integration/tools/mongodb/mongodbHelpers.ts:94:32
|
|
tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts > drop-search-index tool - when connected to MongoDB with search support > when attempting to delete a non-existent index > should fail with appropriate error:
tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts#L81
AssertionError: expected 'This MongoDB cluster does not support…' to contain 'Index does not exist in the provided …'
Expected: "Index does not exist in the provided namespace."
Received: "This MongoDB cluster does not support Search Indexes. Make sure you are using an Atlas Cluster, either remotely in Atlas or using the Atlas Local image, or your cluster supports MongoDB Search."
❯ tests/integration/tools/mongodb/delete/dropSearchIndex.test.ts:81:33
|
|
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-9d189699ae2d39bceeb194c443f5a284
|
140 Bytes |
sha256:e15b098d316bb9c2086c41063f55799c41414e587d5029869ec47fddf2b90093
|
|
|
run-tests-permissions-76fa891dd94400e3af1f7faf724e2c02
|
140 Bytes |
sha256:a408975b74ca4a329fd5a4a65d076633e7e34a68a2bfe80c7effa7f958d97152
|
|