report: add `--report-exclude-network` option by Ethan-Arrowood · Pull Request #51645 · nodejs/node

@nodejs-github-bot added c++

Issues and PRs that require attention from people who are familiar with C++.

lib / src

Issues and PRs related to general changes in the lib or src directory.

needs-ci

PRs that need a full CI run.

labels

Feb 2, 2024

joyeecheung

styfle

anonrig

@Ethan-Arrowood Ethan-Arrowood changed the title report: add --report-disable-network option report: add --report-network-disabled option

Feb 5, 2024

Ethan-Arrowood added a commit to Ethan-Arrowood/node that referenced this pull request

Feb 5, 2024
Adds a new option `process.report.networkDisabled` and
cli option `--report-network-disabled` which will disable
any netowkring operations for the `report` generation.

Fixes: nodejs#46060

PR-URL: nodejs#51645

Ethan-Arrowood added a commit to Ethan-Arrowood/node that referenced this pull request

Feb 5, 2024
Adds a new option `process.report.networkDisabled` and
cli option `--report-network-disabled` which will disable
any netowkring operations for the `report` generation.

Fixes: nodejs#46060

PR-URL: nodejs#51645

@anonrig anonrig added semver-minor

PRs that contain new features and should be released in the next minor version.

notable-change

PRs with changes that should be highlighted in changelogs.

labels

Feb 5, 2024

Ethan-Arrowood

richardlau

@Ethan-Arrowood @joyeecheung

New option `--report-exclude-network`, also available as
`report.excludeNetwork`, enables the user to exclude
networking interfaces in their diagnostic report.
On some systems, this can cause the report to take minutes
to generate so this option can be used to optimize that.

Fixes: nodejs#46060

PR-URL: nodejs#51645

Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>

joyeecheung