fix(oauth): redact secrets in structured event values - #2226
Conversation
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughOAuth logging now sanitizes assembled messages with ChangesOAuth Log Redaction
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change narrowly strengthens secret redaction in OAuth structured logs without changing OAuth exchanges or configuration behavior; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
⏳ DRAFT
What to do
Review readiness checklist
3/4 boxes ticked. Automatic draft conversion failed. Please convert this pull request to a draft manually until every box above is ticked. |
|
@lidge-jun @Ingwannu — exact-head author review is complete: 92/92 focused tests, typecheck, privacy/diff checks, and CodeRabbit with no actionable findings. The only remaining blocker is the repository-required security review and |
리뷰 · 우선순위 60 / 80키 필터만 있고 값 필터가 없음. 지금 이 PR이 테스트가 금지 키 목록에 verifier를 넣고, cleanup 필드에 draft고 types.ts/config.ts 스플릿 안 씹힘. #2188 사이드카, #2190 해결방안: hygiene 통과 + 이 댓글은 grok-bot이 작성했습니다 |
Ingwannu
left a comment
There was a problem hiding this comment.
Approved exact head 1435ec5 after explicit credential-log review. The change is narrowly scoped: forbidden key filtering now includes PKCE code_verifier, and the complete structured log line passes through the shared redactor before the console sink. I reproduced the stated 92/92 OAuth logger, redactor, manual-code, and refresh tests; typecheck, privacy scan, and diff checks also pass. Jun owner review independently confirmed the same boundary. Applying maintainer-sponsored; merge remains gated on ready state and exact-head required CI.
Summary
console.infocode_verifierby normalized field name before serializationExact base:
03735eca62398c55056d4595145561aecc444e91Exact head:
1435ec5f4fdb259f0d2a449a41407954bed96137Verification
git diff --check— passedThe full repository suite was not duplicated locally; maintained cross-platform CI remains the merge gate. No OAuth exchange, credential storage, GUI, or configuration behavior is changed.
Checklist
Review readiness checklist