← Back to issue list

remote-build: legacy builder complains about the wrong part name

View original Github issue

Metadata

Project
snapcraft
Number
#4365
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

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.

Resolution: closed stale

Reason: mr-cal stated the legacy remote builder is not critical and would be removed in Snapcraft 9, marking it won't fix. That removal happened in merged PR #5994 (commit b08f1a66e, closing #5676) and follow-up PR #6010 (commit 8bd9cc522), so the affected code path is now decommissioned.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description The fallback remote-build behavior gives a misleading error for core22 snaps. It complains about the wrong part name failing validation. ### To Reproduce ``` snapcraft remote-build ``` ### Environment n/a ### snapcraft.yaml ```shell name: checkbox-mir summary: Checkbox tests for the Mir project description: | Collection of tests to be run on devices that are part of the mir project version: git confinement: strict grade: stable base: core22 parts: checkbox-provider-mir: plugin: nil mir_demo_server: plugin: nil ``` ### Relevant log output ```shell snapcraft remote-build is experimental and is subject to change - use with caution. All data sent to remote builders will be publicly available. Are you sure you want to continue? [y/N]: y Issues while validating snapcraft.yaml: The 'parts' property does not match the required schema: 'checkbox-provider-mir' is not a valid part name. Part names consist of lower-case alphanumeric characters, hyphens and plus signs. As a special case, 'plugins' is also not a valid part name. ``` ### Additional context source: https://chat.charmhub.io/charmhub/pl/ytut7oi78id35yoa5zi4xixwta

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale 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.
stealth/space-bunny-alpha — closed stale Closed as won't fix/obsolete: mr-cal noted Snapcraft 9 removes the legacy remote builder. PR #5994 (commit b08f1a66e, "chore!: remove legacy remote builder") deleted the affected code path.
stealth/space-bunny-alpha — closed stale Closed as obsolete without a dedicated fix: Snapcraft 9 removed the affected legacy remote builder in PR #5994 (commit b08f1a66e).
qwen/qwen3.6-35b-a3b — — Marked won't fix. The legacy remote builder causing misleading validation errors for core22 snaps will be removed in Snapcraft 9, rendering the issue obsolete. No code changes were implemented.
qwen/qwen3.6-35b-a3b — — Won't fix. The legacy remote builder causing validation errors for core22 snaps will be removed in Snapcraft 9, rendering a fix unnecessary.
qwen/qwen3.6-35b-a3b — — Closed as won't fix. The legacy remote-build validation error for core22 snaps will not be patched because Snapcraft 9 will soon remove the legacy remote builder entirely.
qwen3.6-35b-a3b-mtp-q6 — — Won't fix. The legacy remote-build validation incorrectly flags core22 snapcraft.yaml files. Snapcraft 9 will remove the legacy builder, rendering a fix unnecessary.

Update history

No update history recorded yet.

Related work

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

    Merged PR removing the legacy remote builder that produced the wrong part-name validation error.

  • Superseded By: snapcraft#6010 (confidence 85%)

    Follow-up removal of the legacy RemoteBuild service override.

  • Likely Fixed By: snapcraft#4724 (confidence 75%)

    Switched core22 remote builds to craft-application's remote-build, avoiding the core20 schema parse that triggered the bogus error.

  • Related To: snapcraft#4323 (confidence 70%)

    remote-build rework the reporter/maintainer cited as the eventual fix path.

Related issues

Issue Project State Summary Similarity
#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.
88%
#5712 remote build: legacy builder should give a friendly error when passing `--project` snapcraft closed 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.
79%
#4895 fix(remotebuild): require core20 snaps to use the legacy remote builder snapcraft merged Merged in #4895 (d9c8781a1), requiring core20 remote builds to use the legacy builder because the new builder could not parse core20 snapcraft.yaml files; fixes #4886.
77%
#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.
76%
#4886 Use legacy remote builder for core20 snaps snapcraft closed Fixed by merged PR #4895 (commit d9c8781a1), routing core20 snaps to the legacy remote builder because the new builder could not parse architectures with run-on.
75%
#4479 remote-build broken with shallow clones snapcraft closed Fixed in Snapcraft 8.0.1 by PR #4498 (commit 1e285148e), which falls back to the legacy remote builder for shallow Git clones on core20/core22.
74%
#1781175 Cleanbuild remote wrong snap arch tag snapcraft (launchpad) closed Closed as obsolete after a maintainer directed Ubuntu Core 16 projects to migrate to base snaps; no fixing PR was cited, and legacy remote-build support was later removed.
72%
#5427 Add a deprecation notice for building core22 snaps with the legacy remote builder snapcraft closed Added the core22 legacy remote-builder deprecation warning in Snapcraft 8.10 via merged PR #5523 (commit 1d8e87486).
72%
#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.
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%