Skip to content

chore: add pre-commit hooks [MCP-284] #599

chore: add pre-commit hooks [MCP-284]

chore: add pre-commit hooks [MCP-284] #599

Triggered via pull request November 12, 2025 15:37
@fmenezesfmenezes
synchronize #727
MCP-284
Status Failure
Total duration 10m 59s
Artifacts 4

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
3m 28s
Run Atlas tests
Run Atlas Local tests
2m 26s
Run Atlas Local tests
Report Coverage
38s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 11 warnings
Run Atlas Local tests
Process completed with exit code 1.
tests/integration/tools/atlas-local/deleteDeployment.test.ts > atlas-local-delete-deployment > should delete a deployment when calling the tool: tests/integration/tools/atlas-local/deleteDeployment.test.ts#L50
AssertionError: expected '' to contain 'test-deployment-1762961963652' - Expected + Received - test-deployment-1762961963652 ❯ tests/integration/tools/atlas-local/deleteDeployment.test.ts:50:47
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should return an error when creating a deployment that already exists: tests/integration/tools/atlas-local/createDeployment.test.ts#L88
AssertionError: expected 'Error running atlas-local-create-depl…' to contain 'Container already exists: test-deploy…' - Expected + Received - Container already exists: test-deployment-1762961992112 + Error running atlas-local-create-deployment: create deployment + + Caused by: + 0: Failed to pull image: Docker responded with status code 500: Head "https://quay.io/v2/mongodb/mongodb-atlas-local/manifests/latest": net/http: TLS handshake timeout + 1: Docker responded with status code 500: Head "https://quay.io/v2/mongodb/mongodb-atlas-local/manifests/latest": net/http: TLS handshake timeout ❯ tests/integration/tools/atlas-local/createDeployment.test.ts:88:35
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can connect with the expected user: 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=false > can connect with the expected user: 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=false > can connect with the expected user: 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=false > can connect with the expected user: 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=false > can connect with the expected user: 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=false > can connect with the expected user: 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:166:13 ❯ getUserConfig tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:109:9
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 Local tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
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 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 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-test-results
19.9 KB
sha256:079248dbb29b2714d4a911572249ab7bc22946808c7928f007b65c947d38b242
run-atlas-local-tests-permissions-1fdf0445a97cccf70f2e446c88ae1a34
140 Bytes
sha256:d5bcace9bf22247ded2ef3e9c87d34ef1fc5266af20c1f18f5969a9a5f650526
run-atlas-tests-permissions-b3fb800c0630e655ac04629bf36de925
140 Bytes
sha256:f7bced2cf19cf5c6b3255e73df06bac61e09527645cea4ca180d13d80a6e6e74
run-tests-permissions-5836ad3b5cbaa132cc044df7fd1628b3
140 Bytes
sha256:029af59cac29256aac769701780ef5ce039463bea8e376a8db7f1e3f47b8f142