Skip to content

Bazelisk 1.24 downloads over and over again #640

@visglz

Description

@visglz

Hi,

I just updated to bazelisk 1.24. When no specific version is defined it downloads the latest version over and over again with every invocation.

It can be reproduced the following way under Linux (note, that there is no USE_BAZEL_VERSION in ~/.bazeliskrc:

# Downloads 7.4.1 on every invocation even if present in `/.cache/bazelisk`
./bazelisk-1.24 --version
./bazelisk-1.24 --version
# No download happens
./bazelisk-1.23 --version
USE_BAZEL_VERSION=7.x ./bazelisk-1.24 --version

There is a significant delay when no version is provided with 1.24. When running it via strace one can see quite some amount of network traffic.

Could it be that #636 introduced this behaviour?

Metadata

Metadata

Assignees

Labels

P1I'll work on this now. (Assignee required)type:bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions