Closed silkentrance closed 5 years ago
@raszi we definitely need linting rules in place, so you do not have to this :grin:
We do have linting rules. We did not have a task for it, but here is a PR for that in #163.
rebased to master
Tests require a lot more work. I am on it but it will take some time as I am currently working on multiple other things as well.
appveyor is broken, all tests have passed and still they report failing builds...
It seems as if there is some process still running, causing a timeout for the builds on appveyor. Need to investigate this using a windows machine SIGH.
This seems to be a long standing issue
Regardless of the fact that the tests are all off, not to mention that they are all shize. Need to fix these ASAP.
signal parameter is never passed, need to investitate why.
Heck, I need a windoze machine for this finally to be resolved.
The fix does not work on windows. In fact, appveyor builds will timeout after 1hr. sigh more work to be done to fix this for this darn platform.
I need to be able to cancel build jobs on appveyor #185.
hell, even with the latest changes, the SIGINT listener will not be called on windows...
Signal handling on the Windoze platform is not an option. Support is available for OSX/Linux only, starting with node > 6. Node 6 on Linux has issues that will prevent the signal SIGINT listener from being called.
I am giving up on making this work on Windoze using standard node provided IPC/process signalling. The platform, while it claims to be compatible to POSIX standards, plainly sucks. The associated tests will be skipped on that platform.
First of all, this is a nice PR @silkentrance, thank you very much!
My only problem is that this whole graceful cleanup was just a small feature of this library and now we are having hard time supporting it. I believe we should consider dropping it in the near future.
You are welcome. Thank you very much.
Yeah, the graceful cleanup stuff is getting out of hand :)
And it also comes with the safe installation of the listeners, something that is required for this to work flawlessly with the jest testing framework.
I will look into this and see whether it can be simplified. Maybe we can externalise parts of this by exposing the garbage collector?