snapcraft first run doesn't verify parts in parts after keyword on core22
Metadata
Current evaluation
Closed as abandoned without a fix; core22 still did not validate nonexistent parts listed in an after key on the first build.
Resolution: closed stale
Reason: Launchpad bug #2033882 was closed as abandoned after prolonged inactivity. No resolving pull request, commit, or maintainer comment was recorded.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When listing parts in the after keyword of a part, if the listed part doesn't exist, no error will show.
In core20 it was showing an error but not in core22.
I believe it should show an error to help developers with potential typos.
Example to reproduce:
snapcraft.yaml:
name: my-snap-name
base: core22
version: '0.1'
summary: Single-line elevator pitch
description: |
This is my-snap's description.
grade: devel
confinement: devmode
parts:
my-part:
plugin: nil
override-build: |
echo "hello"
my-part2:
after: [trololo]
plugin: nil
override-build: |
echo "hello"
The first build runs fine. The second build properly fails.
While the same example in core20 always gives:
Failed to get part information: Cannot find the definition for part 'trololo', required by part 'my-part2'.
Remote parts are not supported with bases, so make sure that this part is defined in the `snapcraft.yaml`.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as abandoned without a fix; core22 still did not validate nonexistent parts listed in an after key on the first build. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as abandoned without a fix; the core22 first-build validation regression for nonexistent parts listed in an after key remained unresolved. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The core22 validation regression for missing after-listed parts on the first build remains unfixed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft fails to validate non-existent parts in the after keyword on core22, a regression from core20, remains unaddressed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The reported snapcraft core22 validation bug for missing parts in the after keyword was not fixed. The report remains abandoned with no patches implemented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution due to inactivity. The core22 snapcraft validation for non-existent parts in the after keyword remains unaddressed. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
No related issues found above the similarity threshold.