On Pull Requests: reviews and merges #1155
Replies: 5 comments 2 replies
|
Given the length of the software stack, I feel like having a specific day to get all these no-review PRs merged would be useful - critical security-related PRs would be an exception. After such software stack updates, it could be useful to make a new release, allowing for further integration and more extensive testing (perhaps in the style of the certification server). For the feature PRs, we/CMS were looking into multiple approvals as well. Not only for sensitive areas, but also for very intrusive changes (especially if it involves backward compatibility concerns). +1 for a first AI automated review, followed up accordingly by the author. It is important to keep agent review as concise as possible though. Thank you for getting this discussion started. |
|
It might be beyond the scope of this thread, but I also wanted to express my opinion on two related points:
|
|
Hi, I hope you're all doing well. I read your plan and I like the idea that the agent review is "mostly for the author itself". It means the author can run it before opening the PR, fix things early, and keep the PR clean for the human reviewer. If it helps, I'd like to share a tool I maintain, co-maintainer. It's an open source PR reviewer that fits this flow. Authors can run co-maintainer is free. It's BYOK, so you bring your own model key and only pay your model provider. One small tip before making it blocking: count for a few weeks how many findings people actually fixed. That number tells you if it's worth it. I'd love to help you set it up if you want to try it. (This message is human written, but AI found this repository for me. Thanks for reading.) |
LGTM
Not sure we can enforce that with
I would not enforce any AI agent usage if we don't have a common and free solution for everyone. Though I agree it can spot issues I could not so easily spot, but it sometimes too much and can really add cognitive load for the author, so it should likely be gated by the reviewer, who should select the most relevant comments. |
|
I am happy to try this out. I agree with @amaltaro that the |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I open a generic discussion with the idea of finding out what we want to do with all the PRs we have, and their reviews, and maybe the way we merge them. Everything is my opinion, and I'd like to get yours.
IMHO, there are 3 types of PRs:
Breakdown:
no-review PRs: These are the PRs for which we trust the CI, and for which the review is "automatic". Basically, the bot PRs (renovate, and pre-commit). I suggest making this mechanical: enable auto-merge + renovate automerge for these, and label them
no-review.release PRs currently from release-please. These are clearly to be only merged by an admin. We could enforce this with
CODEOWNERSrather than by convention.feature PRS are all the remaining ones, which need a proper review. Currently, a fully-human review presents the main bottleneck. I would suggest that:
I avoid discussing for the moment about how the agentic review could be set up, as this is only to agree on a methodology
All reactions