fix(parts): validate part dependency name
Metadata
Current evaluation
Merged fix for #539 that validates part dependency names. The change raises an error when a part references a non-existent dependency, approved by two reviewers and passing CI checks.
Suggested action: —
No scores available.
Issue body
Raise an error if a part depends on a non-existing part name.
Fixes: #539
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Example output from application:
```
$ snapcraft --destructive-mode
Initializing parts lifecycle :: A part named 'trololo' is not defined in the parts list.
Review the parts definition and make sure it's correct.
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix for #539 that validates part dependency names. The change raises an error when a part references a non-existent dependency, approved by two reviewers and passing CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged by cmatsuoka to fix #539. Adds validation for part dependency names, raising an error when a part references a non-existent dependency to prevent silent build failures. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.