-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
report: refactor configuration management #26414
Conversation
@richardlau @jasnell nits addressed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one suggestion and once the test is fixed for Windows.
@richardlau @jasnell nits addressed (again) |
There are some C++ linter failures: https://travis-ci.com/nodejs/node/jobs/182405108#L457-L462
|
OK, Travis seems to be happy now. |
This commit removes process.report.setOptions(). Instead of using complex configuration synchronization between C++ and JS, this commit introduces individual getters and setters. PR-URL: nodejs#26414 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Wyatt Preul <[email protected]>
Reduce the number of emitExperimentalWarning() call sites by making process.report emit a warning on access instead of each individual report function. PR-URL: nodejs#26414 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Wyatt Preul <[email protected]>
Landed in c78788a...cc4e8e0. Thanks for the reviews! |
This commit removes process.report.setOptions(). Instead of using complex configuration synchronization between C++ and JS, this commit introduces individual getters and setters. PR-URL: nodejs#26414 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Wyatt Preul <[email protected]>
Reduce the number of emitExperimentalWarning() call sites by making process.report emit a warning on access instead of each individual report function. PR-URL: nodejs#26414 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Wyatt Preul <[email protected]>
This commit removes
process.report.setOptions()
. Instead of using complex configuration synchronization between C++ and JS, this commit introduces individual getters and setters.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes