Repository navigation
Conversation
|
✅ Deterministic PR hygiene checks passed. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: lidge-jun/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe config CLI now applies dedicated redaction to ChangesProxy Credential Redaction
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to CLI output now hides proxy credentials while preserving usable host and port information; direct and credential-less proxies remain unchanged. No actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 2 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 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 |
✅ READY
Hygiene✅ Deterministic PR hygiene checks passed. |
리뷰 · 우선순위 66 / 80
이 PR은 라인 - 라인 - 라인 - 메인테이너의 판단이 필요한 지점 프록시 값 전체를 비밀로 볼지, 주소 안의 아이디와 비밀번호만 가릴지 정해 주세요. 너의 추천 방향은 유지하면 됩니다. 주소 안에 있는 아이디와 비밀번호는 화면에 나오면 안 됩니다. 머지 전에 이 댓글은 grok-bot이 작성했습니다 |
1a4fee0 to
73946f3
Compare
Mask only credential-bearing proxy URLs (userinfo stripped via redactUrlForLog, host/port kept); direct and credential-less values print unchanged. Clarify that config export stays raw for restore.
|
Applied on acdbb1c — took the recommended shape:
|
…tial-leakage-in-cli
|
Consolidated into #5538 as a single related-function aggregate. Source head: Both unique source commits, including the review follow-up, match carried commits by stable Git patch ID. All affected runtime and test files match the source head exactly at the replacement head; merge-only source commits have no additional combined diff. The combined changed-file run passed 85 tests / 376 assertions; typecheck, structure, privacy and standalone size-ratchet checks passed. Full suite, hosted cross-platform CI and independent review remain pending. Closing this duplicate standalone review entry at the author's request after verifying migration. This is not a merge or release claim; remaining integration checks and reviews are tracked on the draft replacement. Original branches are retained. |
Motivation
proxyURLs may contain userinfo (user:password@host) and were not covered by the CLI's exact-key redaction, exposing proxy credentials inocx config show|get|setoutput.proxy, but the CLI used a separate key-list and therefore omitted it.Description
proxyas a URL-aware case in the CLI redactor (src/cli/config-command.ts): a URL carrying userinfo is masked viaredactUrlForLog(userinfo/query/hash stripped, host and port kept for diagnostics);"direct", credential-less URLs, and empty values print unchanged; a non-URL non-"direct" value fails closed to********.config exportintentionally keeps the raw file — it is a restore path, and masking it would lose the proxy password. TheSECRET_KEYScomment now states this explicitly.tests/cli/cli-config-command.test.tsto cover credentialed,"direct", and credential-less proxy values acrossconfig show --json,config get, and JSONconfig setresponses.structure/config.md.Testing
bun test tests/cli/cli-config-command.test.ts: 3 tests pass (19 assertions) on head acdbb1c.bun run structure:checkpassed.Codex Task
Summary by CodeRabbit
directsetting remain readable.