Skip to content

Conversation

@shs96c
Copy link
Contributor

@shs96c shs96c commented Nov 20, 2024

bazelisk can be thought of as two separate pieces. The first of these is a mechanism for locating a particular bazel version, possibly downloading it from the Web, or using a local install. The second piece is the additional functionality for flag flipping and finding out where problems have occurred within commits to the project.

This PR extracts the location of the bazel binary into its own method which can be used by other tooling that also needs to locate the binary.

@shs96c
Copy link
Contributor Author

shs96c commented Nov 21, 2024

Running the failing //:go_bazelisk_test test on HEAD of master locally also times out for me. I'm not sure the test failure is related to this PR.

@hauserx
Copy link
Contributor

hauserx commented Nov 21, 2024

Running the failing //:go_bazelisk_test test on HEAD of master locally also times out for me. I'm not sure the test failure is related to this PR.

You maybe just unlucky, this test is running close to 5 min default limit. Also noticed this issue locally and created #637 to fix it.

`bazelisk` can be thought of as two separate pieces. The first of these is a
mechanism for locating a particular `bazel` version, possibly downloading it
from the Web, or using a local install. The second piece is the additional
functionality for flag flipping and finding out where problems have occurred
within commits to the project.

This PR extracts the location of the `bazel` binary into its own method which
can be used by other tooling that also needs to locate the binary.
@shs96c
Copy link
Contributor Author

shs96c commented Dec 2, 2024

@hauserx, I've rebased on HEAD of master, and the tests are passing.... :)

@fweikert fweikert merged commit 26309b3 into bazelbuild:master Dec 2, 2024
1 check passed
@fweikert
Copy link
Member

fweikert commented Dec 2, 2024

Thank you!

@shs96c shs96c deleted the get-bazel-path branch January 9, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants