Skip to content

docs: formalized '1 approval' and 'team assigned' labels #9861

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

Conversation

JoshuaKGoldberg
Copy link
Member

PR Checklist

Overview

Summarizing scattered conversations I've had over the last few months. This PR is very much a proposal, I'm expecting some discussions in it. 😄

💖

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @JoshuaKGoldberg!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

Copy link

netlify bot commented Aug 22, 2024

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 04e532e
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/66d0be01e8a88200085364a5
😎 Deploy Preview https://deploy-preview-9861--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

nx-cloud bot commented Aug 22, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 04e532e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

kirkwaiblinger
kirkwaiblinger previously approved these changes Aug 22, 2024
Copy link
Member

@kirkwaiblinger kirkwaiblinger left a comment

Choose a reason for hiding this comment

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

i like

@kirkwaiblinger kirkwaiblinger added the 1 approval >=1 team member has approved this PR; we're now leaving it open for more reviews before we merge label Aug 22, 2024
Co-authored-by: Kirk Waiblinger <kirk.waiblinger@gmail.com>
kirkwaiblinger
kirkwaiblinger previously approved these changes Aug 22, 2024
bradzacher
bradzacher previously approved these changes Aug 23, 2024
@JoshuaKGoldberg JoshuaKGoldberg removed the 1 approval >=1 team member has approved this PR; we're now leaving it open for more reviews before we merge label Aug 23, 2024
Josh-Cena
Josh-Cena previously approved these changes Aug 24, 2024
We try to wait a week on PRs to give reviewers who aren't active every day a chance to get to it.

:::tip
If a PR has had `1 approval` and no change requests for a week, go ahead and merge it.
Copy link
Member

@Josh-Cena Josh-Cena Aug 24, 2024

Choose a reason for hiding this comment

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

This seems redundant? What's the purpose of this with the bullet above.

Copy link
Member Author

Choose a reason for hiding this comment

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

My thought was that the instructions technically only apply if you are reviewing... but, yeah, I think anybody on the team should be able to understand this is implied. 👍

bradzacher
bradzacher previously approved these changes Aug 24, 2024
@JoshuaKGoldberg JoshuaKGoldberg dismissed stale reviews from bradzacher and Josh-Cena via cf6da79 August 26, 2024 09:03
Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.05%. Comparing base (9aeba30) to head (04e532e).
Report is 30 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9861      +/-   ##
==========================================
+ Coverage   88.04%   88.05%   +0.01%     
==========================================
  Files         407      407              
  Lines       13948    13947       -1     
  Branches     4078     4071       -7     
==========================================
+ Hits        12280    12281       +1     
+ Misses       1355     1354       -1     
+ Partials      313      312       -1     
Flag Coverage Δ
unittest 88.05% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 22 files with indirect coverage changes

Josh-Cena
Josh-Cena previously approved these changes Aug 26, 2024

There's no need to reset waiting periods for minor fixups from code reviews of otherwise approved code.

We try to leave PRs open for at least a week to give reviewers who aren't active every day a chance to get to it.
Copy link
Member Author

Choose a reason for hiding this comment

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

Made this a bit more clear/precise: it's a week in review, not a week since approval. IMO no need to wait a week after approval for something that's already been open for a bit.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, good call on clarifying that. That's a better approach than what my understanding was! 👍

@JoshuaKGoldberg JoshuaKGoldberg merged commit 875e03d into typescript-eslint:main Aug 30, 2024
60 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the pr-1-approval-and-team-assigned-flow branch August 30, 2024 12:14
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: Decide how we want to use '1 approval' and 'team assigned' labels
4 participants