Skip to content

git-node: git node bisect #230

Open
Open
@joyeecheung

Description

@joyeecheung

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
  • 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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThings that enhances functionality, provided by node-core-utils

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions