-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
cli: remove deprecated v8 flags #54761
base: main
Are you sure you want to change the base?
Conversation
Node.js's V8 version hasn't deprecated the flag yet, the commit was just added today (https://chromium.googlesource.com/v8/v8/+/fb3c72c1fc9a36e833d01509e8c9d674a17cf097) Should the tests be updated, or should they wait until the internal V8 version is? |
This flag is also referenced in |
Node is not yet using the latest V8 version, but it eventually will. On the V8 side we have a node bot that complains if we try to remove the flag right now. We could disable the test on our end or have this PR as a floating patch there, but I think it makes more sense to already fix Node.
Thanks. I missed these. Does Node have a deprecation process to remove flags that it exposed through |
There are no stability guarantees on the V8 flags that we expose for convenience (so we don't need a deprecation cycle). |
Thanks. |
Can someone run the checks on behalf? It says it's waiting for approval from a maintainer but I unfortunately am not one. Thanks. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #54761 +/- ##
==========================================
- Coverage 88.04% 88.04% -0.01%
==========================================
Files 651 651
Lines 183409 183408 -1
Branches 35828 35824 -4
==========================================
- Hits 161487 161479 -8
+ Misses 15174 15165 -9
- Partials 6748 6764 +16
|
Seeing as this does more than originally intended, WDYT about updating the commit message to: |
Done |
Is it normal for the checks to take this long? |
Yea, tests can take a while. (For example, there's been some backlog on the MacOS runners leaving those tests taking >8hrs!)
Sometimes. When a maintainers sees that, they may choose to restart the CI run for that machine. Thanks for updating the PR title! Could you apply the same change to the commit message? |
Done. Thanks for pointing out. |
Hi folks. |
Can someone advise on next steps? |
CI has been a bit flaky. I'm kicking off the run again but you might try rebasing this on tip of |
Thanks James. The run you kicked off was almost successful. There was only 1 failure left. |
Please remove the merge commit. |
test-cli-node-options.js is checking the existance of a `--huge-max-old-generation-size` V8 flag. That flag was recently deprected (it currently remains as nop, see crrev.com/c/5831467) and will soon be completely removed.
@lpinca I removed the merge commit (and merged the actual commits I made to a single commit). Can someone kick off another CI run? |
Node is currently exposing the
--huge-max-old-generation-size
V8 flag. That flag was recently deprecated (it currently remains as nop, see crrev.com/c/5831467) and will soon be completely removed.This PR removes the flag from Node as well (cli, documentation and tests).