flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[test] Cover logger secret redaction

Open K1NGD4VID opened this issue 1 month ago • 7 comments

Labels: testing, backend, points: 150 File/location: backend/src/logger.ts

Description: Authorization headers, signing keys, and nested secrets lack redaction regression tests.

Acceptance Criteria:

  • [ ] Add deterministic tests for the documented success and failure paths, including boundary inputs and dependency failures.
  • [ ] Run the new tests in the corresponding CI suite and assert the public behavior and error contract.

Notes: This is a focused regression gap for the cited module; it was not covered by the existing test files reviewed during the sweep.

K1NGD4VID avatar Oct 22 '26 04:10 K1NGD4VID

Hey folks,

I'm interested in tackling this issue. Here is how I plan to resolve it:

  1. I will write dedicated unit and integration tests to cover the target execution paths and verify that state transitions and error boundaries behave as specified.
  2. Add full test coverage and ensure clean CI verification.

Happy to take this on if you can assign it over. Ready to dive straight into the fix!

maxx-GENIUS avatar Oct 22 '26 11:10 maxx-GENIUS

Hey @maintainers,

I'd love to take this on. I reviewed the requirements and can address Cover logger secret redaction cleanly following repository conventions, with full test coverage. Please assign me to this issue if it's available.

Ranjeet2063 avatar Oct 26 '26 12:10 Ranjeet2063

Hello maintainers, I’d like to contribute to issue #1768. After assignment, I would review the logger’s redaction contract and add deterministic regression tests using synthetic credentials for Authorization headers, signing keys, and nested secrets. I would verify sensitive values never appear in captured output while ordinary diagnostic fields remain useful. I would cover relevant boundary and error paths, run the backend test suite, and report any implementation gaps without expanding the scope unexpectedly.

brayan03alvarado26-ops avatar Oct 27 '26 16:10 brayan03alvarado26-ops

Hey folks,

I reviewed the issue for Cover logger secret redaction. We need to resolve 'cover logger secret redaction' cleanly across the target modules.

Proposed Implementation:

  1. Trace the current code execution path to isolate the behavior boundary.
  2. Implement a focused, modular fix for 'Cover logger secret redaction' adhering strictly to repository architecture.
  3. Ensure defensive guards and backward compatibility are maintained.

Testing & Verification: I will reproduce the target scenario locally, add regression unit tests, and confirm all CI checks pass 100% green.

Please assign this to me and I'll submit the PR with passing CI.

ranjan1969x avatar Nov 06 '26 07:11 ranjan1969x

@YazarAyobami has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

Hi maintainer, I can get this issue fixed quickly. Please assign it to me

ℹ️ Repo Maintainers: To accept this application, review their application or assign @YazarAyobami to this issue.

YazarAyobami avatar Nov 21 '26 12:11 YazarAyobami

Congratulations, @YazarAyobami! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

🧑‍💻 @YazarAyobami: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Nov 21 '26 12:11 drips-wave[bot]

This issue has been completed by @YazarAyobami as part of the Stellar Wave Program's 11th Wave 🥳

😎 @YazarAyobami: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

drips-wave[bot] avatar Nov 21 '26 17:11 drips-wave[bot]