Skip to content

chore: method to detect if a cluster support search indexes and expose the same on debug resource MCP-247 MCP-248 #130

chore: method to detect if a cluster support search indexes and expose the same on debug resource MCP-247 MCP-248

chore: method to detect if a cluster support search indexes and expose the same on debug resource MCP-247 MCP-248 #130

Triggered via pull request October 13, 2025 16:25
Status Failure
Total duration 10m 49s
Artifacts 2

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
9m 56s
Run Atlas tests
Report Coverage
47s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
tests/unit/resources/common/debug.test.ts > debug resource > should be connected when a connected event happens: tests/unit/resources/common/debug.test.ts#L37
AssertionError: expected 'The user is connected to the MongoDB …' to contain 'The user is connected to the MongoDB …' Expected: "The user is connected to the MongoDB cluster." Received: "The user is connected to the MongoDB cluster without any support for search indexes." ❯ tests/unit/resources/common/debug.test.ts:37:24
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/unit/resources/common/debug.test.ts > debug resource > should be connected when a connected event happens: tests/unit/resources/common/debug.test.ts#L37
AssertionError: expected 'The user is connected to the MongoDB …' to contain 'The user is connected to the MongoDB …' Expected: "The user is connected to the MongoDB cluster." Received: "The user is connected to the MongoDB cluster without any support for search indexes." ❯ tests/unit/resources/common/debug.test.ts:37:24
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/unit/resources/common/debug.test.ts > debug resource > should be connected when a connected event happens: tests/unit/resources/common/debug.test.ts#L37
AssertionError: expected 'The user is connected to the MongoDB …' to contain 'The user is connected to the MongoDB …' Expected: "The user is connected to the MongoDB cluster." Received: "The user is connected to the MongoDB cluster without any support for search indexes." ❯ tests/unit/resources/common/debug.test.ts:37:24
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-9406864353d95b0071f4e64006f9b171
140 Bytes
sha256:24d0847c673e6ac870470f183b13c70c370ca9ab2b1c90a58de6fdb9f99d76b3
run-tests-permissions-2d868102561cec54f715cc07c28c1290
140 Bytes
sha256:25da2f494c663f044a52a9c6da39666d00a09927569bcc58e03ea5afa27b2462