Skip to content

fix: atlas connectCluster defaults to readOnly DB roles - MCP-125 #1631

fix: atlas connectCluster defaults to readOnly DB roles - MCP-125

fix: atlas connectCluster defaults to readOnly DB roles - MCP-125 #1631

Triggered via pull request August 22, 2025 14:31
@blvablva
synchronize #471
MCP-125
Status Failure
Total duration 4m 17s
Artifacts 3

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
1m 49s
Run Atlas tests
Report Coverage
40s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 19 warnings, and 3 notices
Run MongoDB tests (macos-latest)
Process completed with exit code 2.
Run MongoDB tests (macos-latest): src/tools/atlas/connect/connectCluster.ts#L10
Cannot find module '../../../common/atlas/roles.js' or its corresponding type declarations.
Run Atlas tests
Process completed with exit code 2.
Run Atlas tests: src/tools/atlas/connect/connectCluster.ts#L10
Cannot find module '../../../common/atlas/roles.js' or its corresponding type declarations.
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 2.
Run MongoDB tests (ubuntu-latest): src/tools/atlas/connect/connectCluster.ts#L10
Cannot find module '../../../common/atlas/roles.js' or its corresponding type declarations.
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
Run MongoDB tests (windows-latest): src/tools/atlas/connect/connectCluster.ts#L10
Cannot find module '../../../common/atlas/roles.js' or its corresponding type declarations.
Report Coverage
Process completed with exit code 2.
Report Coverage: src/tools/atlas/connect/connectCluster.ts#L10
Cannot find module '../../../common/atlas/roles.js' or its corresponding type declarations.
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-08-22 14:31:10.025 sysadminctl[14721:66604] Creating home directory at /Users/mitmproxyuser
Run MongoDB tests (macos-latest)
2025-08-22 14:31:09.967 sysadminctl[14721:66604] Assigning UID: 502 GID: 20
Run MongoDB tests (macos-latest)
2025-08-22 14:31:09.794 sysadminctl[14721:66604] Creating user record…
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
Run MongoDB tests (macos-latest)
2025-08-22 14:31:09.194 sysadminctl[14721:66604] ---------------------------- 2025-08-22 14:31:09.194 sysadminctl[14721:66604] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) ! 2025-08-22 14:31:09.194 sysadminctl[14721:66604] ----------------------------
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)
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 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
Run MongoDB tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
run-atlas-tests-permissions-193734590b53e47d132aafdc68009c0b
140 Bytes
sha256:e1ea6584cf50e9a1b845251f9946538df3ce3665d568c32ea49a7bfc85661adb
run-tests-permissions-4eb1aed9d98b7d2f2a2adeb1ffbb3272
140 Bytes
sha256:db8a926262f5527019a7be19b381962db022fce3995dc83ffd3fddd43544a067
run-tests-permissions-b46b30f1ae8c54ffe16b2fecfa9875da
140 Bytes
sha256:fadad3cadae2e71a91a67c9bf6773a38e20d2ce69be98dbb5a2b22a49b10611f