fix(models/project): make no parts error explicit
Metadata
Current evaluation
Merged fix enforcing at least one part in platform charm declarations, resolving an edge case where missing parts were previously uncaught. Closes #2055 and CRAFT-3851.
Suggested action: —
No scores available.
Issue body
There were previously edge cases where a platform charm could be declared but the lack of a `parts` key wouldn't be caught. This now enforces at least one part.
Fixes #2055
CRAFT-3851
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix enforcing at least one part in platform charm declarations, resolving an edge case where missing parts were previously uncaught. Closes #2055 and CRAFT-3851. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Enforces at least one parts key in platform charms, fixing an edge case where missing parts were uncaught. Resolves #2055 and CRAFT-3851. macOS CI failures were due to external runner issues and resolved. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix enforcing at least one parts key in platform charm declarations. Previously, missing parts went uncaptured. Resolves #2055 and CRAFT-3851. macOS test failure noted but did not block merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #596 build: don't create implicit part if parts section specified (CRAFT-633) | charmcraft | merged | Merged. Resolves #590 by preventing implicit charm or bundle part creation when the parts section is explicitly defined. Adds tests for various parts configurations and passes CI. |