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

[Docs] Add code review keywords for nits, techdebt, and show stoppers #828

Merged
merged 4 commits into from
Jun 22, 2023

Conversation

dylanlott
Copy link
Contributor

@dylanlott dylanlott commented Jun 15, 2023

Description

Adds recommended keywords NIT, TECHDEBT, and SOS for use during review to signal next steps for the author.

Summary generated by Reviewpad on 21 Jun 23 02:34 UTC

This pull request adds new code review keywords for nits, techdebt, and show stoppers to the CODE_REVIEW_GUIDELINES.md file. It also updates the formatting and provides additional guidelines for Pull Request approval.

Issue

Stacks on top of #773

Type of change

Please mark the relevant option(s):

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Major breaking change
  • Documentation
  • Other

List of changes

  • adds definitions for NIT, TECHDEBT, TECHDEBT(XXX), and SOS keywords for use in code review.

Testing

  • make develop_test; if any code changes were made
  • make test_e2e on k8s LocalNet; if any code changes were made
  • e2e-devnet-test passes tests on DevNet; if any code was changed
  • Docker Compose LocalNet; if any major functionality was changed or introduced
  • k8s LocalNet; if any infrastructure or configuration changes were made

Required Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added, or updated, godoc format comments on touched members (see: tip.golang.org/doc/comment)
  • I have tested my changes using the available tooling
  • I have updated the corresponding CHANGELOG

If Applicable Checklist

  • I have updated the corresponding README(s); local and/or global
  • I have added tests that prove my fix is effective or that my feature works
  • I have added, or updated, mermaid.js diagrams in the corresponding README(s)
  • I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

@reviewpad reviewpad bot added small Pull request is small docs labels Jun 15, 2023
@dylanlott dylanlott self-assigned this Jun 15, 2023
@dylanlott dylanlott changed the title Add code review keywords for nits, techdebt, and show stoppers [Docs] Add code review keywords for nits, techdebt, and show stoppers Jun 15, 2023
Copy link
Contributor

@bryanchriswhite bryanchriswhite left a comment

Choose a reason for hiding this comment

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

Thanks @dylanlott! 🚀

It's nice to see this thing start to accumulate some more content. 🙌

I feel like it could be moved closer to the section which contains the other sentence which talks about review comments specifically: "During review, submit feedback using line comments..." (i.e. a but further down). I don't think the two sentences necessarily belong right next to each other but I feel like there is a bit of a readability improvement we could get by restructuring the similar bits to be closer together. Wdyt?

dylanlott and others added 3 commits June 20, 2023 20:17
@dylanlott dylanlott marked this pull request as ready for review June 21, 2023 02:34
@dylanlott dylanlott merged commit 8336426 into docs/code-review-guidelines Jun 22, 2023
6 checks passed
@dylanlott dylanlott deleted the dylanlott-patch-1 branch June 22, 2023 00:30
Olshansk pushed a commit that referenced this pull request Jul 13, 2023
…#828)

## Description

Adds recommended keywords NIT, TECHDEBT, and SOS for use during review
to signal next steps for the author.

<!-- reviewpad:summarize:start -->
### Summary generated by Reviewpad on 21 Jun 23 02:34 UTC
This pull request adds new code review keywords for `nits`, `techdebt`,
and `show stoppers` to the `CODE_REVIEW_GUIDELINES.md` file. It also
updates the formatting and provides additional guidelines for Pull
Request approval.
<!-- reviewpad:summarize:end -->

## Issue

Stacks on top of #773

## Type of change

Please mark the relevant option(s):

- [ ] New feature, functionality or library
- [ ] Bug fix
- [ ] Code health or cleanup
- [ ] Major breaking change
- [x] Documentation
- [ ] Other <!-- add details here if it a different type of change -->

## List of changes

- adds definitions for NIT, TECHDEBT, TECHDEBT(XXX), and SOS keywords
for use in code review.

## Testing

- [ ] `make develop_test`; if any code changes were made
- [ ] `make test_e2e` on [k8s
LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md);
if any code changes were made
- [ ] `e2e-devnet-test` passes tests on
[DevNet](https://pocketnetwork.notion.site/How-to-DevNet-ff1598f27efe44c09f34e2aa0051f0dd);
if any code was changed
- [ ] [Docker Compose
LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md);
if any major functionality was changed or introduced
- [ ] [k8s
LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md);
if any infrastructure or configuration changes were made

<!-- REMOVE this comment block after following the instructions
 If you added additional tests or infrastructure, describe it here.
 Bonus points for images and videos or gifs.
-->

## Required Checklist

- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added, or updated, [`godoc` format
comments](https://go.dev/blog/godoc) on touched members (see:
[tip.golang.org/doc/comment](https://tip.golang.org/doc/comment))
- [ ] I have tested my changes using the available tooling
- [ ] I have updated the corresponding CHANGELOG

### If Applicable Checklist

- [ ] I have updated the corresponding README(s); local and/or global
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added, or updated,
[mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding
README(s)
- [ ] I have added, or updated, documentation and
[mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*`
if I updated `shared/*`README(s)

---------

Co-authored-by: Bryan White <bryanchriswhite@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants