question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement CODEOWNERS

See original GitHub issue

https://github.blog/2017-07-06-introducing-code-owners/

We have made great strides in Node-Fetch these few months but I feel that things have been moving very fast in this repo even with having every PR reviewed by 3 people before merging.

So I am introducing CODEOWNERS.

So basically, we have a set of people that have to approve for Code Changes. Others can also approve like the maintainers, but i suggest we have 2 - 3 people approve the code. As for the 2 -3 people, I think it should be those in the @node-fetch/core for Code Changes.

For other PR’s that don’t have code change, we can have both @node-fetch/core and @node-fetch/reviewers take a look at it.

You might be thinking about why this might be needed.

In the past week, we merged 27 PR’s

Take a look in the spike of code deletions and additions

We had two releases and one was a fix.

So, we definitely need to slow things down ( mainly merging ) and take a look at reviewing code. Reviewing code is as important as writing it.

image

image

image

If we come to the conclusion of implementing this feature, I can get started on working on a PR.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:23 (21 by maintainers)

github_iconTop GitHub Comments

3reactions
Richienbcommented, May 30, 2020

We already require at least 3 PR reviewers. In my opinion, we already have enough safeguards.

2reactions
bitinncommented, May 31, 2020

If the main issue is we are merging too fast, I think an alternative solution would be to add a label that indicate a PR needs more consensus / feedbacks, such that core members shouldn’t merge too hastily.

In cases like:

  • breaking changes;
  • adding major features;
  • build pipeline, package.json, export updates;

These PR have potential to cause issues for many users, so we should ensure reviews are being done properly and not just merge based on approval count.

It’s not always possible to find the code owner as we are probably all doing this part-time.

Preferably reviewers should write some comments after reviewing, so that people in charge of merging is not left to wonder how in-depth the review was.

Read more comments on GitHub >

github_iconTop Results From Across the Web

About code owners - GitHub Docs
A CODEOWNERS file uses a pattern that follows most of the same rules used in gitignore files. The pattern is followed by one...
Read more >
Code Owners - GitLab Docs
Create a CODEOWNERS file to specify users or shared groups that are responsible for specific files and directories in a repository. Each repository...
Read more >
Introducing code owners | The GitHub Blog
How code owners work. To specify code owners, create a file named CODEOWNERS in the repository's root directory (or in .github/ if you...
Read more >
Using Github CODEOWNERS file - The Engineering blog
GitHub CODEOWNERS file is a simple way to automate away some of the pain associated with the review system on github, by automatically ......
Read more >
How We Tamed GitHub CODEOWNERS With Bots - FullStory
GitHub Code Owners: The Basics. GitHub codeowners is implemented as a single file (named, appropriately enough, CODEOWNERS) in the root of your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found