-
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
Revert "src: migrate String::Value
to String::ValueView
"
#55828
base: main
Are you sure you want to change the base?
Conversation
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a full revert, I feel like this part can stay the same?
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.
A full revert is easier to work with. You're free to make incremental changes after it.
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.
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 |
This reverts commit 45c6a9e.
Closes: #55826