fix: don't recommend hidden commands
Metadata
Current evaluation
Merged PR #452 via commit 574d243 fixes CRAFT-5213 by excluding hidden commands from “See also” recommendations in command help, resolving issue #449.
Resolution: closed resolved
Reason: The approved PR passed all CI checks and was merged as commit 574d243. Its tests verify that hidden commands are omitted from help recommendations.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
---
Fixes a bug where hidden commands were shown in the 'See also' section of a command's help text.
Fixes https://github.com/canonical/craft-cli/issues/449
(CRAFT-5213)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #452 via commit 574d243 fixes CRAFT-5213 by excluding hidden commands from “See also” recommendations in command help, resolving issue #449. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-cli#452 (574d243), filtering hidden commands out of command help's See also section and fixing #449. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged fix preventing hidden commands from appearing in the 'See also' section of command help text. Resolves issue #449. Approved by two reviewers with all CI checks passing. Modified three files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix that prevents hidden commands from appearing in the 'See also' section of command help text, resolving issue #449. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-cli#449
(confidence 100%)
PR #452 explicitly fixes the hidden-command filtering bug reported in issue #449.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #302 fix: don't suggest hidden commands | craft-cli | merged | Merged in canonical/craft-cli#302 (commit 4be3f0c), preventing hidden commands from appearing in command-not-found suggestions and fixing #297. | |
| #449 Command help 'See also' should filter hidden commands | craft-cli | closed | Fixed in merged PR #452 (commit 574d243): command help now excludes hidden commands from the "See also" list. | |
| #72 Introduce the concept of hidden commands. | craft-cli | merged | Merged PR #72 as commit 377ec17, introducing hidden commands that remain usable but are excluded from help and cannot also be common. |