Add guidance on how to review a pull request#1872
Conversation
|
@ESMValGroup/esmvaltool-developmentteam It would be great if you could have a look at this for the discussion in the workshop tomorrow at 1:30 PM. |
|
Hey @bouweandela very nice addition. I really like the description you added to the documentation. My main input for the discussion would be that I find the PR template to be a bit intimidating. I wonder if we can somehow make it considerably more concise (without sacrificing the scrutiny). |
|
Ah and I wonder whether we should include a little bit more on the bot, like who can (and is supposed to) trigger it? Currently, if I understand the text correctly, the scientific reviewer is supposed to do this (or run the recipe by themselves), is that right? |
|
Maybe we could move the checklist from the template to the review documentation? Reviewers would then need to copy/paste the relevant bits from there? The downside of that is that the author of the pull request might not see it, so it might feel like the reviewer is coming up with a lot of 'new' requirements when they start the review. |
|
Hi @bouweandela , nice work on the guidelines for the reviewing process! I have few points of concern:
Items that need a longer description should really be mentioned in the contributing.md / contributing guidelines and not explained in detail in the PR template. |
@stefsmeets That's why I added How do I request a review of my pull request? to the frequently asked questions, I think that answers that question. |
|
@axel-lauer How do we proceed with the two branches containing guidelines? Shall I merge the doc_guidelines_review into this branch/PR so we have a single document to work on? |
@Peter9192 At the moment I think both reviewers need to run the recipe themselves, definitely the scientific reviewer, because how are you going to look at the plots if you don't have the results? Indeed it would be good to add more information on the bot, but maybe @nielsdrost can do that in a separate pull request once it is available for general use? |
I think it would be better to have everything in one branch. Would be great if you could do the merge. |
If the bot runs the complete recipe, would it be possible to have the plots available from its run for the scientific reviewer? Depending on the size of the recipe having every reviewer run it separately from the bot might be resource intensive. Otherwise some people might not be able to review if the project they work on is nearing its computation resource limit. |
|
@bouweandela thank you. Some suggestions on the review guidance and pull request template:
It is not clear what the important features are in the design. Can we add a link to some part of the documentation here, if any.
We can add a note that the pull request checklist in the template should be complete.
We can add a note that in GitHub notification, there is a category "review requested".
It is better to move it to the top under the title "Technical review". Regarding the pull request template, I agree with the previous comments about making it concise. Here some suggestions:
These two items can be covered by documentation at the top.
This item should be checked for recipes (new or updated), too. Also, I suggest to re-write it as: The numbers and units of the output look physically meaningful. |
Yes, see #1882 |
Yes, that is the intention. The bot posts a link to the output in the PR. |
Co-authored-by: Niels Drost <n.drost@esciencecenter.nl>
|
Just an idea that I mentioned during the workshop:
Edit: Can be done via github actions, there is a |
Co-authored-by: Niels Drost <n.drost@esciencecenter.nl>
|
This looks good to me. @bouweandela @zklaus @nielsdrost @Peter9192 @bettina-gier does anyone of you have further comments? Since I think of the user's guide as a living document I would propose to get this merged soon. In my opinion, it is important to have something to start with that we can then improve as we go. |
axel-lauer
left a comment
There was a problem hiding this comment.
Looks good! I think this is an excellent starting point that can be improved over time (just as the rest of the documentation in the user's guide).
I agree we should merge this soon, but I was under the impression that @bouweandela was still going to implement some of the previous feedback points. Particularly shortening the PR template bullet points and adding links to the documentation, and reformatting the table near the bottom with the main text -- adding headers so that we can link there from the PR template. |
|
Yes, I was planning on doing that, but I haven't had the time yet. |
|
Agreed on merging this to have a first guideline in place, and it looks great as a first draft. When rewriting the points in the template, if you really want the reviewers checking the boxes, maybe change the wording to not be "you" but to be indirect wording like you used in the scientific bullet points. Also agree on keeping them more concise, e.g. |
|
Ok, I'll merge this now and use all comments in a new pull request! |
Add guidance on how to review a pull request. Comments and/or questions are very welcome!