← 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

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Closed as won't fix. The legacy remote-build incorrectly validates core22 snapcraft.yaml files. Snapcraft 9 will remove the legacy builder, making a fix unnecessary.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4144 remote build: legacy builder cannot parse core22 snapcraft.yaml syntax snapcraft closed Won't fix. The legacy remote builder lacks core22 syntax support and was descoped in favor of the new remote builder. The legacy builder will be removed in Snapcraft 9, making this enhancement unnecessary.
85%
#5712 remote build: legacy builder should give a friendly error when passing `--project` snapcraft closed Marked as won't fix. The legacy remote builder is being removed in Snapcraft 9, making the requested error message enhancement unnecessary.
81%
#5676 remote build: remove legacy remote builder snapcraft closed Superseded by a merged pull request that removed the legacy remote builder and related configuration, completing the deprecation cleanup for Snapcraft 9.
76%
#4886 Use legacy remote builder for core20 snaps snapcraft closed Superseded and closed pending dependency #4885. The legacy remote builder fallback for core20 snaps was deferred, with tracking moved to internal ticket CRAFT-3071.
75%