Skip to content

chore: Improve access list and connect experienece [MCP-5] #1217

chore: Improve access list and connect experienece [MCP-5]

chore: Improve access list and connect experienece [MCP-5] #1217

Triggered via pull request July 15, 2025 13:27
@blvablva
synchronize #372
MCP-5
Status Failure
Total duration 6m 59s
Artifacts 4

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 0s
Run Atlas tests
Report Coverage
34s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 18 warnings, and 2 notices
Run Atlas tests
Process completed with exit code 1.
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project > atlas-connect-cluster: src/common/atlas/apiClientError.ts#L31
ApiClientError: [404 Not Found] error calling Atlas API: Not Found; No cluster named ClusterTest-687657b8973ae1b7b2605a46 exists in group 687657b9115de670563f1b0c. ❯ Function.fromError src/common/atlas/apiClientError.ts:31:16 ❯ ApiClient.getCluster src/common/atlas/apiClient.ts:312:34 ❯ waitCluster tests/integration/tools/atlas/clusters.test.ts:45:25 ❯ tests/integration/tools/atlas/clusters.test.ts:161:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/groups/687657b9115de670563f1b0c/clusters/ClusterTest-687657b8973ae1b7b2605a46', redirected: false, status: 404, ok: false, statusText: 'Not Found', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, apiError: { detail: 'No cluster named ClusterTest-687657b8973ae1b7b2605a46 exists in group 687657b9115de670563f1b0c.', error: 404, errorCode: 'CLUSTER_NOT_FOUND', parameters: [ 'ClusterTest-687657b8973ae1b7b2605a46', '687657b9115de670563f1b0c' ], reason: 'Not Found' } }
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project > atlas-list-clusters > returns clusters by project: tests/integration/tools/atlas/clusters.test.ts#L154
AssertionError: expected 'Cluster Name | Cluster Type | Tier | …' to contain 'ClusterTest-687657b8973ae1b7b2605a46 …' - Expected + Received - ClusterTest-687657b8973ae1b7b2605a46 | + Cluster Name | Cluster Type | Tier | State | MongoDB Version | Connection String + ----------------|----------------|----------------|----------------|----------------|---------------- + ClusterTest-687657b8973ae1b7b2605a46-iptest | FREE | N/A | CREATING | 8.0.11 | N/A ❯ tests/integration/tools/atlas/clusters.test.ts:154:51
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project > atlas-inspect-cluster > returns cluster data: tests/integration/tools/atlas/clusters.test.ts#L132
AssertionError: expected 'Error running atlas-inspect-cluster: …' to contain 'ClusterTest-687657b8973ae1b7b2605a46 …' Expected: "ClusterTest-687657b8973ae1b7b2605a46 | " Received: "Error running atlas-inspect-cluster: [404 Not Found] error calling Atlas API: Not Found; No cluster named ClusterTest-687657b8973ae1b7b2605a46 exists in group 687657b9115de670563f1b0c." ❯ tests/integration/tools/atlas/clusters.test.ts:132:51
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project > with project: src/common/atlas/apiClientError.ts#L31
ApiClientError: [404 Not Found] error calling Atlas API: Not Found; No cluster named ClusterTest-687657b8973ae1b7b2605a46 exists in group 687657b9115de670563f1b0c. ❯ Function.fromError src/common/atlas/apiClientError.ts:31:16 ❯ ApiClient.deleteCluster src/common/atlas/apiClient.ts:301:34 ❯ deleteAndWaitCluster tests/integration/tools/atlas/clusters.test.ts:13:5 ❯ tests/integration/tools/atlas/clusters.test.ts:69:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/groups/687657b9115de670563f1b0c/clusters/ClusterTest-687657b8973ae1b7b2605a46', redirected: false, status: 404, ok: false, statusText: 'Not Found', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, apiError: { detail: 'No cluster named ClusterTest-687657b8973ae1b7b2605a46 exists in group 687657b9115de670563f1b0c.', error: 404, errorCode: 'CLUSTER_NOT_FOUND', parameters: [ 'ClusterTest-687657b8973ae1b7b2605a46', '687657b9115de670563f1b0c' ], reason: 'Not Found' } }
tests/integration/tools/atlas/clusters.test.ts > atlas > clusters > project: src/common/atlas/apiClientError.ts#L31
ApiClientError: [409 Conflict] error calling Atlas API: Conflict; Cannot close group while it has active clusters; please terminate all clusters. ❯ Function.fromError src/common/atlas/apiClientError.ts:31:16 ❯ ApiClient.deleteProject src/common/atlas/apiClient.ts:233:34 ❯ tests/integration/tools/atlas/atlasHelpers.ts:50:13 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'https://cloud-dev.mongodb.com/api/atlas/v2/groups/687657b9115de670563f1b0c', redirected: false, status: 409, ok: false, statusText: 'Conflict', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, apiError: { detail: 'Cannot close group while it has active clusters; please terminate all clusters.', error: 409, errorCode: 'CANNOT_CLOSE_GROUP_ACTIVE_ATLAS_CLUSTERS', parameters: [], reason: 'Conflict' } }
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 MongoDB tests (macos-latest)
No ALTQ support in kernel ALTQ related functions disabled pf enabled
Run MongoDB tests (macos-latest)
No ALTQ support in kernel ALTQ related functions disabled
Run MongoDB tests (macos-latest)
pfctl: Use of -f option, could result in flushing of rules present in the main ruleset added by the system at startup. See /etc/pf.conf for further details.
Run MongoDB tests (macos-latest)
YES (0)
Run MongoDB tests (macos-latest)
2025-07-15 13:27:54.626 sysadminctl[1840:11904] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-07-15 13:27:54.586 sysadminctl[1840:11904] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-07-15 13:27:54.503 sysadminctl[1840:11904] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-07-15 13:27:53.797 sysadminctl[1840:11904] ---------------------------- 2025-07-15 13:27:53.797 sysadminctl[1840:11904] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-07-15 13:27:53.797 sysadminctl[1840:11904] ----------------------------
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...
Run Atlas tests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
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 MongoDB tests (ubuntu-latest)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520

Artifacts

Produced during runtime
Name Size Digest
run-atlas-tests-permissions-3141fb13570bffd5e5b463fce43daca7 Expired
140 Bytes
sha256:bc4b13774023b3f3176cd81825816e5c7c75b53af6bdec1c6398e8015ec8629b
run-tests-permissions-a150982b19193ed0e9a689a1578b02dd Expired
140 Bytes
sha256:8bf3d7de428a52f5f117e6978e36212a48b7885973f0f371a9d0e9f2e78d0ba7
run-tests-permissions-e98840ffa4c792bf3984de0c6af36858 Expired
140 Bytes
sha256:ca024ff62d649a449c33b4c65b30e58bd204072846228f8fd85e837d0aa6d7db
test-results Expired
11.2 KB
sha256:845442fc6546d7135c13c8b3399e6523c11f58b9f3f76363f88c8c7aec7dcba0