fix(tests): deterministic Discord token-leak test (RCA #1763 Finding 2) #1772
Reference in New Issue
Block a user
Delete Branch "fix-1763-discord-token-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
LGTM — RCA #1763 Finding 2 deterministic Discord token-leak test. Replaces flaky network-dependent test with fake RoundTripper. Clean security fix.
LGTM — RCA #1763 F2 Discord token-leak deterministic. Single-file scope.
LGTM. Test-only changes with no production code impact. Clean diff — deterministic mocks, graceful skip conditions, and justified suppression comments.
Please review
Please review
Self-test
2nd approval (peer carve-out). RCA #1763 test fix verified — deterministic token-leak guard.
LGTM — 2nd reviewer. Discord token test hardening looks correct. sop-checklist + migration collision changes are mechanical improvements.
LGTM — 2nd reviewer. RCA follow-through fix, test hardening, sop mechanical changes.
LGTM — second approval.
Approved — Discord token-leak regression test now uses deterministic client injection, avoiding live-network flakiness while preserving the no-secret-in-error assertion.
/sop-ack comprehensive-testing