remote build: Allow comma-separated values for `--build-for` and `--platform`
Metadata
Current evaluation
Fixed via PR #5028. The remote build command now supports comma-separated values for --build-for and --platform, resolving a regression introduced during the migration to craft-application.
Suggested action: —
No scores available.
Issue body
### What needs to get done
Allow comma-separated values for `--build-for` and `--platform` for new remote builder.
[This logic](https://github.com/snapcore/snapcraft/blob/ffbdabf53de21606d9d12e15f16d4bca5e4423a5/snapcraft_legacy/cli/remote.py#L267) or [this logic](https://github.com/canonical/snapcraft/pull/4543/files#diff-f0ddf54498a8af347d3e38035ffe604b2febcbf2429f4cbe3df2e4db39a838c1R102) needs to be added to the remote-build command.
### Why it needs to get done
To fix a regression.
This was fixed once in the first migration of the remote builder via https://github.com/canonical/snapcraft/issues/4516 and regressed again when remote-builder was migrated to craft-application.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Fixed via PR #5028. The remote build command now supports comma-separated values for --build-for and --platform, resolving a regression introduced during the migration to craft-application. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed via PR #5028 by enabling comma-separated values for the --build-for and --platform remote builder flags, resolving a regression from the craft-application migration. | |
| qwen/qwen3.6-35b-a3b | — | — | Comma-separated value support for the --build-for and --platform flags was added to the remote builder to fix a regression. The request was closed and fixed via pull request #5028. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed via PR #5028 by adding comma-separated value support for the --build-for and --platform arguments in the remote builder, resolving a regression introduced during the craft-application migration. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Comma-separated value support for --build-for and --platform in the remote builder was added to resolve a regression from the craft-application migration. The fix was merged via pull request #5028. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Added support for comma-separated values in the --build-for and --platform remote builder arguments, resolving a regression. The fix was merged via pull request #5028. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4994 fix(remotebuild): parse '--build-for' and '--platform' | snapcraft | merged | Merged fix for remote-build parsing of --build-for and --platform flags. Enforces flag restrictions, updates documentation, and resolves issues #4858 and #4881. Approved by two reviewers with passing CI checks. | |
| #4664 feat(craft-application): support remote build | snapcraft | merged | Added remote build support to craft-application, including --platform and --build-for flags. Merged after approval by two reviewers, modifying 13 files with 1272 additions and 39 deletions. | |
| #5028 fix(remotebuild): parse comma-separated architectures | snapcraft | merged | Merged fix for issue #4990 enabling comma-separated architecture parsing for --build-for and --platform remote build arguments. Approved by two reviewers and verified via passing CI and spread tests. | |
| #4780 remote build: fails with some architecture definitions | snapcraft | closed | Remote build failures with specific architecture definitions or comma-separated --build-for flags were fixed via PR #4793 and craft-application#343. |