feat(dispatcher): add a warning for the default command
Metadata
Current evaluation
Merged implementation that emits a warning when the default command is used. Approved by two reviewers, passed all CI checks, and unblocks related Snapcraft tracking issues.
Suggested action: —
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`?
---
Emits a warning when the default command is used.
Snapcraft is the only *craft app affected by this.
Creates #361
Unblocks https://github.com/canonical/snapcraft/issues/5525
(SNAPCRAFT-1149)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation that emits a warning when the default command is used. Approved by two reviewers, passed all CI checks, and unblocks related Snapcraft tracking issues. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds a warning when the default command is executed, impacting only Snapcraft. Unblocks issue #5525 and creates #361. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #422 feat: error on default command | craft-cli | merged | Merged. Adds opt-in allow_default_command to Dispatcher for default command support without breaking existing apps. Approved by three reviewers, passed CI, and unblocks downstream snapcraft. | |
| #5525 Add a warning for the default command | snapcraft | closed | Closed without implementation. The deprecation warning enhancement remains blocked by upstream craft-cli changes and appears abandoned. |