← 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

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Superseded by splitting into two separate bugs (#692) to fix the internal error when using build-on: [all]. A Jira ticket (CRAFT-4369) was created to track improved validation.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.