-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
src: migrate String::Value
to String::ValueView
#55458
src: migrate String::Value
to String::ValueView
#55458
Conversation
67d7fcd
to
fdc94c9
Compare
I've added
needs-benchmark-ci
I've also added
needs-citgm
|
String::Value
to String::ValueView
String::Value
to String::ValueView
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #55458 +/- ##
=======================================
Coverage 88.41% 88.41%
=======================================
Files 653 653
Lines 187485 187429 -56
Branches 36095 36070 -25
=======================================
- Hits 165764 165717 -47
+ Misses 14966 14950 -16
- Partials 6755 6762 +7
|
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
I'm gonna hold off on a CI until the GitHub builds pass, because there might be failures that are already evident |
Please don't do that, the label is there to inform the bot this PR requires passing Jenkins CI to land
What benchmark would we run? |
That was an accident 😅, I don't even remember doing that.
I was thinking Buffer (for the indexOf), and string_bytes (if we have one) |
CITGM ( |
Results:
All failures appear to be not related to this change, most are |
Can someone start a benchmark CI, or remove the label if you don't think it's needed? |
Commit Queue failed- Loading data for nodejs/node/pull/55458 ✔ Done loading data for nodejs/node/pull/55458 ----------------------------------- PR info ------------------------------------ Title src: migrate `String::Value` to `String::ValueView` (#55458) Author Aviv Keller <redyetidev@gmail.com> (@RedYetiDev) Branch RedYetiDev:v8-string--value-deprecate -> nodejs:main Labels c++, lib / src, author ready, needs-ci, needs-citgm, commit-queue-squash Commits 5 - src: migrate `String::Value` to `String::ValueView` - fixup! src: migrate `String::Value` to `String::ValueView` - fixup! fixup! src: migrate `String::Value` to `String::ValueView` - fixup! fixup! fixup! src: migrate `String::Value` to `String::ValueView` - fixup! fixup! fixup! fixup! src: migrate `String::Value` to `String::… Committers 1 - RedYetiDev <38299977+RedYetiDev@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/55458 Refs: https://github.com/nodejs/node/issues/55452 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/55458 Refs: https://github.com/nodejs/node/issues/55452 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last approving review: ⚠ - fixup! fixup! fixup! fixup! src: migrate `String::Value` to `String::… ℹ This PR was created on Sat, 19 Oct 2024 16:27:52 GMT ✔ Approvals: 3 ✔ - Vladimir Morozov (@vmoroz): https://github.com/nodejs/node/pull/55458#pullrequestreview-2379682983 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/55458#pullrequestreview-2379711729 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/55458#pullrequestreview-2380689360 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-10-19T20:50:38Z: https://ci.nodejs.org/job/node-test-pull-request/63206/ ℹ Last CITGM CI on 2024-10-24T21:10:17Z: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/3493/ - Querying data for job/node-test-pull-request/3493/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/11543590208 |
This needs an approval after the most recent change to land |
Landed in 45c6a9e |
Fixes nodejs#54417 Ref: nodejs#55452 PR-URL: nodejs#55458 Refs: nodejs#55452 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Fixes nodejs#54417 Ref: nodejs#55452 PR-URL: nodejs#55458 Refs: nodejs#55452 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR is being reverted because of #55826 |
Fixes #54417
Ref: #55452
v8::String::Value
is deprecated, so this PR replaces it withv8::String::ValueView