fix(gate): 禁用 quotePath 修非 ASCII 路径漏匹配 + hardened_git 单一声明 - #108
Conversation
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
🔒 Repowise is not analyzing this repository The PR bot is free on public repositories. This one is private, which needs a Pro plan. |
|
Warning Review limit reached
Next review available in: 27 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
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 |
Code Intel change risk
Top signals
revspec: |
CodeRabbit 对 #102 的合并后追审两条,快速跟进:
run_git_diff_numstat/file_commit_history解析路径输出时未禁用core.quotePath——非 ASCII 文件名默认被 C 引号转义("src/\347\273\237..."),永远匹配不上仓库相对路径键,非 ASCII 路径的历史/统计会漏。两处子进程加-c core.quotePath=false,带中文文件名 fixture 回归测试non_ascii_paths_arrive_unquoted_from_git。对中文用户仓库这是必修。change_risk/mod.rs的#[path = "../hardened_git.rs"]二次声明(同文件双模块实例),全部改走crate::hardened_git。门禁:change_risk 12/12、全套测试无失败、
cargo fmt --check干净、权威 self-scan exit 0。Refs #95