Skip to content

[v20.x backport] src: move package_json_reader cache to c++ - #53502

Closed
anonrig wants to merge 3 commits into
nodejs:v20.x-stagingfrom
anonrig:backport-50322-to-20
Closed

[v20.x backport] src: move package_json_reader cache to c++#53502
anonrig wants to merge 3 commits into
nodejs:v20.x-stagingfrom
anonrig:backport-50322-to-20

Conversation

@anonrig

@anonriganonrig commented Jun 18, 2024

Copy link
Copy Markdown
Member

Backports #50322 to v20

cc @nodejs/releasers @joyeecheung@GeoffreyBooth

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/actions
  • @nodejs/gyp
  • @nodejs/loaders
  • @nodejs/security-wg
  • @nodejs/startup
  • @nodejs/tsc
  • @nodejs/url

@nodejs-github-botnodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. v20.x labels Jun 18, 2024
@anonriganonrig changed the title Backport 50322 to 20[v20.x backport] src: move package_json_reader cache to c++Jun 18, 2024
@anonrig
anonrigforce-pushed the backport-50322-to-20 branch from 8f0ec43 to ff40d15CompareJune 18, 2024 16:28
@marco-ippolitomarco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 18, 2024
@richardlau

Copy link
Copy Markdown
Member

Backport-PR-URL should refer to this PR (while PR-URL refers to the original PR). You don't need to manually add Backport-PR-URL to the commits as node-core/utils will add if missing (if git node land --backport is used to land).

@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 18, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@anonrig

Copy link
Copy Markdown
MemberAuthor

Backport-PR-URL should refer to this PR (while PR-URL refers to the original PR). You don't need to manually add Backport-PR-URL to the commits as node-core/utils will add if missing (if git node land --backport is used to land).

I used git node backport 50322 --to=20 but unfortunately it didn't add at all. I'll update the PR once the existing tests pass (to avoid re-running again)

@joyeecheung

Copy link
Copy Markdown
Member

I think @richardlau meant that you only need to keep the commit message as-is and additional URLs will be added when they land on v20.x-staging.

@marco-ippolito

Copy link
Copy Markdown
Member

can you please rebase? there are some undici commits we removed from staging

@anonrig
anonrigforce-pushed the backport-50322-to-20 branch from ff40d15 to b447a68CompareJune 27, 2024 15:20
PR-URL: nodejs#50322
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Co-authored-by: Daniel Lemire <daniel@lemire.me>
PR-URL: nodejs#50322
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
# Conflicts:
#	lib/internal/modules/package_json_reader.js
#	src/node_file.cc
#	test/parallel/test-module-binding.js
PR-URL: nodejs#50322
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
@anonrig
anonrigforce-pushed the backport-50322-to-20 branch from b447a68 to af801aaCompareJune 27, 2024 17:36
@marco-ippolitomarco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 15, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 15, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@marco-ippolito

Copy link
Copy Markdown
Member

@anonrig there is some issue with the backport, does not compile

@targos
targosforce-pushed the v20.x-staging branch 2 times, most recently from 47be236 to 9e1c229CompareOctober 2, 2024 14:06
@anonriganonrig closed this Dec 11, 2024
@joyeecheung

Copy link
Copy Markdown
Member

This is blocking the require(esm) backport. I will try to backport it again.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / srcIssues and PRs related to general changes in the lib or src directory.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@anonrig@nodejs-github-bot@richardlau@joyeecheung@marco-ippolito