Skip to content

feat: 审查报告中英双语 + README Copilot 调侃 - #109

Merged
lwpk110 merged 1 commit into
mainfrom
i18n/bilingual
Aug 15, 2026
Merged

lwpk110 merged 1 commit into
mainfrom
i18n/bilingual

Conversation

@lwpk110

@lwpk110 lwpk110 commented Aug 15, 2026

Copy link
Copy Markdown
Owner

变更概述

国际化第一步:审查报告支持中英双语(默认英文),README 加入对 Copilot 套餐改契约的戏谑调侃。

变更内容

  • REVIEW_LANGUAGE = en(默认)/ zh / bilingual
    • 控制报告固定文案(变更概述/严重度/表格头/审查信息等标签表 LABELS)
    • buildSystemPrompt(language) 向 LLM 注入输出语言指令
    • 行内评论标签(Fix Suggestion 等)同步语言化
  • 三形态同步:核心 / Actions 脚本 / Worker;测试 21 全过
  • README:新增 REVIEW_LANGUAGE 配置说明;加入「为什么会有海姆达尔」段落——戏谑 Copilot 随意更改套餐契约、token 缩水、10 美元月中用尽,产生开发者共鸣

验证

  • 构建 / 脚本 / Worker 通过;21 单测全过(含语言适配)
  • README 围栏完整

- REVIEW_LANGUAGE = en(默认)/ zh / bilingual,控制报告固定文案与 LLM 输出语言
- prompt 增加 buildSystemPrompt(language) 语言指令
- parse/render 标签表(LABELS)三语言;行内评论标签同步
- 三形态同步(核心 / Actions 脚本 / Worker);测试 21 全过
- README:新增 REVIEW_LANGUAGE 配置;加入对 Copilot 套餐改契约的戏谑调侃(共鸣)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@lwpk110, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 31 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: cb3279a4-f59e-47a4-8b2e-de8655a2a69c

📥 Commits

Reviewing files that changed from the base of the PR and between 4ecbf15 and 847f10d.

📒 Files selected for processing (8)
  • README.md
  • scripts/heimdall-review.js
  • src/config.ts
  • src/review/index.ts
  • src/review/parse.ts
  • src/review/prompt.ts
  • test/parse.test.js
  • worker/index.ts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@lwpk110
lwpk110 merged commit b6cea86 into main Aug 15, 2026
2 checks passed
@lwpk110
lwpk110 deleted the i18n/bilingual branch August 15, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant