node icon indicating copy to clipboard operation
node copied to clipboard

cli: add `--heap-prof` flag available to `NODE_OPTIONS`

Open juanarbol opened this issue 1 year ago • 15 comments

Fixes: https://github.com/nodejs/node/issues/54257

juanarbol avatar Aug 07 '24 23:08 juanarbol

title should be prof not proof

himself65 avatar Aug 07 '24 23:08 himself65

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

nodejs-github-bot avatar Aug 07 '24 23:08 nodejs-github-bot

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.41%. Comparing base (10addb0) to head (86cd89b). Report is 40 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #54259   +/-   ##
=======================================
  Coverage   88.41%   88.41%           
=======================================
  Files         652      652           
  Lines      186864   186878   +14     
  Branches    36064    36065    +1     
=======================================
+ Hits       165217   165234   +17     
- Misses      14888    14891    +3     
+ Partials     6759     6753    -6     
Files with missing lines Coverage Δ
src/node_options.cc 87.40% <ø> (ø)

... and 34 files with indirect coverage changes

codecov[bot] avatar Aug 08 '24 01:08 codecov[bot]

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

nodejs-github-bot avatar Aug 08 '24 02:08 nodejs-github-bot

Not sure why https://ci.nodejs.org/job/node-test-commit-linux-containered/nodes=ubuntu2204_sharedlibs_withoutssl_x64/45126/ failed and the rest of the platform passed the tests affected by this patch. Will retry rn (it may be a cache at compile time issue)

juanarbol avatar Aug 08 '24 06:08 juanarbol

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

nodejs-github-bot avatar Aug 08 '24 06:08 nodejs-github-bot

The failure is persistent, not sure what is wrong with this. Any clues?

juanarbol avatar Aug 08 '24 19:08 juanarbol

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

nodejs-github-bot avatar Aug 09 '24 03:08 nodejs-github-bot

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

nodejs-github-bot avatar Aug 09 '24 19:08 nodejs-github-bot

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

nodejs-github-bot avatar Aug 13 '24 04:08 nodejs-github-bot

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

nodejs-github-bot avatar Aug 15 '24 04:08 nodejs-github-bot

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

nodejs-github-bot avatar Aug 18 '24 20:08 nodejs-github-bot

I give up on this one. Looks like the linux-containered job is not building the latest changes. Maybe someone from @nodejs/build could give me a hand on this?

juanarbol avatar Aug 19 '24 04:08 juanarbol

The changes you did are under #if HAVE_INSPECTOR, so I guess these jobs don't enable the inspector.

targos avatar Aug 24 '24 09:08 targos

The changes you did are under #if HAVE_INSPECTOR, so I guess these jobs don't enable the inspector.

Specifically, the inspector isn't available without SSL support.

richardlau avatar Aug 27 '24 15:08 richardlau

This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open.

github-actions[bot] avatar Oct 13 '24 22:10 github-actions[bot]

@juanarbol There hasn't been any activity on this PR in a while, and there are comments that need to be addressed before it can land, so I've marked it as stalled

avivkeller avatar Oct 13 '24 22:10 avivkeller

I'll fix this one, sorry on the dealy

juanarbol avatar Oct 14 '24 05:10 juanarbol

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

nodejs-github-bot avatar Oct 14 '24 18:10 nodejs-github-bot

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

nodejs-github-bot avatar Oct 14 '24 22:10 nodejs-github-bot

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

nodejs-github-bot avatar Oct 15 '24 00:10 nodejs-github-bot

Commit Queue failed
- Loading data for nodejs/node/pull/54259
✔  Done loading data for nodejs/node/pull/54259
----------------------------------- PR info ------------------------------------
Title      cli: add `--heap-prof` flag available to `NODE_OPTIONS` (#54259)
Author     Juan José <[email protected]> (@juanarbol)
Branch     juanarbol:juan/heap-proof -> nodejs:main
Labels     cli, author ready, needs-ci
Commits    1
 - cli: add `--heap-prof` flag available to `NODE_OPTIONS`
Committers 1
 - Juan José Arboleda <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/54259
Fixes: https://github.com/nodejs/node/issues/54257
Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/54259
Fixes: https://github.com/nodejs/node/issues/54257
Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last approving review:
   ⚠  - cli: add `--heap-prof` flag available to `NODE_OPTIONS`
   ℹ  This PR was created on Wed, 07 Aug 2024 23:37:44 GMT
   ✔  Approvals: 3
   ✔  - Zeyu "Alex" Yang (@himself65): https://github.com/nodejs/node/pull/54259#pullrequestreview-2226360285
   ✔  - Franziska Hinkelmann (@fhinkel): https://github.com/nodejs/node/pull/54259#pullrequestreview-2228987134
   ✔  - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/54259#pullrequestreview-2231718770
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2024-10-15T00:34:10Z: https://ci.nodejs.org/job/node-test-pull-request/63106/
- Querying data for job/node-test-pull-request/63106/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/11340145799

nodejs-github-bot avatar Oct 15 '24 06:10 nodejs-github-bot

It’s being a while w/out landing something. Can anyone review this?

juanarbol avatar Oct 15 '24 06:10 juanarbol

Ping to @anonrig @himself65

juanarbol avatar Oct 19 '24 23:10 juanarbol

Landed in 78b72ca7ba69eb61dcb9307a6c49c5f34fc00f65

nodejs-github-bot avatar Oct 20 '24 02:10 nodejs-github-bot