← Back to issue list

cli: move remote build out of legacy

View original Github issue

Metadata

Project
snapcraft
Number
#3919
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged as 686d69711, moving remote-build CLI logic out of legacy, exposing --build-for, hiding --build-on, and stopping the emitter during confirmation prompts.

Resolution: closed resolved

Reason: PR #3919 was merged as commit 686d69711, completing the remote-build CLI migration and related prompt handling change.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- move the CLI logic out of legacy - export --build-for and hide --build-on - stop the emitter when calling confirm_with_user's prompt Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint`? - [ ] Have you successfully run `pytest tests/unit`? ----- CRAFT-1384

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as 686d69711, moving remote-build CLI logic out of legacy, exposing --build-for, hiding --build-on, and stopping the emitter during confirmation prompts.
stealth/space-bunny-alpha — closed resolved Merged PR #3919 as commit 686d69711, moving remote-build CLI logic out of legacy, exposing --build-for, hiding --build-on, and stopping the emitter during user prompts.
qwen/qwen3.6-35b-a3b — — Merged into main as PR #3919. Moved CLI remote build logic out of legacy, exported --build-for, hidden --build-on, and fixed emitter stopping during prompts. Approved and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged into main. Moves remote build CLI logic out of legacy, exports --build-for, hides --build-on, and stops the emitter during confirm_with_user prompts. Resolves CRAFT-1384.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5819 fix(legacy): accept --build-for on long-form architecture remote build snapcraft closed PR #5819 was closed as superseded by merged PR #6090 (commit 527ff6d2c), which improved the legacy remote-builder’s --build-for error handling instead.
74%
#3553 cli: make remote-build more user-friendly snapcraft merged Merged in #3553 via 8649cedd6: --recover now reports when no build exists, the public-data prompt only appears for new builds, and tests cover the behavior.
71%
#6090 feat(remote-build/legacy): improve error when building with --build-for snapcraft merged Merged PR #6090 improved legacy remote-builder errors for core20, clarifying that --build-for requires shorthand architectures because of Launchpad limitations. It addresses #5817 and supersedes #5819.
70%
#5676 remote build: remove legacy remote builder snapcraft closed Fixed in merged PR #5994 (commit b08f1a66e) for Snapcraft 9.0 by removing the legacy remote builder, selection logic, strategy env var, and legacy credential support.
70%
#4324 remote-build: new command logic snapcraft closed Remote-build logic was replaced by merged PR #4395 (commit 2e0647594), adding isolated per-build cache worktrees, cleanup, and generated build IDs.
70%
#2774 remote-build: architecture handling snapcraft merged Merged PR #2774 via commit 8300281d6, cleaning up and fixing remote-build architecture handling. Missing CLI unit tests were acknowledged as follow-up work.
70%