← Back to issue list

Bad error message if 'spread.yaml' is missing

View original Github issue

Metadata

Project
craft-application
Number
#703
Type
issue
State
closed
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by merged PR #712 (commit f72dc340), which improved TestingService's error when spread.yaml is missing.

Resolution: closed resolved

Reason: PR #712, commit f72dc340, directly implemented a clearer error for a missing spread.yaml and was merged into the project.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description When running the 'test' command, we get an internal error if `spread.yaml` is missing. ### To Reproduce Run `crafttool test` on a directory that has a valid project but no `spread.yaml` ### part yaml ```shell ``` ### Relevant log output ```shell n/a ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #712 (commit f72dc340), which improved TestingService's error when spread.yaml is missing.
stealth/space-bunny-alpha — closed resolved Fixed by PR #712 (commit f72dc340), giving crafttool test a clearer error when spread.yaml is missing.
stealth/space-bunny-alpha — closed stale Closed without a recorded public fix; missing spread.yaml handling was routed to internal Jira ticket CRAFT-4398.
qwen/qwen3.6-35b-a3b — — Closed without resolution. A missing spread.yaml caused an internal error during crafttool test. No fix was implemented or merged. The ticket was closed after a Jira sync comment, indicating it was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The issue reported an internal error when crafttool test runs without spread.yaml. No fix or discussion occurred, only an automated Jira sync notification.
qwen/qwen3.6-35b-a3b — — Abandoned and closed without a documented fix. The reported internal error when spread.yaml is missing during crafttool test remains unaddressed.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-application#712 (confidence 98%)

    Its matching fix changes TestingService to provide a better error when spread.yaml is absent.

Related issues

Issue Project State Summary Similarity
#712 fix(TestingService): provide a better error if spread.yaml is missing craft-application merged Merged as commit f72dc340, PR #712 fixed #703 by giving TestingService a clearer error when spread.yaml is missing.
89%
#1029 fix(testing): error early if spread.yaml is invalid. craft-application merged PR #1029 merged (commit 93c27ec5): TestingService now reads and validates spread.yaml before starting the lifecycle, erroring early on invalid files. Changelog entry added under 6.3.0.
81%
#701 fix(TestingService): error better when we can't find spread craft-application merged Merged PR #701 as bb2bda9c, improving the TestingService error when spread is missing from PATH; fixes #697.
80%