GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — src: add `--disable-warning` option by Ethan-Arrowood · Pull Request #50661 · nodejs/node Conversation
|
|
I'm -1. I'm afraid this promotes using code that is deprecated/expected to be removed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The major argument made in previous threads/discussions is that since this is a manual, opt-in flag, it's left up to the users to use good judgement. If I have done my research, and am happy using a deprecated or experimental feature, I should have a way to disable that specific warning message without having to introduce some monkey-patching of This option is not available on We already have |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
@anonrig I am not sure this works out in reality. For example, today most of the places I use |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I've added much more context including a previous TSC agreement comment to the PR body. I'd like us to not have the same debates as before. If this needs to be rediscussed at the TSC level so be it, and I encourage folks to read prior threads too. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I didn't block the PR. I'm just sharing my thoughts on this. Can you elaborate on the reasoning for hiding a specific warning? What's the benefit of hiding a warning, rather than all warnings? Why would someone want to hide specific warnings? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
My thinking about being more "fine grained" here is that it incentivizes dealing with the warnings they can without resorting to silencing all of them and then getting bit by not knowing they were using a deprecated feature. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This has been discussed in previous threads; I'll do my best to readdress it. At a minimum, if I'm content using experimental features, I should have a way to disable those warnings (disable warning by Also mentioned in previous threads, Experimental Feature warnings should start using |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I think this should be available in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
37ae57e to
28f61ad
Compare
I'll defer to @jasnell as he was the one who previously commented against this position. I'm happy to support either way. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Do you mean something like
Yes 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
78efd64 to
834187b
Compare
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Commit Queue failed- Loading data for nodejs/node/pull/50661 ✔ Done loading data for nodejs/node/pull/50661 ----------------------------------- PR info ------------------------------------ Title src: add `--disable-warning` option (#50661) Author Ethan Arrowood (@Ethan-Arrowood) Branch Ethan-Arrowood:feat/disable-warnings-option -> nodejs:main Labels c++, semver-minor, process, needs-ci Commits 1 - src: add `--disable-warning` option Committers 1 - Ethan Arrowood PR-URL: https://github.com/nodejs/node/pull/50661 Fixes: https://github.com/nodejs/node/issues/30810 Fixes: https://github.com/nodejs/node/issues/47478 Fixes: https://github.com/nodejs/node/issues/46862 Fixes: https://github.com/nodejs/node/issues/40940 Reviewed-By: Geoffrey Booth Reviewed-By: James M Snell Reviewed-By: Benjamin Gruenbaum Reviewed-By: Vinícius Lourenço Claro Cardoso Reviewed-By: Antoine du Hamel Reviewed-By: Yagiz Nizipli Reviewed-By: Matteo Collina ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/50661 Fixes: https://github.com/nodejs/node/issues/30810 Fixes: https://github.com/nodejs/node/issues/47478 Fixes: https://github.com/nodejs/node/issues/46862 Fixes: https://github.com/nodejs/node/issues/40940 Reviewed-By: Geoffrey Booth Reviewed-By: James M Snell Reviewed-By: Benjamin Gruenbaum Reviewed-By: Vinícius Lourenço Claro Cardoso Reviewed-By: Antoine du Hamel Reviewed-By: Yagiz Nizipli Reviewed-By: Matteo Collina -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last approving review: ⚠ - src: add `--disable-warning` option ℹ This PR was created on Fri, 10 Nov 2023 17:19:44 GMT ✔ Approvals: 7 ✔ - Geoffrey Booth (@GeoffreyBooth) (TSC): https://github.com/nodejs/node/pull/50661#pullrequestreview-1738655617 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/50661#pullrequestreview-1738721812 ✔ - Benjamin Gruenbaum (@benjamingr) (TSC): https://github.com/nodejs/node/pull/50661#pullrequestreview-1738739642 ✔ - Vinícius Lourenço Claro Cardoso (@H4ad): https://github.com/nodejs/node/pull/50661#pullrequestreview-1740956885 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/50661#pullrequestreview-1740835887 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/50661#pullrequestreview-1740929607 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/50661#pullrequestreview-1741238982 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2023-11-21T18:28:43Z: https://ci.nodejs.org/job/node-test-pull-request/55830/ - Querying data for job/node-test-pull-request/55830/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/6949134964 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in a0b6638 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Geoffrey Booth <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> PR-URL: #50661 Fixes: #30810 Fixes: #47478 Fixes: #46862 Fixes: #40940 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Co-authored-by: Geoffrey Booth <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> PR-URL: nodejs#50661 Fixes: nodejs#30810 Fixes: nodejs#47478 Fixes: nodejs#46862 Fixes: nodejs#40940 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Notable changes: crypto: * update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805 deps: * add simdjson (Yagiz Nizipli) #50322 fs: * add c++ fast path for writeFileSync utf8 (CanadaHonk) #49884 module: * merge config with `package_json_reader` (Yagiz Nizipli) #50322 * (SEMVER-MINOR) bootstrap module loaders in shadow realm (Chengzhong Wu) #48655 * (SEMVER-MINOR) remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655 src: * (SEMVER-MINOR) add `--disable-warning` option (Ethan Arrowood) #50661 * move package resolver to c++ (Yagiz Nizipli) #50322 * (SEMVER-MINOR) create per isolate proxy env template (Chengzhong Wu) #48655 * (SEMVER-MINOR) create fs_dir per isolate properties (Chengzhong Wu) #48655 * (SEMVER-MINOR) create worker per isolate properties (Chengzhong Wu) #48655 * (SEMVER-MINOR) make process binding data weak (Chengzhong Wu) #48655 PR-URL: #50954
Notable changes: crypto: * update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805 deps: * add simdjson (Yagiz Nizipli) #50322 fs: * add c++ fast path for writeFileSync utf8 (CanadaHonk) #49884 module: * merge config with `package_json_reader` (Yagiz Nizipli) #50322 * (SEMVER-MINOR) bootstrap module loaders in shadow realm (Chengzhong Wu) #48655 * (SEMVER-MINOR) remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655 src: * (SEMVER-MINOR) add `--disable-warning` option (Ethan Arrowood) #50661 * move package resolver to c++ (Yagiz Nizipli) #50322 * (SEMVER-MINOR) create per isolate proxy env template (Chengzhong Wu) #48655 * (SEMVER-MINOR) create fs_dir per isolate properties (Chengzhong Wu) #48655 * (SEMVER-MINOR) create worker per isolate properties (Chengzhong Wu) #48655 * (SEMVER-MINOR) make process binding data weak (Chengzhong Wu) #48655 PR-URL: #50954
Co-authored-by: Geoffrey Booth <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> PR-URL: #50661 Fixes: #30810 Fixes: #47478 Fixes: #46862 Fixes: #40940 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Notable changes: crypto: * update root certificates to NSS 3.95 (Node.js GitHub Bot) #50805 fs: * add c++ fast path for writeFileSync utf8 (CanadaHonk) #49884 module: * (SEMVER-MINOR) bootstrap module loaders in shadow realm (Chengzhong Wu) #48655 * (SEMVER-MINOR) remove useCustomLoadersIfPresent flag (Chengzhong Wu) #48655 src: * (SEMVER-MINOR) add `--disable-warning` option (Ethan Arrowood) #50661 * (SEMVER-MINOR) create per isolate proxy env template (Chengzhong Wu) #48655 * (SEMVER-MINOR) create fs_dir per isolate properties (Chengzhong Wu) #48655 * (SEMVER-MINOR) create worker per isolate properties (Chengzhong Wu) #48655 * (SEMVER-MINOR) make process binding data weak (Chengzhong Wu) #48655 PR-URL: #50954
There was an error while loading. Please reload this page.
|
👋 Is this change a candidate for back-porting into 20.x/18.x? (Congrats on getting this out in 21.x) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Ability to suppress warnings by type doc: document --no-warnings=<cat1>,<cat2> Suppress specific warnings Ability to suppress warnings by type (or just experimental warnings)
There was an error while loading. Please reload this page.