fix(parts): validate part dependency name
Metadata
Current evaluation
Merged code that validates part dependency names, raising an error for non-existent references. Approved by two reviewers, passed CI, and resolves issue #539.
Suggested action: —
No scores available.
Issue body
Raise an error if a part depends on non-existing part name.
Fixes: #539
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged code that validates part dependency names, raising an error for non-existent references. Approved by two reviewers, passed CI, and resolves issue #539. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix that validates part dependency names, raising an error for non-existent references. Resolves issue #539. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #558 fix(parts): validate part dependency name | craft-parts | merged | 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. | |
| #1036 parts: better error message when defining parts | snapcraft | merged | Merged improved error messaging for part definitions. Approved by one reviewer, passed CI, and changed two files (+7/-3 lines). Addresses LP #1604827. | |
| #922 fix: expose part deps in PartInfo | craft-parts | merged | Merged pull request exposing part dependencies in PartInfo. Approved by two reviewers and passed CI. Modified 11 files (+51/-16), initially addressing linting issues before implementing the core fix. | |
| #1701 feat: validate namespaced parts | craft-parts | merged | Validation for namespaced part names was merged to prevent directory conflicts, fixing issue #1016. Approved by two reviewers and integrated after passing CI checks. | |
| #277 parts: add part validator | craft-parts | merged | Merged adds a centralized part validation helper that validates data against part and plugin models, replacing per-tool logic. Approved, passed CI, and resolves issue #176. |