-
Notifications
You must be signed in to change notification settings - Fork 1
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
Core contributors as backup reviewers #104
Comments
This has been implemented, core contributors are now backup reviewers on PRs without maintainers, or when the maintainers are unresponsive. See:
The last step on this is for @itsjeyd to announce it more broadly to make sure everyone is aware. |
And if you are a core contributor, go pick a PR to review at the link Tim provided:
|
@mphilbrick211 @itsjeyd Given that now this has been an option more widely available for PR reviews, how is that working out when you try to assign reviews? Looking at the list of PRs up for review, it seem that only a few of them could be assigned? Is it an issue with identifying potential core contributor reviewers, or negative/no answers from the core contributors? |
Hi @antoviaque - I am going through my OSPRs and aligning them with the new maintainer info. I'm then grouping them into OPRPs that are stalled / need review and will be reaching out to CCs where needed. I have hundreds of pull requests so it's taken a bit to get them organized, but I'll be reaching out to CCs soon. |
@antoviaque I should add that I don't usually use the "assignee" field, and instead I use the "reviewer" field. Also keep in mind that some of those on the list are from repos like "ecommerce" which are no longer in use so they may eventually be closed. Others have reviewers that are no longer reviewing (e.g. they may have been assigned for a 2U team to review, but that team may no longer be reviewing pull requests) - and in these cases, I'm trying to organize them as well. |
@mphilbrick211 Thanks for the details! That's a good point about the assignee vs reviewers fields, I was looking at the wrong field :) Displaying the reviewers on the table paints a much better picture, that's great. We discussed that point during the contributors meetup yesterday, and @arbrandes pointed out that the difference between assignee and reviewers on github can be confusing - the reviewers fields is actually quite straightforward (it lists the people who should be reviewing the PR), but there is no definition of what the assignee field is for, in a PR. On an issue it is the person fixing it, but for a PR the author is already the one responsible for getting the PR to the finish line - which might be why it's often not set? Btw, @arbrandes also mentioned that he now reviews any PR where he has merge rights as a core contributor, without waiting on others or maintainers, to avoid the long delays we often have because of the long/low response times of some people/teams - which makes sense to me, this is the way it usually works best: the first person who is able to review does it. |
That sounds great 🙂
This point has come up in a few different conversations about OSPR management over time, and there have been some attempts to start using the Assignee field to indicate responsibility for shepherding a PR through the review process (either through self-assignment by maintainers or through @mphilbrick211 and I setting the assignee after getting confirmation from someone in the PR comments that they were going to take care of the review). So far this approach hasn't fully taken off, though, and is not being done consistently at the moment. |
@itsjeyd That would make sense to me 👍 |
@itsjeyd @mphilbrick211 This has now been in place for a bit, and it seem to be going well? Any issues or blockers remaining to push PR reviews to core contributors? |
@antoviaque Yep, it's definitely been helpful to be able to bring core contributors into the review process without having to wait for explicit approval from maintainers. Right now, the main point of friction that remains for me is that there's no quick way of getting a complete list of core contributors for a given repo. (And I'd imagine that for edx-platform, there's some added complexity in terms of knowing who is familiar with which area of the platform, and therefore best suited to review a given PR. Maybe @mphilbrick211 can confirm.) We have a mapping of core contributors to repos on the wiki, but (as far as I'm aware) no mapping from repos to core contributors. And if someone is a CC for multiple repos, the wiki doesn't necessarily list all of them. (It provides a link to the GitHub teams that they are part of instead.) So doing a browser search on the wiki page for the name of a repo will give incomplete results, in that it will only match CCs that have the repo listed explicitly next to their name. Maybe this could be addressed through some sort of automation involving catalog-info.yaml (which works well for making info about who maintains which repo discoverable via Backstage and @feanil's spreadsheet). |
@itsjeyd Thanks for the details! It's good to know that getting the core contributors involved helps. :)
👍 Do you think we could schedule a discovery to investigate this approach? If you don't have time, don't hesitate to involve another core contributor - there time left in some of the core contributors' budgets. |
@antoviaque Yep, I'll post about it on the core contributors epic before the end of the sprint 👍 |
@itsjeyd I believe this has progressed right, with an upcoming change to the bot answering PRs to give instructions about who to ping and what the PR author can do to get their PR reviewed? I'm not sure if we now have a clear mapping of who reviews what though using backstage / catalog-info.yaml? |
@antoviaque Yes, we have openedx/openedx-webhooks#288 which updates the welcome message for OSPRs, and enables the bot to provide info about who the maintainers of the parent repo of a given PR are. This info is based on catalog-info.yaml. (Check out the new welcome message here if you're interested.) The issue that I mentioned above (= no mapping between repos and CCs) is still open, though. I had posted about it internally before the conference but there were no takers so far. |
@itsjeyd Thanks for the recap - I have pinged people on this. Don't hesitate to escalate it when you get no answer on a ping, especially on an important task like this. I'll create a dedicated ticket for it on this board to follow up |
Will do, thanks @antoviaque 👍 |
This issue is to follow up on a topic from the contributor meetup working group
See https://discuss.openedx.org/t/pull-requests-review-delays/10497 for the context
Enlist core contributors to review OSPRs:
Determine how to label OSPRs to differentiate PRs that are:
Do experiments: find out specific PRs that could be passed on to a CC, and find volunteers; check issue about tracking of OSPRs
Make it safer to merge community code on master: add manual reviews of deployments on edx.org:
The text was updated successfully, but these errors were encountered: