-
Notifications
You must be signed in to change notification settings - Fork 577
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
Discuss backporting HandleWrap#hasRef()
in a Minor
#108
Comments
@Fishrock123 I'm up for landing these into staging next week and putting them into the rc to see if there are any problems /cc @nodejs/lts @nodejs/ctc |
The risk that backporting seemly non-risky changes is directly proportional to the delta between the branches involved. Simply doing the backport puts us at risk of getting things wrong and then there's the surrounding structures which may have become important for the operation of a feature without noticing and they may not be present in the older branch. I think we'd need to see a PR for it along with a CI run and then we can make a judgement on the code. If it's particularly difficult to backport just to have a discussion then that goes back to my above point about risk. |
+1 to everything @rvagg said. As the delta between master and v4 grows, we
|
Well, I don't think I need this info on v4 anyways, so I'm willing to drop it. |
@Fishrock123 with v6 coming up for LTS soon I think we should consider not landing this on v4. Thoughts? |
¯_(ツ)_/¯ may be useful if all of async_wrap gets backported |
@Fishrock123 do you still want to pursue this for v4? |
nah |
Bah, I assume this would have been much easier if I'd not mucked up the API.
It's possible we can squash it down into less commits for a backport.
I'd like to see this since it would be useful to have this information in LTS for tooling. It's far less desirable to have to float this patch or patch in
_unrefed
for APIs that don't have it (e.g.child_process
, whereas net and timers have this.)This will be even more prevalent if/once anything from
AsyncWrap
gets backported, or even with it's existing API. Specifically, there is no way to tell if a handle will or will not keep the process open without this.It presents next-to zero risk as far as I can tell. Below is the full commit chain.
cc @thealphanerd
The text was updated successfully, but these errors were encountered: