Skip to content

src: add node_process.cc - #21105

Closed
jasnell wants to merge 2 commits into
nodejs:masterfrom
jasnell:add-node-process-cc
Closed

src: add node_process.cc#21105
jasnell wants to merge 2 commits into
nodejs:masterfrom
jasnell:add-node-process-cc

Conversation

@jasnell

Copy link
Copy Markdown
Member

Begin moving process object function definitions out of
node.cc ... continuing the process of making node.cc
smaller and easier to maintain.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added build Issues and PRs related to build files or the CI. c++ Issues and PRs that require attention from people who are familiar with C++. labels Jun 3, 2018
@jasnell
jasnell requested a review from addaleaxJune 3, 2018 00:35
@jasnelljasnell added the process Issues and PRs related to the process subsystem. label Jun 3, 2018
@jasnell

Copy link
Copy Markdown
MemberAuthor

@devsnekdevsnek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

rubber stamp lgtm

@refackrefack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 👍

@addaleax

Copy link
Copy Markdown
Member

LGTM, but this will need a non-trivial rebase against #20876 and quick backports against other release lines ¯\_(ツ)_/¯

@jasnell

Copy link
Copy Markdown
MemberAuthor

@addaleax ... when are you expecting to get #20876 landed? I can hold off on landing this one until after that one goes.

@addaleax

Copy link
Copy Markdown
Member

@jasnell It’s labelled tsc-agenda, so I don’t think we can do it before the meeting, but by the end of the week should be doable. (The macOS CI failure over there is real but I’m optimistic about taking care of that.)

@jasnell

Copy link
Copy Markdown
MemberAuthor

Awesome. 🎉

@trivikrtrivikr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

RSLGTM

@addaleax

Copy link
Copy Markdown
Member

@jasnell This is ready for rebasing now :)

@jasnell

Copy link
Copy Markdown
MemberAuthor

Awesome. Will try to rebase tomorrow

Begin moving `process` object function definitions out of
`node.cc` ... continuing the process of making `node.cc`
smaller and easier to maintain.
@jasnell
jasnellforce-pushed the add-node-process-cc branch from 39bfa5f to c87f004CompareJune 10, 2018 21:32
@jasnell

Copy link
Copy Markdown
MemberAuthor

@jasnell

Copy link
Copy Markdown
MemberAuthor

Some related failures in CI... trying again: https://ci.nodejs.org/job/node-test-pull-request/15377/

@jasnell

Copy link
Copy Markdown
MemberAuthor

One flaky failure in Linux... re-running https://ci.nodejs.org/job/node-test-commit-linux/19468/

@Trott

Copy link
Copy Markdown
Member

@Trott

Copy link
Copy Markdown
Member

And again: https://ci.nodejs.org/job/node-test-pull-request/15387/

(Related: Consider approving #21251.)

jasnell added a commit that referenced this pull request Jun 14, 2018
Begin moving `process` object function definitions out of
`node.cc` ... continuing the process of making `node.cc`
smaller and easier to maintain.
PR-URL: #21105
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@jasnell

Copy link
Copy Markdown
MemberAuthor

Landed in baadc7a

@jasnelljasnell closed this Jun 14, 2018
@jasnell

Copy link
Copy Markdown
MemberAuthor

(note... landed this initially without metadata, caught it, then did a quick force push with the metadata... how? you ask, I forgot to node land --amend after rebasing out a squash commit)

@joyeecheung

Copy link
Copy Markdown
Member

@jasnell Have you tried adding -x "node land --amend" to the rebase command? git node should suggest that now, it will add an exec node land --amend line for each commit in the interactive rebase session.

Maybe nodejs/node-core-utils#160 could help with that as well

@targos

Copy link
Copy Markdown
Member

@jasnell would you be able to backport this to v10.x-staging asap? It probably has to be done from scratch instead of a cherry-pick to avoid sneaking in semver-major changes.

@addaleax

Copy link
Copy Markdown
Member

@targos Are you still planning on merging the Worker changes into v10.x in the near future? I think they might have a tiny conflict with one of the patches in the security release – but a big one with this PR

(i.e. I’d recommend doing this after the Worker PR – if there are nontrivial merge conflicts, I’m happy to help)

@targos

Copy link
Copy Markdown
Member

I've already merged everything from master apart from this PR, including de Worker changes

@jasnell

Copy link
Copy Markdown
MemberAuthor

Will do a backport PR early next week.

@targos

Copy link
Copy Markdown
Member

Ping @jasnell

@targos

Copy link
Copy Markdown
Member

Ping. Does anyone want to pick this up?

@targos

Copy link
Copy Markdown
Member

Ping. Commits that depend on this change are accumulating.

@jasnell

Copy link
Copy Markdown
MemberAuthor

I'll be able to get back on backporting this week.

@targos

Copy link
Copy Markdown
Member

Super. Thank you!

jasnell added a commit to jasnell/node that referenced this pull request Jul 13, 2018
@jasnelljasnell mentioned this pull request Jul 13, 2018
2 tasks
jasnell added a commit to jasnell/node that referenced this pull request Jul 13, 2018
Begin moving `process` object function definitions out of
`node.cc` ... continuing the process of making `node.cc`
smaller and easier to maintain.
PR-URL: nodejs#21105
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
targos pushed a commit that referenced this pull request Jul 14, 2018
Begin moving `process` object function definitions out of
`node.cc` ... continuing the process of making `node.cc`
smaller and easier to maintain.
PR-URL: #21105
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Backport-PR-URL: #21799
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@targostargos mentioned this pull request Jul 17, 2018
MylesBorins pushed a commit that referenced this pull request Aug 1, 2018
Begin moving `process` object function definitions out of
`node.cc` ... continuing the process of making `node.cc`
smaller and easier to maintain.
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Backport-PR-URL: #21798
PR-URL: #21105
rvagg pushed a commit that referenced this pull request Aug 16, 2018
Begin moving `process` object function definitions out of
`node.cc` ... continuing the process of making `node.cc`
smaller and easier to maintain.
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Backport-PR-URL: #21798
PR-URL: #21105
@MylesBorinsMylesBorins mentioned this pull request Aug 16, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.c++Issues and PRs that require attention from people who are familiar with C++.processIssues and PRs related to the process subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

11 participants

@jasnell@addaleax@Trott@joyeecheung@targos@refack@evanlucas@devsnek@trivikr@MylesBorins@nodejs-github-bot