← Back to issue list

remote build: legacy builder should give a friendly error when passing `--project`

View original Github issue

Metadata

Project
snapcraft
Number
#5712
Type
issue
State
closed
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Closed as won't fix: maintainer mr-cal said the UX tweak wasn't critical because the legacy remote builder is being removed in Snapcraft 9. That removal landed in merged PR #5994 (commit b08f1a66e), closing #5676.

Resolution: closed stale

Reason: mr-cal closed the enhancement as "won't fix" on 2026-01-27, reasoning the legacy remote builder would be removed within weeks in Snapcraft 9. That decommissioning happened in merged PR #5994 (commit b08f1a66e, "chore!: remove legacy remote builder"), so no friendly-error handling was added.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done If `--project` is passed to the legacy remote builder, an error message should explain that `--project` is only supported for the new remote builder. ### Why it needs to get done To improve the UX.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed as won't fix: maintainer mr-cal said the UX tweak wasn't critical because the legacy remote builder is being removed in Snapcraft 9. That removal landed in merged PR #5994 (commit b08f1a66e), closing #5676.
stealth/space-bunny-alpha — closed stale Won't fix: maintainer planned removal of the legacy remote builder in Snapcraft 9 a few weeks after closing this UX enhancement.
qwen/qwen3.6-35b-a3b — — Marked as won't fix. The legacy remote builder is being removed in Snapcraft 9, making the requested error message enhancement unnecessary.
qwen/qwen3.6-35b-a3b — — Won't fix. The legacy remote builder will be removed in Snapcraft 9, making the requested error message unnecessary. Issue closed without implementation.
qwen/qwen3.6-35b-a3b — — Marked won't fix. The legacy remote builder is being removed in Snapcraft 9, making the requested error message unnecessary. Issue closed without implementation.
qwen3.6-35b-a3b-mtp-q6 — — Won't fix. The legacy remote builder is being removed in Snapcraft 9, making the requested friendly error message unnecessary.

Update history

No update history recorded yet.

Related work

  • Superseded By: snapcraft#5994 (confidence 92%)

    Merged PR removing the legacy remote builder in Snapcraft 9 (b08f1a66e), eliminating the code path this issue targeted.

  • Related To: snapcraft#5676 (confidence 80%)

    Tracking issue for removing the legacy remote builder, the rationale cited for closing this one.

Related issues

Issue Project State Summary Similarity
#4365 remote-build: legacy builder complains about the wrong part name snapcraft closed Core22 snaps hit a bogus schema error in the legacy remote-build fallback. Closed as "won't fix" by mr-cal on 2026-01-27; the legacy remote builder was removed in #5994 and #6010 for Snapcraft 9.
79%
#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.
78%
#4144 remote build: legacy builder cannot parse core22 snapcraft.yaml syntax snapcraft closed Marked won't fix: legacy-builder schema support was descoped in favor of the new remote builder, which accepts build-for; legacy support was removed by PR #5994 in Snapcraft 9.
75%
#5994 chore!: remove legacy remote builder snapcraft merged Merged PR #5994 as b08f1a66e, removing the legacy remote builder and closing #5676 for Snapcraft 9.0.
74%
#4471 remote build: legacy builder doesn't send icon to Launchpad snapcraft closed Closed won't fix: the current remote builder handles root-level icons; the affected legacy builder was removed in Snapcraft 9 by #5994 (b08f1a66e).
73%
#5713 remote builder: legacy help text should never be shown snapcraft closed Closed as a no-op after #5676 was completed by merged PR #5994 (b08f1a66e), which removed the legacy remote builder and its core20 help path.
73%
#337 remote build: improve UX when credentials don't exist craft-application closed Closed by maintainer mr-cal (2024-08-29) as not planned: remote-build in CI is unsupported, CI builds should use snapcraft.io. lengau asked about interactive SSH sessions; mr-cal deferred the decision to sergiusens and no fix landed.
72%
#1979154 remote-build spams terminal snapcraft (launchpad) open Legacy remote-build progress output spammed terminals in Snapcraft 7.0.7; the legacy builder was removed in Snapcraft 9.0, so the affected code path no longer exists.
71%
#2006445 remote-build is not copying files from root of repository snapcraft (launchpad) closed Closed as no longer reproducible with Snapcraft 9's new remote builder; the legacy builder was removed in snapcraft#5994, with no targeted copy fix recorded.
70%