Closed aars closed 8 years ago
Simply updating bunyan
, restify
and dtrace-provider
to latest
results in tests failing.
node test/job-runner.test.js master ✭
TAP version 13
# setup
ok 1 backend ok
ok 2 factory ok
ok 3 ok wf error
ok 4 OK wf OK
ok 5 Fail wf error
ok 6 Fail wf OK
ok 7 Timeout wf error
ok 8 Timeout wf ok
ok 9 ReQueue wf error
ok 10 ReQueue wf ok
ok 11 Info wf error
ok 12 Info wf ok
# throws on missing opts
ok 13 Expected to throw: TypeError opts (Object) required
# throws on missing opts.runner
ok 14 Expected to throw: TypeError opts.runner (Object) required
# throws on missing opts.backend
ok 15 Expected to throw: TypeError opts.backend (Object) required
# throws on missing opts.job
ok 16 Expected to throw: TypeError opts.job (Object) required
# throws on incorrect opts.sandbox
ok 17 Expected to throw: TypeError opts.sandbox must be an Object
# throws on missing opts.dtrace
ok 18 Expected to throw: TypeError opts.dtrace (Object) required
FATAL ERROR: v8::Object::GetAlignedPointerFromInternalField() Not a Smi
[1] 63187 abort node test/job-runner.test.js
Everything works fine in node v0.10.36
:(
Reopened because I would still like to know what the preferred solution is. How should I go about using node-workflow
in v0.12.7
?
Hi aars. Were you able to find a way to make this work in 0.12.7
?
@dremekie No, haven't put in any more effort since.
The problem is that the version of dtrace-provider being used doesn't work with the newer version of node.js because node.js does not have a stable ABI for binary addons. The solution would be to bump the dtrace-provider dependency to 0.6.0. We likely need to do similar bumps for restify and bunyan. @kusor can you take care of that?
Hi, is this project dead now then? It appears to be unusable with any versions of node past v0.10.x
I'll get it updated to newest version
I'm trying to set up
node-workflow-example
and/ornode-workflow
, which both seem to include a pretty old version ofdtrace-provider
(0.2.8).node-gyp rebuild
fails for this version, but I'm able to installdtrace-provider
0.5.0 without issues, and the latestbunyan
without issues as well.This might not be a
node-workflow
issue, but I'm lost. Any clues on how to resolve this? What is broken when this doesn't compile/build?Can I safely update
bunyan
anddtrace-provider
dependencies in package.json tolatest
? Or is there perhaps a preferred node version I should be using?Errors are mostly these
gyp errors: