-
Notifications
You must be signed in to change notification settings - Fork 11
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
Prebuilt binaries #10
Comments
Hi @spmiller, Thanks for the appreciation! Let me know if you need help/review code 👍 See https://travis-ci.org/github/blueconic/node-oom-heapdump |
Great, I'll start on this first thing Monday. It will be a learning exercise for me too! |
Hi @paulrutter, I opened #11 for this. I've tested this on my fork, and it seems to work pretty well on both Linux and Windows (though I haven't a MacOS machine to test with). This will only work if we create a Github release for each release, Edit: I must have been blind, you are creating releases. In that case I don't think any further changes are required. |
Hi @spmiller, Thanks for your quick work! We indeed create Github releases for each release, with a version tag. |
Sounds good. Best of luck for your sprint! |
Thanks for merging! Perhaps a beta release first to try it out? |
The action has run successful, but i'm not seeing the artifacts on https://github.com/blueconic/node-oom-heapdump/releases/tag/1.3.0. Could this be because it's a pre-release? |
Ugh, I can't see any documentation that says prereleases can't have assets uploaded. I'll try debugging on my fork. Sorry about this |
Not a problem, even when 1.3.0 is used ( |
The weird thing is: https://github.com/blueconic/node-oom-heapdump/runs/803163441?check_suite_focus=true Vs your fork: https://github.com/spmiller/node-oom-heapdump/runs/803237340?check_suite_focus=true See the difference in output in the upload task. |
I think i found it; the PR contained the "remove_path" in the package. After it was removed, the binaries appeared.
Too bad the gc-stats is not having all the right binaries in place, still falling back to building from source though. |
Closing as fixed. |
Thanks for debugging @paulrutter!
Hmm, this doesn't make sense to me -- I had thought that I am slightly concerned that the upload step is unreliable when working with pre-releases. I'll keep playing in my fork and I'll see if I can get to the bottom of it.
At least submitting a PR for them shouldn't take me as much time this time round :) |
Hmm, that's a bit concerning indeed. I tested a pre-release in your forked repo, which worked fine. A PR for gc-stats would be nice. |
Hey @paulrutter, I've been playing around in my fork and I can't reproduce the borked release that happened here. I hope it was just a once-off; if we change the workflow to trigger when the release is edited as well as published then it would give it several chances to correct itself it it turns out to be unreliable. It's worth noting that I'm using this release asset action instead of the official one because the official one doesn't support dynamically generated filenames (#4, #9. When one of those are implemented we should switch over as presumably it will be more reliable. Re gc-stats, I tagged you on a comment there. They already have binaries being created, they just had an issue with one particular build. When gcstats@1.5.0 is released on NPM it will have all the binaries we need. We've been using the new version of node-oom-heapdump here and it works great. Thanks again for your help and support with this! |
Thanks for the update 👍 |
Hello,
Thanks for your efforts on this library! We find it fills an important part of our post-mortem toolkit, and we're particularly grateful for the work @paulrutter has done in working with the Node and V8 communities to get this implemented.
We have the pleasure of deploying on both Windows and Linux, and as this library needs a native component, we currently need to run an
npm install
on both OSes to get a suitable distribution.Would you be interested in releasing pre-built binaries via
node-pre-gyp
? I would be happy to have a go at contributing a patch to support this via Travis / Appveyor.The text was updated successfully, but these errors were encountered: