feat: CodeRabbit 配置 + Lark 权限优雅降级(#380 #382)#390
Merged
Conversation
- #380:新增 .coderabbit.yaml——按 monorepo 各子系统(worker/cli/web/shared)定制 审查重点(越权/SQL/终端转义/迁移 NULL 语义/鉴权附件/i18n 同步)。装 App 需 owner 在 github.com 授权(敏感外部动作),配置文件先入仓即用。 - #382:LarkMemberInvite 撞一次「通讯录权限未开通」(503 permission) 后记住并优雅降级 ——隐藏徒劳的搜索框,持久提示「请管理员在 Lark 后台开权限;也可用邀请链接」。 权限本身是 owner 在 Lark 后台的配置项,前端只能降级不能代开。 验证:web 全过(i18n en/zh 对齐)、tsc/build 干净。 Refs #380 #382 Claude-Session: https://claude.ai/code/session_01PgxkZeqJmDge3dYe9W2tPZ
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
leeguooooo
added a commit
that referenced
this pull request
Jul 12, 2026
owner 令:非阻塞被当成『不用看』,review 成摆设(#390 带 review 就合、没人读)。 改成软阻断:pr_agent 作为 main 分支保护的 required check,合并前必须等它跑完—— 端点通→review 已贴 PR、合并者一定看得到;端点挂→无评论但 job 照样绿(continue-on-error + 末尾 exit 0),绝不卡死所有 PR。超时收到 8 分钟。配套『合并前先读 review』纪律。
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
两个 owner-action issue 的代码可做部分(App 授权/Lark 后台权限仍需 owner):
web 全过、tsc/build 干净。
Refs #380 #382