-
Notifications
You must be signed in to change notification settings - Fork 800
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
Update to node 20 #33818
Update to node 20 #33818
Conversation
Calypso has updated to node 20, which means it's time for us to do so as well. Also, it has been two years since we switched from yarn to pnpm. Let's clean up the dummy `.engines.yarn` and remove the doc it references. Also, since pnpm is the only thing (as far as I know) we use that checks package.json `.engines` and it's happy to check the monorepo root for everything, let's remove the engines from all the projects' package.jsons so we don't have to have such a giant PR in the future. That means we can also get rid of the linting that syncs all the projects' package.jsons and the special logic in the mirroring that strips it out of the mirrors.
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
Ugh, should have gone to bed an hour ago. Noting down what I've found so far to not lose context:
|
Did that in #33846. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like the cleanup, although the PR needs a conflict resolve again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved the conflict, let's get it in!
The thing is that Calypso decided to wait on re-trying their update due to sickness and AFK (p4TIVU-aOV-p2#comment-11982), so they're still on v18. Are we ok with getting ahead of them? |
Support References This comment is automatically generated. Please do not edit it.
|
Looks like their new PR is Automattic/wp-calypso#83585 |
I'd say it's a good idea to wait for them. Their process is much more reliant on Node, and if they find regressions, we'll end up staying on Node 20 ahead of them longer than we expect, potentially causing workflow disruptions for people who work on both environments. |
While we ran out of time to ship this week due to some other priorities, we hope to have that PR shipped early next week. Other than the testing issues we ran into at the last minute, we aren't expecting any major issues hopefully! |
Calypso updated, so we're good to go here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Poor labelling action has died, RIP.
Proposed changes:
Calypso has updated to node 20, which means it's time for us to do so as well.
Also, it has been two years since we switched from yarn to pnpm. Let's clean up the dummy
.engines.yarn
and remove the doc it references.Also, since pnpm is the only thing (as far as I know) we use that checks package.json
.engines
and it's happy to check the monorepo root for everything, let's remove the engines from all the projects' package.jsons so we don't have to have such a giant PR in the future. That means we can also get rid of the linting that syncs all the projects' package.jsons and the special logic in the mirroring that strips it out of the mirrors.Other information:
Jetpack product discussion
None specifically, but p4TIVU-aOV-p2 is relevant.
Announcement post: pdWQjU-Ab-p2
Does this pull request change what data or activity we track or use?
No
Testing instructions: