GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [v18.x backport] deps: upgrade npm to 9.2.0 by Trott · Pull Request #46230 · nodejs/node

Conversation

@Trott

@Trott Trott commented Jan 17, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Backport of #45780 and #45693.

Hopefully I'm not jumping the gun here. @nodejs/releasers

This is just a cherry-pick of the relevant commits. No merge conflicts needed to be resolved or anything like that.

@nodejs/lts @nodejs/releasers @nodejs/npm

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
npm-cli-bot added 2 commits January 16, 2023 15:55
@npm-cli-bot @Trott
deps: upgrade npm to 9.1.3
0a6c54a
PR-URL: nodejs#45693
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruy Adorno <[email protected]>
@npm-cli-bot @Trott
deps: upgrade npm to 9.2.0
5648ed1
PR-URL: nodejs#45780
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
@nodejs-github-bot nodejs-github-bot added dont-land-on-v14.x fast-track PRs proposed for a shorter-than-standard waiting period before landing. needs-ci PRs that need a full CI run. npm Issues and PRs related to the npm client dependency or the npm registry. labels Jan 17, 2023
@github-actions

This comment was marked as resolved.

Sign in to view
@Trott

Trott commented Jan 17, 2023

Copy link
Copy Markdown
Member Author

Removing "fast-track" label because I don't think we want to do that on an LTS backport.

BethGriggs, richardlau, and MylesBorins reacted with thumbs up emoji
All reactions
  • 👍 3 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott Trott removed the fast-track PRs proposed for a shorter-than-standard waiting period before landing. label Jan 17, 2023
@MylesBorins

MylesBorins commented Jan 17, 2023

Copy link
Copy Markdown
Contributor

@Trott could we please also get 66b1356 included 🙏🏼

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Jan 17, 2023

Copy link
Copy Markdown
Member Author

@Trott could we please also get 66b1356 included 🙏🏼

Done.

saquibkhan reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott Trott changed the title [v18.x backport] deps: upgrade npm to 9.2.0 [v18.x backport] deps: upgrade npm to 9.3.0 Jan 17, 2023
@ruyadorno

ruyadorno commented Jan 17, 2023

Copy link
Copy Markdown
Member

thank you @Trott! 🙏

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nlf

nlf commented Jan 17, 2023

Copy link
Copy Markdown
Contributor

#46242 fixes a critical bug with npm ci that we should really land here too

saquibkhan reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@saquibkhan

saquibkhan commented Jan 17, 2023

Copy link
Copy Markdown
Contributor

with above change you can also change the title of this PR - [v18.x backport] deps: upgrade npm to 9.3.1

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins
MylesBorins force-pushed the npm9-in-18 branch from 77a87b5 to 5648ed1 Compare January 18, 2023 15:28
@MylesBorins MylesBorins changed the title [v18.x backport] deps: upgrade npm to 9.3.0 [v18.x backport] deps: upgrade npm to 9.2.0 Jan 18, 2023
@MylesBorins

MylesBorins commented Jan 18, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

I'm rolling back this PR to npm 9.2.0 as that is the latest version of npm 9 currently shipping in Node.js 19. npm 9.3.1 is currently on main awaiting a release. I'd like to propose that we work on testing with what has shipped in 19.x, agree to land it, get the backport landed, then independently decide if we want to upgrade to 9.3.1 prior to the LTS release.

CITGM: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/3076/
CITGM v18.13.0: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/3072/ from #46025

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nlf

nlf commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

fwiw, our own citgm suite is not as diverse but i did run it as an exercise: https://github.com/npm/cli/actions/runs/3943506886

notably the tests for mkdirp are broken in their own repo, so that one seems safe to ignore

saquibkhan reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@saquibkhan

saquibkhan commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

I'm rolling back this PR to npm 9.2.0 as that is the latest version of npm 9 currently shipping in Node.js 19.

@nlf will this have #46242 , do you see any concerns here?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins MylesBorins added the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jan 18, 2023
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Jan 18, 2023
@nodejs-github-bot

nodejs-github-bot commented Jan 18, 2023

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/49045/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nlf

nlf commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

I'm rolling back this PR to npm 9.2.0 as that is the latest version of npm 9 currently shipping in Node.js 19.

@nlf will this have #46242 , do you see any concerns here?

the bug was introduced in 9.3.0 and resolved in 9.3.1, backporting 9.2.0 should be fine. the only version we explicitly do not want to backport is 9.3.0

saquibkhan, ruyadorno, and ljharb reacted with thumbs up emoji
All reactions
  • 👍 3 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot

nodejs-github-bot commented Jan 18, 2023

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/49053/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins

MylesBorins commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

TL;DR There are 2 new CITGM failures in this PR as opposed to the CITGM run for the release of v18.13.0 but neither are indications of an problems with npm 9, this PR should be good to go 👍🏼


Failure 1: node-gyp

We are unable to reproduce the node-gyp failure with a production build of Node.js and the current working theory is that the failure is due to the process.version being a prerelease... we can see the exact same failure in other CITGM runs unrelated to this change. just to be sure we ran CITGM no build and everything passed with 18.13.0 + npm 9.2.0

https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker-nobuild/1489/


Failure 2: npm

The npm 9 failures appear to be related to the npm test suite and appear to already be broken on Node.js 19 CITGM as can be seen in the runs for v19.4.0. We need to investigate how to fix this but after reviewing the logs with @nlf we've confirmed that this is a mismatch in snapshots due to system configuration in CITGM (changing tmp directories via env vars). We got a copy of the env vars and @nlf is going to take a look and get the test suite in npm 9 fixed so that it doesn't break in the CitGM environment.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins MylesBorins mentioned this pull request Jan 18, 2023
Plans for npm 9 nodejs/Release#778
Closed
@Trott Trott changed the title [v18.x backport] deps: upgrade npm to 9.2.0 [v18.x backport] deps: upgrade npm to 9.3.1 Jan 18, 2023
@Trott

Trott commented Jan 18, 2023

Copy link
Copy Markdown
Member Author

Uh, oops, I updated this to 9.3.1. Feel free to push out the last two commits if you want to roll it back to 9.2.0 and apologies in advance. But I think 9.3.1 should be good?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins

MylesBorins commented Jan 18, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@Trott since 9.3.1 hasn't made it to current yet I wanted to land 9.2.0 and have a separate conversation about updating to 9.3.1 after it's been out in curent

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins
MylesBorins force-pushed the npm9-in-18 branch from 8ee4933 to 5648ed1 Compare January 18, 2023 22:10
@Trott Trott changed the title [v18.x backport] deps: upgrade npm to 9.3.1 [v18.x backport] deps: upgrade npm to 9.2.0 Jan 19, 2023
ruyadorno
ruyadorno approved these changes Jan 20, 2023
View reviewed changes
RafaelGSS
RafaelGSS approved these changes Jan 20, 2023
View reviewed changes
targos
targos approved these changes Jan 20, 2023
View reviewed changes
BethGriggs
BethGriggs approved these changes Jan 20, 2023
View reviewed changes

@BethGriggs BethGriggs left a comment

Copy link
Copy Markdown
Member

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.

+1 to landing npm@9 in 18.

I tried skimming CITGM - it's reassuring there are no net new widespread or consistent failures. Although, we do have a high number of baseline failures (~140) in CITGM at the moment. But, I'm hopeful the baking time of npm@9 in Node.js 19 would have surfaced anything problematic.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Trott and danielleadams reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
bengl
bengl approved these changes Jan 22, 2023
View reviewed changes
juanarbol
juanarbol approved these changes Jan 22, 2023
View reviewed changes
richardlau
richardlau approved these changes Jan 22, 2023
View reviewed changes
juanarbol pushed a commit that referenced this pull request Jan 22, 2023
@npm-cli-bot @juanarbol
deps: upgrade npm to 9.1.3
4844935
PR-URL: #45693
Backport-PR-URL: #46230
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruy Adorno <[email protected]>
juanarbol pushed a commit that referenced this pull request Jan 22, 2023
@npm-cli-bot @juanarbol
deps: upgrade npm to 9.2.0
7599b91
PR-URL: #45780
Backport-PR-URL: #46230
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
@azu azu mentioned this pull request Jan 24, 2023
Node v18.14.0/npm 9へのアップデート js-primer/js-primer#1545
Closed
danielleadams
danielleadams approved these changes Jan 24, 2023
View reviewed changes
@MylesBorins

MylesBorins commented Jan 27, 2023

Copy link
Copy Markdown
Contributor

landed in 7599b91

saquibkhan reacted with heart emoji azu reacted with rocket emoji
All reactions
  • ❤️ 1 reaction
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins MylesBorins closed this Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@bengl bengl bengl approved these changes
@ruyadorno ruyadorno ruyadorno approved these changes
@richardlau richardlau richardlau approved these changes
@BethGriggs BethGriggs BethGriggs approved these changes
@juanarbol juanarbol juanarbol approved these changes
@RafaelGSS RafaelGSS RafaelGSS approved these changes
+2 more reviewers
@targos targos targos approved these changes
@danielleadams danielleadams danielleadams approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

needs-ci PRs that need a full CI run. npm Issues and PRs related to the npm client dependency or the npm registry.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

14 participants

@Trott @MylesBorins @ruyadorno @nlf @saquibkhan @nodejs-github-bot @bengl @targos @richardlau @danielleadams @BethGriggs @juanarbol @RafaelGSS @npm-cli-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.