chore: add pre-commit hooks [MCP-284] #602
code-health.yml
on: pull_request
Matrix: Run MongoDB tests
Run git hooks
3m 5s
Report Coverage
37s
Annotations
6 errors and 14 warnings
|
Run Atlas Local tests
Process completed with exit code 1.
|
|
tests/integration/tools/atlas-local/createDeployment.test.ts > atlas-local-create-deployment > should create a deployment with the correct name:
tests/integration/tools/atlas-local/createDeployment.test.ts#L103
AssertionError: expected 'Error running atlas-local-create-depl…' to contain 'test-deployment-1762962981440'
- Expected
+ Received
- test-deployment-1762962981440
+ 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:103:41
|
|
Run Atlas tests
Process completed with exit code 1.
|
|
tests/integration/tools/atlas/clusters.test.ts > clusters > with project > atlas-connect-cluster > when not connected > prompts for atlas-connect-cluster when querying mongodb:
tests/integration/tools/atlas/clusters.test.ts#L249
AssertionError: expected 'Error running find: bad auth : Authen…' to contain 'You need to connect to a MongoDB inst…'
Expected: "You need to connect to a MongoDB instance before you can access its data."
Received: "Error running find: bad auth : Authentication failed."
❯ tests/integration/tools/atlas/clusters.test.ts:249:37
|
|
tests/integration/tools/atlas/clusters.test.ts > clusters > with project > atlas-connect-cluster > connects to cluster:
tests/integration/tools/atlas/clusters.test.ts#L169
AssertionError: expected 'Attempting to connect to cluster "Clu…' to contain 'Connected to cluster'
- Expected
+ Received
- Connected to cluster
+ Attempting to connect to cluster "ClusterTest-6914adf54b5ba982455c9e5d"...
+ Warning: Provisioning a user and connecting to the cluster may take more time, please check again in a few seconds.
+ Note: Your current IP address has been added to the Atlas project's IP access list to enable secure connection.
+ Note: A temporary user has been created to enable secure connection to the cluster. For more information, see https://dochub.mongodb.org/core/mongodb-mcp-server-tools-considerations
+
+ Note to LLM Agent: it is important to include the following link in your response to the user in case they want to get more information about the temporary user created: https://dochub.mongodb.org/core/mongodb-mcp-server-tools-considerations
❯ tests/integration/tools/atlas/clusters.test.ts:169:37
|
|
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 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 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 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-local-tests-permissions-7096ec905cdf2a63ad55f4f55eefd7c3
|
140 Bytes |
sha256:eba1fbf789793c7ef03651d85ef46f2bc353ee2fbebcbbc6ff691b7d169852b4
|
|
|
run-atlas-tests-permissions-292bc09aa11dc22f7885afda222374c9
|
140 Bytes |
sha256:9e72d8c9298875642aa8672ded6dbf007d0899342c9f20b157e168f39ad994f4
|
|
|
run-git-hooks-permissions-44f160b9920cd66a049a362d233566a7
|
140 Bytes |
sha256:83239bd9d11e49a22f85ad754c2efbc7915001b2835ea8d01dfb337f2fbb9bee
|
|
|
run-tests-permissions-35c6bb83e679dc1548faf93217b7b99d
|
140 Bytes |
sha256:a6732b4e0dcfa962ea877a7aaa008dde1ba81f25984ae0c59ab724cf9cc949c4
|
|
|
test-results
|
28.7 KB |
sha256:fafac772d9668e5b3f96a9c09aa90e37d5872a06de96272f8d6d9aeee9708f57
|
|