feat: support "--platform" for "clean"
Metadata
Current evaluation
Added --platform flag to the clean command for targeted instance cleanup. Merged after three approvals and passing CI, resolving issue #425. Changes modify three files with 52 additions.
Suggested action: —
No scores available.
Issue body
This brings 'clean' closer to parity with the other lifecycle commands, and is useful for cases where we want to wipe one of the managed instances, but not all of them.
Fixes #425
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Added --platform flag to the clean command for targeted instance cleanup. Merged after three approvals and passing CI, resolving issue #425. Changes modify three files with 52 additions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to add --platform support to the clean command, allowing selective wiping of managed instances. Resolves #425 and aligns the command with other lifecycle operations. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #598 feat: allow for multi-base builds | craft-application | merged | Merged to enable multi-base builds by allowing bases in the platforms entry. Approved by three reviewers, passed CI, and resolves issue #569. Modified four files with 46 additions and 28 deletions. | |
| #343 feat: allow commands to accept multiple platforms | craft-application | merged | Successfully merged following approval from two reviewers and passing CI checks. The feature enables commands to accept multiple platforms, updating two files with 42 additions and one deletion. | |
| #365 feat: accept build-for: [all] in platforms | craft-application | merged | Merged via rebase after approval and passing CI. Enables build-for: [all] in platform definitions, restricting other platforms when used. Resolves #360. | |
| #601 feat: use platform name in build instance name | craft-application | merged | Merged. Changes build instance naming to use platform names instead of architectures, preventing shared environments. Approved by two reviewers, the +40/-10 line update across four files fixes #600 and unblocks dependent work. |