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

Remove 48 hour waiting period for npm updates opened by members of the npm team #35954

Closed
MylesBorins opened this issue Nov 4, 2020 · 13 comments
Labels
discuss Issues opened for discussions and feedbacks.

Comments

@MylesBorins
Copy link
Member

Hey all,

As the landing of npm updated tend to be RSLGTM I was curious if folks would be open to removing the need for the 48 hour rule when those PRs have been opened by members of @nodejs/npm and have at least 2 sign offs.

Thoughts?

@gireeshpunathil
Copy link
Member

@MylesBorins -

  • is there a substantial difference between these PRs and regular PRs?
  • is there a known issue that we are trying to solve by doing this?

@MylesBorins
Copy link
Member Author

is there a substantial difference between these PRs and regular PRs

As we are doing a dependency update we wouldn't generally make changes, if folks saw issues they should patch them upstream.

It is possible we might want to make this policy for all dependencies not just npm, at the very least dependencies being updated by their maintainers.

is there a known issue that we are trying to solve by doing this?

npm has a rather rapid iteration process right now for 7.x. We have been fairly consistently fast tracking. 4 out of the last 5 npm updates were fast tracked. We can continue to get a fast track through the normal process but it seemed reasonable to maybe get a one time exception

@gireeshpunathil
Copy link
Member

gireeshpunathil commented Nov 4, 2020

+1 to the prosal proposal

@richardlau
Copy link
Member

Hey all,

As the landing of npm updated tend to be RSLGTM I was curious if folks would be open to removing the need for the 48 hour rule when those PRs have been opened by members of @nodejs/npm and have at least 2 sign offs.

Thoughts?

@MylesBorins I'd lean more to requiring two sign offs and at least one being from a member of @nodejs/npm. I personally don't see who opened the PR should factor into it as long as they used the update script that you recently added (#35822).

The tooling (node-core-utils/commit queue) won't understand anything outside of the existing fast track process though unless changed. (And if we do change the tooling I'd prefer a more dep-neutral process change rather than one just for npm (but 👍 for npm maintainers being active here).)

@mhdawson
Copy link
Member

mhdawson commented Nov 4, 2020

Although there has been a fair amount of fast tracking recently, I think that is just that the process is working as intended to deal with special cases. I see npm having more than the regular amount of changes being a special case versus something that we should change the policy for long term.

@mmarchini
Copy link
Contributor

We still need to make the changes to the wait time that we discussed in TSC meetings recently (reduce to 24h with two approvals from codeowners being enough), which I think would help here? Personally I'm fine with it for npm and maybe others, not sure I'd say the same for V8 (although maybe I'm being unnecessarily extra cautious).

In the meantime, I think it's totally fine to fast-track all npm upgrades if they are open by npm team members and only affect npm-related files.

@targos
Copy link
Member

targos commented Nov 4, 2020

not sure I'd say the same for V8

It's extremely unlikely that a V8 update PR can be ready and landed in less than 48 hours anyway 😄

@MylesBorins
Copy link
Member Author

We can definitely keep following the process in place, generally with 2 sign offs we can get 2 fast tracks... although members of the npm team have been holding off on +1 the fast track as to not have a conflict of interest.

I personally don't see who opened the PR should factor into it as long as they used the update script that you recently added

I guess the thought here was more that it doesn't need to be manually reviewed if opened by a member of the team. I think having the sign off needing to be from one of the maintainers is a good middle ground.

Making this a generic policy for dependencies that are maintained by collaborators seems like a good direction to take it.

@mmarchini
Copy link
Contributor

IMO it's not a problem if npm folks +1 the fast track request.

@Trott
Copy link
Member

Trott commented Nov 6, 2020

IMO it's not a problem if npm folks +1 the fast track request.

Yeah, seriously, I'd rather have the domain experts weigh in on the fast-tracking than to rely on my "oh npm update? rubber-stamp LGTM!" judgment.

@gengjiawen
Copy link
Member

+1 from me.

@gengjiawen
Copy link
Member

But I think our tools need to add a function to auto add a label (opened-by-npm-core-dev maybe) if PR opened by members of @nodejs/npm

@PoojaDurgad PoojaDurgad added the discuss Issues opened for discussions and feedbacks. label Dec 18, 2020
@BridgeAR
Copy link
Member

The conclusion here seems that fast tracking is the way to go to overcome the regular 48 hours.
Closing as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Issues opened for discussions and feedbacks.
Projects
None yet
Development

No branches or pull requests

10 participants