Skip to content

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

feat: add dictionary-based redaction for secrets in logs

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

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

code_health.yaml

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

Annotations

5 errors, 10 warnings, and 1 notice
Run MongoDB tests (ubuntu-latest)
Process completed with exit code 1.
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 [ { …(2) }, …(3) ] to deeply equal [ { …(2) }, { …(2) } ] - Expected + Received @@ -3,8 +3,16 @@ "kind": "user", "value": "testuser-68b8817846426a225d6f0370", }, { "kind": "password", - "value": ": `-j0BCSPMqclagrydgrlA0A`.", + "value": "testpassword", + }, + { + "kind": "user", + "value": "testuser-68b8817846426a225d6f0370", + }, + { + "kind": "password", + "value": "-j0BCSPMqclagrydgrlA0A", }, ] ❯ tests/integration/tools/atlas/dbUsers.test.ts:101:77
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-2b01667ca7ea32148a2579caf26d8c39
140 Bytes
sha256:6a25018c50cf12d09fab65f80f59208f5e0263484670bc6c9f176045c3142ed7
run-tests-permissions-55b94a0461ee3c0aa4264f9a817b8887
140 Bytes
sha256:058cac125b2c62899eb06cbdc5ab18105b43626579963c893bc4f8d5c6fb3853