Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,15 @@ This change added tests and can be verified as follows:

- Does this pull request introduce a new feature? (yes / no)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

----

# Review Progress <!-- NOTE: DO NOT REMOVE THIS SECTION! -->

* [ ] 1. The contribution is well-described.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add a field to add the committers name to track who made this decision?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Shouldn't this be tracked by the comments in Github and also posted to the mailing list?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm sure it is tracked somewhere. But I thought it might make sense to put a name right next to certain decisions. And it helps if there is a committer that takes ownership.

* [ ] 2. There is consensus that the contribution should go into to Flink.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a point "Is blocked by feature X" or "Make sense to wait after feature Y"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a good point but I'm not sure if this belongs into the template. If the PR author is aware of the dependency, it should be noted in the PR description. If a reviewer find that dependency, it can be noted as a regular comment and the last box should not be ticked until the blocking PR was merged.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, I'm also fine with a comment in the PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you give some examples to show what makes a consensus, let developers have a good understanding?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @KurtYoung, the consensus aspect is described in the Pull Request Review Guide that is linked below.

Do you think this is sufficient or does it need more clarification?

* [ ] 3. [Does not need specific attention | Needs specific attention for X | Has attention for X by Y]
Copy link
Member

Choose a reason for hiding this comment

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

About [3], If the committer identifies [Needs specific attention for X], what do we need to do with PR?
From the points of my view, the committer who change the review process, have to make sure all the specific attention parts are solved.So the [3] should be described : [ ] 3. All the specific attention parts are well-solved.
What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it is fine as it is. When the PR needs special attention, it should be marked at the point 3..

A committer who is familiar with the code should then resolve the remaining points 4. and 5, architecture and implementation.

Copy link
Member

Choose a reason for hiding this comment

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

In other words, if a PR is reviewed by multiple Committers familiar with different modules, [3] may increase the content continuously. Then a committer who is familiar with the code,change the review process with the value [Does not need specific attention] , right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I think in theory, the number of people who should have a look at the PR can be extended. IMO, the committer who finally merges the PR should check that everybody mentioned there commented on the PR or ask them before merging.

Copy link
Member

Choose a reason for hiding this comment

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

Make sense to me. +1 to merged.

* [ ] 4. The architectural approach is sound.
* [ ] 5. Overall code quality is good.

Please see the [Pull Request Review Guide](https://flink.apache.org/reviewing-prs.html) if you have questions about the review process.