remote build: deprecate `--build-for`
Metadata
Current evaluation
Triaged enhancement to warn on remote-build --build-for and hide it from help; it remains open, with current code still exposing and documenting the option.
Suggested action: keep open
Reason: The Status: Triaged and Type: Enhancement labels plus the two explicit requirements make this a valid, scoped enhancement. The current RemoteBuildCommand parser still adds --build-for with visible help, and the maintainer's 2025-08-06 comment confirms it can be deprecated in a minor release; no resolving commit was found.
Evaluated by: mr-cal-bot
Impact:
40
Quick Win:
27
Complexity:
24
Confidence:
95
Actionability:
89
Issue body
### What needs to get done
* Add a warning that `--build-for` is deprecated for `snapcraft remote-build`
* Hide `--build-for` from the help text
### Why it needs to get done
* To align with the upstream remote build command in Craft Application
* To align with rockcraft and charmcraft's remote build commands
* It has a significant limitations due to Launchpad's API and forces snapcraft to add many restrictions to valid platform defintions
* `--build-for` is planned to be deprecated in Craft Application
This is blocked by a migration to Launchpad's new build farm where we will be able to provide proper support for the `--platform` arg in remote builds.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
40
Quick Win:
27
Complexity:
24
Confidence:
95
Actionability:
89
|
keep open | Triaged enhancement to warn on remote-build --build-for and hide it from help; it remains open, with current code still exposing and documenting the option. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
18
Complexity:
25
Confidence:
85
Actionability:
80
|
keep open | Add deprecation warning and hide --build-for from help text for snapcraft remote-build. Triaged and blocked by Launchpad migration. | |
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
23
Staleness:
45
Complexity:
35
Confidence:
80
Support Request:
5
|
keep open | Deprecate --build-for in snapcraft remote-build to align with Craft Application and other craft tools. Triaged by maintainer who confirmed it can ship in a minor release, but blocked by Launchpad's new build farm migration for --platform support. Code confirms --build-for is still active without deprecation warning. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
35
Complexity:
40
Confidence:
85
Support Request:
10
|
keep open | Issue to deprecate `--build-for` flag in `snapcraft remote-build` due to upstream changes and API limitations. Currently triaged, under discussion for implementation in a minor release before Snapcraft 9. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
45
Complexity:
15
Confidence:
90
Support Request:
0
|
keep open | Triaged enhancement to deprecate the --build-for flag in snapcraft remote-build by adding a warning and hiding it from help text. Maintainer recently suggested implementing the deprecation in a minor release rather than waiting for a major version. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2467 remote-build: add support for `--build-for` | charmcraft | open | remote-build still rejects --build-for; this untriaged feature request would enable architecture-selective Launchpad builds and reduce queue-related build time. |