Skip to content

Infos for contributers on prs and reviews in separate pages - #849

Open
JBludau wants to merge 9 commits into
kokkos:mainfrom
JBludau:review_checklist
Open

Infos for contributers on prs and reviews in separate pages#849
JBludau wants to merge 9 commits into
kokkos:mainfrom
JBludau:review_checklist

Conversation

@JBludau

@JBludau JBludau commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

This pr adds a Checklist-like set of questions for reviewing PRs

This was discussed in the developer meeting 2026 at SNL:
We talked about our resources for our own developers and the review and merging process.
While doing that several attendees noted that we could add more description, especially to the process of reviewing.

This originated from my own notes on reviews, so please tell me where stuff is unclear, I might be blind to it

Comment thread docs/source/developer-guides/reviews.rst Outdated
Comment thread docs/source/developer-guides/prs.rst Outdated
Comment thread docs/source/developer-guides/reviews.rst Outdated
Comment thread docs/source/developer-guides/reviews.rst
Comment thread docs/source/developer-guides/reviews.rst Outdated
JBludau and others added 7 commits April 15, 2026 08:30
Co-authored-by: Adrien Taberner <56835712+Adrien-Tab@users.noreply.github.com>
Co-authored-by: Adrien Taberner <56835712+Adrien-Tab@users.noreply.github.com>
Co-authored-by: Adrien Taberner <56835712+Adrien-Tab@users.noreply.github.com>
Co-authored-by: Adrien Taberner <56835712+Adrien-Tab@users.noreply.github.com>

@crtrott crtrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel there is a lot of redundancy between prs.rst and reviews.rst - which is natural since what someone should take into account for writing a good PR, is what the reviewer should look for when reviewing it. But if folks see value in splitting it fine with me.

I would add on the review side explicitly

- Are implementation details accidentally exposed?
- Is there unnecessary fencing
- Are there unnecessary allocations/deallocations

Comment on lines +82 to +86
Communication
-------------

- Am I using a helpful, neutral tone?
- Am I giving enough info to the author?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this really belongs here.
I think this is more of a human interaction aspect, not really a review-specific thing.

Final Questions
---------------

- Does it definitely improve the current state?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think current state is ambiguous.

It's already conveyed at the beginning of this page:

The goal of a review is to help the code contributor to improve the code while also checking if it is the best approach to the described problem.

Could mirror it to be something like Does it resolve the described problem

- Does it adhere to design principles like SOLID,DRY?
- Does the design and variable naming fit into the rest of Kokkos?
- Is the current design restricting future design choices? Does/should it allow extension?
- Is any implicit dpenendency introduced?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Is any implicit dpenendency introduced?
- Is any implicit dependency introduced?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure where, but I think there could be a line stating to check whether any proposed functionality in a PR already exists in Kokkos. We want to avoid adding redundant functionality.

@tretre91 tretre91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks fine to me overall

---------------------

- Is the PR title clear enough about the scope of the changes?
- Is clear what problem the PR is trying to resolve?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Is clear what problem the PR is trying to resolve?
- Is it clear what problem the PR is trying to resolve?

-----------------

- Provide timely feedback and respond to changes by the author of the pull request in a reasonable amount of time; it's best to give feedback to pull requests as quickly as possible.
- Only request changes if they are ready to resolve the request upon changes by the author of the pull request; stalling pull requests for requested changes that have been addressed is a problem.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had trouble understanding this sentence, does "they" refer to the reviewer? If so it might be better to replace it with "you"

Suggested change
- Only request changes if they are ready to resolve the request upon changes by the author of the pull request; stalling pull requests for requested changes that have been addressed is a problem.
- Only request changes if you are ready to resolve the request upon changes by the author of the pull request; stalling pull requests for requested changes that have been addressed is a problem.

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.

5 participants