Revert "src: migrate String::Value to String::ValueView"#55828
Revert "src: migrate String::Value to String::ValueView"#55828nodejs-github-bot merged 2 commits intonodejs:mainfrom
String::Value to String::ValueView"#55828Conversation
This reverts commit 45c6a9e.
|
|
||
| TwoByteValue task_name_buffer(args.GetIsolate(), args[0]); | ||
| StringView task_name_view(*task_name_buffer, task_name_buffer.length()); | ||
| Local<String> task_name = args[0].As<String>(); | ||
| String::Value task_name_value(args.GetIsolate(), task_name); | ||
| StringView task_name_view(*task_name_value, task_name_value.length()); |
There was a problem hiding this comment.
Do we need a full revert, I feel like this part can stay the same?
There was a problem hiding this comment.
A full revert is easier to work with. You're free to make incremental changes after it.
There was a problem hiding this comment.
A good illustration of why atomic PRs should always be preferred.
|
Is there a test that can be added to ensure this doesn't happen again? |
|
I wasn't able to find a repro that doesn't involve webpack. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #55828 +/- ##
==========================================
- Coverage 88.41% 88.41% -0.01%
==========================================
Files 654 654
Lines 187811 187817 +6
Branches 36134 36132 -2
==========================================
+ Hits 166052 166056 +4
- Misses 15008 15011 +3
+ Partials 6751 6750 -1
|
|
Sorry for breaking this, everyone! Thanks for the speedy fix |
|
Landed in 9f2885a |
This reverts commit 45c6a9e. PR-URL: #55828 Fixes: #55826 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com>
This reverts commit 45c6a9e. PR-URL: nodejs#55828 Fixes: nodejs#55826 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com>
This reverts commit 45c6a9e. PR-URL: nodejs#55828 Fixes: nodejs#55826 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com>
|
This commit does not land cleanly on |
|
This reverts #55458 which is marked https://github.com/nodejs/node/labels/dont-land-on-v22.x so should be similarly labelled. |
This reverts commit 45c6a9e.
Closes: #55826