Skip to content

bazelisk completion is using buildbuddy version to fetch completions #12390

Description

@nicdumz

Following https://github.com/bazelbuild/bazelisk#command-line-completion breaks on bb:

$ cat .bazelversion
buildbuddy-io/5.0.373
9.1.0
$ bazelisk completion fish
2026/06/09 08:21:29 Downloading https://github.com/bazelbuild/bazel/releases/download/buildbuddy-io/5.0.373/bazel-buildbuddy-io/5.0.373-installer-linux-x86_64.sh...
2026/06/09 08:21:30 could not handle completion command: could not get completion script: could not download completion script: failed to download installer: failed to download installer: HTTP GET https://github.com/bazelbuild/bazel/releases/download/buildbuddy-io/5.0.373/bazel-buildbuddy-io/5.0.373-installer-linux-x86_64.sh failed with error 404

Workaround: remove buildbuddy version to install completions:

$ cat .bazelversion
9.1.0
$ bazelisk completion fish > ~/.config/fish/completions/bazel.fish

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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