Adds 5 focused unit tests for redactExplicitText. The existing suite only asserted the output no longer contains the declared literals, so a return "" mutant survived. New cases pin: [REDACTED] redaction while preserving surrounding text, replacement fallback to … then "", longest-literal-first ordering, and fail-closed empty output when redaction re-forms a declared literal.
TL;DR: I ran the one changed test file on three Node versions, and all 11 tests passed on each. The CI workflow run on this head is action_required, so no CI test jobs ran. The head is also 1394 commits behind main.
Check
Node 22.23.4
Node 24.22.1
Node 26.12.1
src/domain/explicitSensitiveValues.test.ts
pass: Test Files 1 passed (1), Tests 11 passed (11)
pass: Test Files 1 passed (1), Tests 11 passed (11)
pass: Test Files 1 passed (1), Tests 11 passed (11)
I ran head b99ecccfa9, which is 1394 commits behind main 559083be29.
The CI workflow run is completed/action_required. Its check runs show no Source tests, Portable tests or Test shard jobs.
PR readiness has 1 completed/failure run and 2 completed/success runs. PR title has 2 completed/action_required runs.
Check runs: Greptile Review succeeded. Validate author declaration has 2 successes and 1 failure.
The commit status PR readiness is pending.
GitHub shows mergeable true, state blocked, and draft true.
Not run
A full test suite run on the pinned Node version.
A typecheck run of the project.
A merge with current main, 559083be29.
Test setup
Box: Fedora 44 VM (4 vCPUs, 8 GB) on my Nobara 44 PC, Linux 7.2.11
Node: 22.23.4, 24.22.1, 26.12.1
Head / base: b99ecccfa9 / 2250e67bc2 (merge base with main)
Install: npm ci --offline and npm run test:prepare on Node 24.22.1
Commands
npm ci --offline
npm run test:prepare
xvfb-run -a npm run test:focused -- src/domain/explicitSensitiveValues.test.ts
🤖 Written and tested with Claude Code (Sonnet 5.5, verified by Opus 5.5), posted with my OK 🦊
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
b99ecccℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.