Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加AI自动代码复审 #2977

Closed
ColdWaterLW opened this issue Mar 14, 2025 · 1 comment
Closed

添加AI自动代码复审 #2977

ColdWaterLW opened this issue Mar 14, 2025 · 1 comment
Assignees
Milestone

Comments

@ColdWaterLW
Copy link
Collaborator

ColdWaterLW commented Mar 14, 2025

需求描述(Describe)

  • 减少低级错误引发的性能问题(如panic、连接泄漏、文件句柄泄漏等)
  • 初步筛查并给出建议,提高人工复审效率

实现方案

  • 新增一个actions,调用pr-agent,连接大模型进行代码复审
  • 复审触发时机:创建pr、reopen pr、pr提交新的commit

效果展示

AI对pr变更内容的简述

Image

复审发现的问题

Image

给出一些修改建议

Image

变更影响面

受影响的模块或功能

外部引用的潜在问题或风险

版本兼容性

测试建议

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

No branches or pull requests

1 participant