Skip to content

feat: add ability to create atlas search indexes MCP-275 #420

feat: add ability to create atlas search indexes MCP-275

feat: add ability to create atlas search indexes MCP-275 #420

Triggered via pull request October 27, 2025 15:11
Status Failure
Total duration 12m 57s
Artifacts 5

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
1m 56s
Run Atlas tests
Run Atlas Local tests
2m 23s
Run Atlas Local tests
Report Coverage
53s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 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 > should have correct metadata: tests/matchers/toIncludeSameMembers.ts#L4
AssertionError: expected [ { name: 'collection', …(3) }, …(3) ] to deeply equal ArrayContaining{…} - Expected + Received @@ -1,20 +1,20 @@ - ArrayContaining [ + [ { - "description": "Database name", - "name": "database", + "description": "Collection name", + "name": "collection", "required": true, "type": "string", }, { - "description": "Collection name", - "name": "collection", + "description": "Database name", + "name": "database", "required": true, "type": "string", }, { - "description": "The index definition. Use 'classic' for standard indexes and 'vectorSearch' for vector search indexes", + "description": "The index definition. Use 'classic' for standard indexes, 'vectorSearch' for vector search indexes, and 'search' for Atlas Search (lexical) indexes.", "name": "definition", "required": true, "type": "array", }, { ❯ Object.toIncludeSameMembers tests/matchers/toIncludeSameMembers.ts:4:20 ❯ tests/integration/helpers.ts:307: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 > should have correct metadata: tests/matchers/toIncludeSameMembers.ts#L4
AssertionError: expected [ { name: 'collection', …(3) }, …(3) ] to deeply equal ArrayContaining{…} - Expected + Received @@ -1,20 +1,20 @@ - ArrayContaining [ + [ { - "description": "Database name", - "name": "database", + "description": "Collection name", + "name": "collection", "required": true, "type": "string", }, { - "description": "Collection name", - "name": "collection", + "description": "Database name", + "name": "database", "required": true, "type": "string", }, { - "description": "The index definition. Use 'classic' for standard indexes and 'vectorSearch' for vector search indexes", + "description": "The index definition. Use 'classic' for standard indexes, 'vectorSearch' for vector search indexes, and 'search' for Atlas Search (lexical) indexes.", "name": "definition", "required": true, "type": "array", }, { ❯ Object.toIncludeSameMembers tests/matchers/toIncludeSameMembers.ts:4:20 ❯ tests/integration/helpers.ts:307:32
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can list existing databases: tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can list existing databases: tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can list existing databases: tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can list existing databases: tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can list existing databases: tests/integration/helpers.ts#L395
Error: Aborted: Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Timeout.<anonymous> tests/integration/helpers.ts:395:31
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can list existing databases: tests/integration/common/connectionManager.oidc.test.ts#L111
Error: Test timed out in 60000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ it tests/integration/common/connectionManager.oidc.test.ts:111:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:213:13 ❯ getUserConfig tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:109:9
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/tools/mongodb/create/createIndex.test.ts > createIndex tool with classic indexes > should have correct metadata: tests/matchers/toIncludeSameMembers.ts#L4
AssertionError: expected [ { name: 'collection', …(3) }, …(3) ] to deeply equal ArrayContaining{…} - Expected + Received @@ -1,20 +1,20 @@ - ArrayContaining [ + [ { - "description": "Database name", - "name": "database", + "description": "Collection name", + "name": "collection", "required": true, "type": "string", }, { - "description": "Collection name", - "name": "collection", + "description": "Database name", + "name": "database", "required": true, "type": "string", }, { - "description": "The index definition. Use 'classic' for standard indexes and 'vectorSearch' for vector search indexes", + "description": "The index definition. Use 'classic' for standard indexes, 'vectorSearch' for vector search indexes, and 'search' for Atlas Search (lexical) indexes.", "name": "definition", "required": true, "type": "array", }, { ❯ Object.toIncludeSameMembers tests/matchers/toIncludeSameMembers.ts:4:20 ❯ tests/integration/helpers.ts:307: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:bf5512cd3490b9119870fc8da896aab16f8cb08b5a0ee71c6470c427baf23800
atlas-test-results
20 KB
sha256:48fc4b7eeaa62ae623525a8e1f7939118dcec2581ce7172ba9512f45539b2bb7
run-atlas-local-tests-permissions-10eff1cce16d0e2b6de8a5da7ddcd227
140 Bytes
sha256:6b9e23c0d2da050183fda5642d82c8dad977033dcd3c197b441294e2648916f2
run-atlas-tests-permissions-599cff05c56f2cf955ef789266efbb58
140 Bytes
sha256:a443c13caaf3423bea54e7c475038b1272749d1c56596175be3e989ef419dee6
run-tests-permissions-1794398683ee4d1590efe63a15f9dca3
140 Bytes
sha256:4368f2ed4b097143a39dacc125e5c661e36f589ad1f71dd6ba0a4980de6cbda4