aspect-build / aspect-build/aspect-cli-legacy

[Bug]: bazelisk v1.27 broke the zsh completions

Open
#296 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
3
Forks
1
Avg merge
2h 55m
Merged PRs (30d)
3

Description

### What happened?

FYI - we upgraded bazelisk and it broke the zsh completions provided by (legacy) aspect cli
Bazelisk added it's own completions in the [version 1.27](https://github.com/bazelbuild/bazelisk/releases/tag/v1.27.0)
The aspect-cli bazel installed by bazelisk has the zsh completions, bazelisk only has bash/fish, and somehow shadows the aspect completions
I made a [PR](https://github.com/bazelbuild/bazelisk/pull/773) to bazelisk to allow disabling the bazelisk completions but CLA / etc might cause it to take a while

### Version

Development (host) and target OS/architectures:

Output of `bazel --version`: N/A

Version of the Aspect rules, or other relevant rules from your
`WORKSPACE` or `MODULE.bazel` file: N/A

Language(s) and/or frameworks involved: Bazel, Bazelisk, zsh, bash

### How to reproduce

```shell
upgrade bazelisk > 1.27 and use zsh conpletions.
```

### Any other information?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with Bazelisk newer than 1.27 and the legacy Aspect CLI zsh completions. Inspect how Bazelisk's bash/fish completions shadow the Aspect completions, and consider the related Bazelisk PR mentioned in the report. Done means zsh completion works for the Aspect CLI after upgrading Bazelisk.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, zsh
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.