Skip to content
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

feat: ADR for PR reviews #94

Merged
merged 1 commit into from
Jun 2, 2021
Merged

feat: ADR for PR reviews #94

merged 1 commit into from
Jun 2, 2021

Conversation

tumido
Copy link
Member

@tumido tumido commented May 20, 2021

Resolves: #93

@sesheta sesheta requested review from hemajv and HumairAK May 20, 2021 12:25
@sesheta sesheta added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 20, 2021

## Context and Problem Statement

Each community has its own `contributing.md` file which outlines how are users expected to contribute to the community. That guide for contributions should also clearly state what will happen once a PR is submitted and how reviews are performed.
Copy link
Member

Choose a reason for hiding this comment

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

Well..we don't have it in every repo yet, that in it self is also a problem. Maybe we should add it to all the repos and as part of the template too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, we probably should.

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually, @HumairAK I don't feel like we should replicate content that much. Would you mind if I just transfer the contributing doc into blueprints as an ADR and then create a blank contributing doc in each repo linking to that contributing ADR?

Copy link
Member

Choose a reason for hiding this comment

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

yeah that's fine

@HumairAK
Copy link
Member

/lgtm

@sesheta sesheta added the lgtm Indicates that a PR is ready to be merged. label May 20, 2021

1. A PR is submited
2. Prow (represented by a Sesheta bot-account) will pick a selection of reviewers from corresponding `OWNERS` file (based on modified files in the PR).
3. Reviewers assess the changes from programming/coding point of view and either provide feedback or respond with `/lgtm` chat-ops command.
Copy link

Choose a reason for hiding this comment

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

Grammar nit: From a programming/coding point of view

But I would probably just drop that for:

Reviewers assess the proposed changes and either provide feedback or respond with ...

I see below that you're trying to make some distinction between "programming" and "architectural", maybe, but I'm not sure that's germane; I think both the "reviewers" and "approver" are probably looking at a variety of aspects.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah.. I think those roles are best described in the upstream docs anyways. It's linked above when explaining the OWNERS file.

I've copied some of it from those docs and changed it here instead:

- Reviewers assess the changes from programming/coding point of view and either provide feedback
+ Reviewers assess the code for general code quality, correctness, sane software engineering, style. They either provide feedback
- Approvers evaluate architectural aspects of the PR and either provide feedback
+ Approvers evaluate architectural aspects of the PR, holistic acceptance criteria, including dependencies with other features, forwards/backwards compatibility, API and flag definitions. They either provide feedback

WDYT?

Copy link

Choose a reason for hiding this comment

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

That seems fine, although there's a word missing in both phrases

  • Reviewers assess the code for general code quality, correctness, sane software engineering, and style. They either provide feedback

And:

Approvers evaluate architectural aspects of the PR and holistic acceptance criteria, including dependencies with other features, forwards/backwards compatibility, API and flag definitions. They either provide feedback

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you, sir! 🙂 Updated! 👍

@sesheta sesheta removed the lgtm Indicates that a PR is ready to be merged. label May 21, 2021
@tumido tumido requested a review from larsks May 21, 2021 15:25
Copy link
Member

@anishasthana anishasthana left a comment

Choose a reason for hiding this comment

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

/lgtm

@sesheta sesheta added the lgtm Indicates that a PR is ready to be merged. label May 24, 2021
Signed-off-by: Tomas Coufal <[email protected]>
@sesheta sesheta removed the lgtm Indicates that a PR is ready to be merged. label May 25, 2021
@HumairAK
Copy link
Member

/lgtm
/approved

@sesheta sesheta added the lgtm Indicates that a PR is ready to be merged. label May 31, 2021
@HumairAK
Copy link
Member

HumairAK commented Jun 2, 2021

/approve
🤦

@sesheta
Copy link
Member

sesheta commented Jun 2, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anishasthana, HumairAK

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 2, 2021
@sesheta sesheta merged commit cb67c16 into operate-first:main Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Short self-explanatory ADR for github review process using Prow
5 participants