bazelisk icon indicating copy to clipboard operation
bazelisk copied to clipboard

Create bazelisk --bisect

Open Yannic opened this issue 4 years ago • 1 comments

It would be awesome if bazelisk had an option to bisect build failures locally, like it's proposed in the Ideas for the future section of the readme.

As a starting point, we could limit it to last_green versions of Bazel where we already have a compiled binary. That should hopefully narrow it down to a sufficiently small range of commits so see the culprint.

Yannic avatar Oct 08 '19 18:10 Yannic

See https://github.com/bazelbuild/bazel/blob/master/scripts/bazel-bisect.sh, but instead of building from source we can now pull the prebuilt binary.

jin avatar Oct 08 '19 23:10 jin

This is implemented now: https://github.com/bazelbuild/bazelisk#--bisect

meteorcloudy avatar Jul 19 '23 08:07 meteorcloudy