← Back to issue list

Internal errors for `build-on: [all]`

View original Github issue

Metadata

Project
craft-application
Number
#690
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Split into two bugs and closed; canonical/craft-application#692 tracks the remaining all-platform validation and remains open. Jira follow-up: CRAFT-4369.

Resolution: closed superseded

Reason: Maintainer mr-cal closed the report after splitting it into separate bugs, with canonical/craft-application#692 retaining the remaining validation work. No merged fix is identified, and #692 remains open.

Evaluated by: mr-cal-bot

No scores available.

Issue body

```yaml name: testcraft version: "0.1" base: ubuntu@24.04 platforms: all: build-on: [all] build-for: [all] parts: my-test: plugin: nil ``` ```bash craft-application/testcraft> python3 ./__main__.py pack testcraft internal error: ValueError("'all' is not a valid DebianArchitecture") ``` It's not surprising for a user to attempt to use `all` in `build-on`. Previously, Snapcraft would get to unmarshal the project and produce a user-friendly error like: ``` > snapcraft pack Bad snapcraft.yaml content: - 'all' cannot be used for 'build-on' (in field 'platforms') ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Split into two bugs and closed; canonical/craft-application#692 tracks the remaining all-platform validation and remains open. Jira follow-up: CRAFT-4369.
stealth/space-bunny-alpha — closed superseded Closed after maintainer split it into two separate bugs; canonical/craft-application#692 tracks the remaining all-platform validation and error handling, with Jira follow-up CRAFT-4369.
qwen/qwen3.6-35b-a3b — — Reported an internal error when using build-on: [all]. The issue was closed and superseded by splitting it into two separate bugs, including #692, to address validation and error handling separately.
qwen/qwen3.6-35b-a3b — — Closed and superseded by splitting into two separate bugs (#692). The report documented an internal ValueError for build-on: [all], noting Snapcraft previously provided a user-friendly validation error instead.
qwen/qwen3.6-35b-a3b — — Internal error for build-on all was closed and superseded by splitting the report into two separate bugs, including #692, to address validation and error handling separately.

Update history

No update history recorded yet.

Related work

Related issues

No related issues found above the similarity threshold.