Skip to content

feat: add dictionary-based redaction for secrets in logs #1808

feat: add dictionary-based redaction for secrets in logs

feat: add dictionary-based redaction for secrets in logs #1808

Triggered via pull request September 3, 2025 18:17
@kmruizkmruiz
synchronize #508
mcp-29
Status Failure
Total duration 10m 49s
Artifacts 2

code_health.yaml

on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
4m 38s
Run Atlas tests
Report Coverage
42s
Report Coverage
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 10 warnings, and 1 notice
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 :: device-flow > gets requested by the agent to connect: tests/integration/common/connectionManager.oidc.test.ts#L113
Error: Test timed out in 10000ms. 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:113:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:244:17 ❯ config tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:79:9
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can refresh a token once expired: tests/integration/common/connectionManager.oidc.test.ts#L113
Error: Test timed out in 10000ms. 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:113:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:221:13 ❯ config tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:79:9
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can list existing databases: tests/integration/common/connectionManager.oidc.test.ts#L113
Error: Test timed out in 10000ms. 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:113:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:209:13 ❯ config tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:79:9
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=true > can connect with the expected user: tests/integration/common/connectionManager.oidc.test.ts#L113
Error: Test timed out in 10000ms. 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:113:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:162:13 ❯ config tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:79:9
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can refresh a token once expired: tests/integration/common/connectionManager.oidc.test.ts#L113
Error: Test timed out in 10000ms. 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:113:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:221:13 ❯ config tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:79:9
tests/integration/common/connectionManager.oidc.test.ts > ConnectionManager OIDC Tests > 8.0.12 Enterprise :: auth-flow;nonce=false > can list existing databases: tests/integration/common/connectionManager.oidc.test.ts#L113
Error: Test timed out in 10000ms. 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:113:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:209:13 ❯ config tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:79:9
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#L113
Error: Test timed out in 10000ms. 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:113:21 ❯ tests/integration/common/connectionManager.oidc.test.ts:162:13 ❯ config tests/integration/common/connectionManager.oidc.test.ts:141:17 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:79:9
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 create a database user with generated password: tests/integration/tools/atlas/dbUsers.test.ts#L111
AssertionError: expected [ { …(2) }, …(3) ] to deeply equal [ { …(2) }, { …(2) } ] - Expected + Received @@ -3,8 +3,16 @@ "kind": "user", "value": "testuser-68b88686dbc70971606e4ade", }, { "kind": "password", - "value": "gZKZMjtNXK0oCtrvapGInw`", + "value": "testpassword", + }, + { + "kind": "user", + "value": "testuser-68b88686dbc70971606e4ade", + }, + { + "kind": "password", + "value": "gZKZMjtNXK0oCtrvapGInw", }, ] ❯ tests/integration/tools/atlas/dbUsers.test.ts:111:77
Run MongoDB tests (windows-latest)
Process completed with exit code 1.
tests/integration/indexCheck.test.ts > IndexCheck integration tests > with indexCheck enabled > indexCheck functionality: tests/integration/tools/mongodb/mongodbHelpers.ts#L112
Error: Hook timed out in 120000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ setupMongoDBIntegrationTest tests/integration/tools/mongodb/mongodbHelpers.ts:112:5 ❯ tests/integration/tools/mongodb/mongodbHelpers.ts:69:32
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 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 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 (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-aa4b39f1a38c0b8df51c3573ce0400a3
140 Bytes
sha256:d4c15cc1d8dba391850cc7f4edf14c6b2b0f1bd5cb9717606144d73e1520f2bc
run-tests-permissions-2a600484eef6f1cdc188b2e3cb7bfcd0
140 Bytes
sha256:340817bf68bae3baf44762a7152cfdae81382437d9d850952a3499dcf6ba7c56