← Back to issue list

The `adopt_info` field should be checked to reference a valid part.

View original Github issue

Metadata

Project
craft-application
Number
#926
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Bug
Created
2025-09-30 15:56:03+00:00
Updated
2025-09-30 15:56:35+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description Right now the `adopt-info` field accepts any string, whether it's a part in the project or not. ### To Reproduce Use testcraft to build the file below. ### part yaml ```shell name: minimal-valid-project parts: {} version: "0.0" adopt-info: my-part platforms: amd64: build-on: [amd64] build-for: [amd64] ``` ### Relevant log output ```shell n/a ```

Evaluation history

No evaluation history available.