← Back to issue list

fix(parts): validate part dependency name

View original Github issue

Metadata

Project
craft-parts
Number
#569
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #569 via commit b43d917f, applying #558 to validate part dependency names and reject nonexistent parts, fixing #539.

Resolution: closed resolved

Reason: PR #569 was merged as commit b43d917f. The change originated in #558 and adds validation that raises an error when a part depends on a nonexistent part, resolving #539.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #569 via commit b43d917f, applying #558 to validate part dependency names and reject nonexistent parts, fixing #539.
stealth/space-bunny-alpha — closed resolved Merged PR #558 validates part dependency names, raising an error for missing parts and fixing #539 (commit 9a338194).
stealth/space-bunny-alpha — closed resolved Merged in #558 (9a338194), validating part dependency names and raising an error for nonexistent parts, fixing #539. The validation also landed through #569 (b43d917f).
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 work

  • Likely Fixed By: canonical/craft-parts#539 (confidence 100%)

    Issue reporting unvalidated part dependency names; PR #569 explicitly states that it fixes it.

  • Likely Fixed By: canonical/craft-parts#558 (confidence 99%)

    Original PR containing commit 9a338194 and the dependency-name validation applied by #569.

Related issues

Issue Project State Summary Similarity
#558 fix(parts): validate part dependency name craft-parts merged Merged in #558 (9a338194), validating undefined part dependency names and fixing #539; #569 carried the fix into main as b43d917f.
94%
#1701 feat: validate namespaced parts craft-parts merged Merged in #1701 (commit c0d12d9e), rejecting namespaced parts nested under another part; fixes #1016 and is recorded in 2.37.0.
71%
#922 fix: expose part deps in PartInfo craft-parts merged Merged PR #922 as commit 50b75f80, exposing part dependencies through PartInfo alongside two linting fixes.
70%