Skip to content

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

feat: add dictionary-based redaction for secrets in logs

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

Triggered via pull request September 4, 2025 05:58
@kmruizkmruiz
synchronize #508
mcp-29
Status Failure
Total duration 6m 38s
Artifacts 2

code_health.yaml

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

Annotations

11 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#L101
AssertionError: expected 'Error running atlas-create-db-user: […' to contain 'created successfully' Expected: "created successfully" Received: "Error running atlas-create-db-user: [409 Conflict] error calling Atlas API: Conflict; A user with username testuser-68b92b031e5a565ef326d3fe already exists." ❯ tests/integration/tools/atlas/dbUsers.test.ts:101:43
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-db1b9785079e3dade383b7ebfea4cb69
140 Bytes
sha256:97288f41b3847baac355658cc62c62667652bab58bda9b26ecf78a87cb06f6ed
run-tests-permissions-b507c4067d174bd36725695691119dab
140 Bytes
sha256:8aea9dd23c09274296b91dbecbfee5bbfec3c29332f7257219e67c9e05550526