Skip to content

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

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

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

Triggered via pull request November 12, 2025 15:50
@fmenezesfmenezes
synchronize #727
MCP-284
Status Failure
Total duration 8m 20s
Artifacts 6

code-health.yml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
7m 19s
Run Atlas tests
Run Atlas Local tests
2m 26s
Run Atlas Local tests
Report Coverage
52s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 13 warnings
Run git hooks
Process completed with exit code 100.
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/dbUsers.test.ts > db users > with project > atlas-create-db-user > should add current IP to access list when creating a database user: src/common/atlas/apiClient.ts#L227
TypeError: fetch failed ❯ ApiClient.getIpInfo src/common/atlas/apiClient.ts:227:26 ❯ tests/integration/tools/atlas/dbUsers.test.ts:128:32 Caused by: Caused by: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 3.228.247.77:443, timeout: 10000ms) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'UND_ERR_CONNECT_TIMEOUT' }
tests/integration/tools/atlas/clusters.test.ts > clusters > with project > atlas-connect-cluster > when connected > with project: src/common/atlas/apiClient.ts#L227
TypeError: fetch failed ❯ ApiClient.getIpInfo src/common/atlas/apiClient.ts:227:26 ❯ createGroup tests/integration/tools/atlas/atlasHelpers.ts:136:36 ❯ tests/integration/tools/atlas/atlasHelpers.ts:72:31 Caused by: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 3.228.247.77:443, timeout: 10000ms) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'UND_ERR_CONNECT_TIMEOUT' }
tests/integration/tools/atlas/alerts.test.ts > atlas-list-alerts > with project: src/common/atlas/apiClient.ts#L227
TypeError: fetch failed ❯ ApiClient.getIpInfo src/common/atlas/apiClient.ts:227:26 ❯ createGroup tests/integration/tools/atlas/atlasHelpers.ts:136:36 ❯ tests/integration/tools/atlas/atlasHelpers.ts:72:31 Caused by: Caused by: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 3.228.247.77:443, timeout: 10000ms) ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'UND_ERR_CONNECT_TIMEOUT' }
Report Coverage
Unable to download artifact(s): Artifact not found for name: atlas-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 git hooks
1 added, 0 removed; done.
Run git hooks
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
Run git hooks
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)
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
atlas-local-test-results
18.2 KB
sha256:db9f71e11905ef330825bdef9c92a7a0c579b138126eed4a032b5c71bb01287c
run-atlas-local-tests-permissions-b759c9dd8cf073f44888aa04a08f4026
140 Bytes
sha256:a8eb11cfd07cd8e315935870198b945002a63632756ff3b0b4e03fd985e079fd
run-atlas-tests-permissions-1a7acd4e77be52a5ef050ac1c84b37c8
140 Bytes
sha256:085cb48c607fc1d0fcb4a4a9bdb4c1aea817875d231d12554c1b829cc391595f
run-git-hooks-permissions-2bf1872ce91c6a4239d1115e5f402100
140 Bytes
sha256:31a17e560469008fbb9989e41d0467325b4f61212ef0408188c30d55ec487e5f
run-tests-permissions-f4afae63b85fda35ad1e788c483bc4a0
140 Bytes
sha256:302726aad76a9a10a7952fa13fe04f9b5718cd763edf277d0804c39a44f668d9
test-results
28.7 KB
sha256:5abb944f44ba50b4ee65d9f25cd836cb39940cc23768332ecb239a3378db341e