Skip to content

src: add option to hide internal stack frames #63125

src: add option to hide internal stack frames

src: add option to hide internal stack frames #63125

Triggered via pull request November 22, 2026 23:20
@jasnelljasnell
opened #67715
Status Failure
Total duration 30s
Artifacts –

commit-lint.yml

on: pull_request_target
lint-commit-message
26s
lint-commit-message
Fit to window
Zoom out
Zoom in

Annotations

1 error
lint-commit-message
# de914dc98797c67da1b03690ee5ac8853b809f2c ok 1 assisted-by-is-trailer: Assisted-by is a trailer ok 2 co-authored-by-is-trailer: no Co-authored-by metadata ok 3 fixes-url: skipping fixes-url # SKIP ok 4 line-after-title: blank line after title not ok 5 line-length: Line should be <= 72 columns. --- { found: 83, compare: '<=', wanted: 72, at: { line: 11, column: 72, body: [ '', 'By default, when node.js prints a stack it includes all of the', '`node:internal` frames. This make the output more verbose but', "it's often providing extraneous detail the user can't do", 'anything about. This adds a cli flag to hide those details.', 'It can be set in NODE_OPTIONS.', '', '```console', `$ node --hide-internal-stack-frames -e "require('node:fs').readFileSync('missing')"`, '...', "Error: ENOENT: no such file or directory, open 'missing'", ' at Object.openSync (node:fs:779:18)', ' at Object.readFileSync (node:fs:625:35)', ' at [eval]:1:20', ' at <node:internal> (7 frames hidden) {', '...', '```', '', 'Signed-off-by: James M Snell <jasnell@gmail.com>', 'Assisted-by: Claude' ] } } ... ok 6 signed-off-by: has valid Signed-off-by ok 7 subsystem: valid subsystems [src] ok 8 title-format: Title is formatted correctly. ok 9 title-length: Title is <= 50 columns. 0..9 # tests 9 # pass 7 # fail 1 # Please review the commit message guidelines: # https://github.com/nodejs/node/blob/HEAD/doc/contributing/pull-requests.md#commit-message-guidelines npm warn deprecated tap@16.3.10: Versions of tap before v18 are no longer maintained. Please upgrade. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm warn deprecated libtap@1.4.1: This library is no longer used by node-tap, and is unmaintained. npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.