override-prime ignore failure on rebuild
Metadata
Current evaluation
Bug: override-prime step skipped after failure on rebuild, causing silent incorrect snap creation. Issue is 1331 days old with no maintainer engagement.
Suggested action: close stale
Reason: The issue is 1331 days old with zero maintainer engagement, no labels, and no comments. The reported versions (snapcraft 7.2.9, snapd 2.58) are significantly outdated and no longer supported. After over 3 years without follow-up from the reporter or acknowledgment from maintainers, and given that the build system architecture may have changed since then, this issue is considered stale and no longer applicable to current versions.
Impact:
50
Quick Win:
30.0
Staleness:
95
Complexity:
40
Confidence:
60
Support Request:
10
Issue body
When the command executed in override-prime fails, relaunching the snap build skip the prime step and mark it as already ran and create the .snap file.
The expected behaviour is that it re-run the prime step.
To reproduce, you need this snapcraft.yaml
```
name: my-snap-name
base: core20
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-prime: |
this_command_does_not_exist
```
Call snapcraft, it fails (expected)
Call snapcraft again, it succeeds (not expected)
To properly re-execute the prime step the only two solutions are: clean the build or change the override-prime script.
snapd version: 2.58
snapcraft version: 7.2.9
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
50
Quick Win:
30.0
Staleness:
95
Complexity:
40
Confidence:
60
Support Request:
10
|
close stale | Bug: override-prime step skipped after failure on rebuild, causing silent incorrect snap creation. Issue is 1331 days old with no maintainer engagement. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
35
Confidence:
85
Support Request:
5
|
needs triage | Snapcraft skips the prime step and succeeds on rebuild after an override-prime failure, instead of re-running it. Issue is unlabelled, has no maintainer comments, and is over 3 years old. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
70
Support Request:
5
|
close stale | Snapcraft skips failing override-prime step on rebuild instead of re-running it. Unlabeled, no maintainer response, inactive for ~3.5 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
15
Confidence:
75
Support Request:
5
|
needs triage | Bug where snapcraft skips the failed override-prime step on subsequent builds instead of re-running it. Unlabelled, no maintainer response, inactive for ~3.5 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | Snapcraft skips the prime step on rebuild after an override-prime failure, incorrectly succeeding instead of re-running it. Unlabelled, zero maintainer comments, and inactive for over three years. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.