Open
Description
https://twitter.com/targos89/status/982158028878196736
Outline:
git node bisect --from 20180101 [--to 201810406] /path/to/test.js
- Detect the right arch, then download correct binaries from https://nodejs.org/download/nightly/ , decompress it, run the test with
bin/node
, bisect until it finds two consecutive nightlies where the exit code of the test becomes different- Let the user configure where the files are downloaded via
ncu-config set tmpdir
, default can be.ncu/tmp
or/tmp
- Let the user configure where the files are downloaded via
- Grab the sha from the nightlies, suggest the user to run:
git bisect start <nightly1-sha> <nightly2-sha> --
git bisect run "make -j8 && ./node /path/to/test.js"