Skip to content

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

feat: add dictionary-based redaction for secrets in logs

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

Triggered via pull request September 4, 2025 06:04
@kmruizkmruiz
synchronize #508
mcp-29
Status Failure
Total duration 6m 31s
Artifacts 3

code_health.yaml

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

Annotations

11 errors, 9 warnings, and 1 notice
Run MongoDB tests (macos-latest)
Process completed with exit code 1.
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
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
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
atlas-test-results
14.9 KB
sha256:d7977601d26941b6bb7b60f786522d44bced7912f79cbc0a232eb7c8c747e7a0
run-atlas-tests-permissions-774061a469ca902ba2598d4e4f6942c9
140 Bytes
sha256:df7fba7281e5d81831ba41947585039ae043cacd6ab69beac38b7fc3c291af97
run-tests-permissions-85848754b0518a8b65268064719be24c
140 Bytes
sha256:c24c1a85ec91f987639e63ca70d71c399be90dd8b9348238d4f65f54d2f80d63