Skip to content

ci: focus Open Code Review on blocking/critical findings - #45

Merged
bubbleptr merged 1 commit into
mainfrom
ci/ocr-focus-blocking
Jun 12, 2026
Merged

bubbleptr merged 1 commit into
mainfrom
ci/ocr-focus-blocking

Conversation

@bubbleptr

Copy link
Copy Markdown
Owner

减少 Open Code Review 在 PR 上的噪音,让反馈更容易收敛。

主要改动:

  • 在 OCR background prompt 里明确要求只关注 diff 新增代码、最多报 3 条、只报有把握的 bug/安全/数据竞争/项目约束违反;不报告风格、命名、微优化、nitpick。
  • 要求模型给每条评论前缀 [BLOCKER] 或 [CRITICAL]。
  • 后处理脚本过滤为只展示 blocker/critical:PR 评论最多 5 条,summary 最多 10 条。
  • 若模型未按约定打标签,则 fallback 到原始列表但只取前 3 条,避免评论爆炸。

预期效果:修复已有 review 意见后,push 不会反复冒出大量非阻塞性问题。

@github-actions

Copy link
Copy Markdown

🤖 Open Code Review — Blockers & Critical only

Model deepseek-v4-flash · 0 blocking/critical findings

No blocking issues 🎉

@bubbleptr
bubbleptr merged commit 4ac5ac1 into main Jun 12, 2026
1 check passed
@bubbleptr
bubbleptr deleted the ci/ocr-focus-blocking branch June 12, 2026 17:55
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