← Back to issue list

removing parts should clean stage and prime… stages?

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1834207
Type
issue
State
open
Author
~saviq
Labels
Created
Updated
Closed

Current evaluation

Bug report from 2017: removing a part from snapcraft.yaml does not clean its contents from stage/prime, so the built snap still includes the removed part's files. No labels, no comments, no maintainer activity in ~7 years.

Suggested action: close stale

Reason: The issue is 2624 days old (~7 years) with zero comments, no labels, and no maintainer interaction. It references a specific commit (7f4e951) and PR #850 from the multipass project circa 2017. The snapcraft codebase has undergone major rewrites since then (the current repo layout shows a modern parts/ directory structure), making it highly likely this behavior has been addressed or the reproduction is no longer valid. However, without tool access to verify whether the fix landed, confidence is moderate — a maintainer should confirm before closing.

Impact: 30 Quick Win: 18.0 Staleness: 95 Complexity: 40 Confidence: 55 Support Request: 10

Issue body

Steps to reproduce: - build https://github.com/CanonicalLtd/multipass/commit/7f4e951f98f492832c100ca26208d087a4a5ab74 - build https://github.com/CanonicalLtd/multipass/pull/850 which removes the `libvirt` part Expected: - the snap does not have the `libvirt` part's contents Current: - the snap includes the old `libvirt` part's contents

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 18.0
Staleness: 95
Complexity: 40
Confidence: 55
Support Request: 10
close stale Bug report from 2017: removing a part from snapcraft.yaml does not clean its contents from stage/prime, so the built snap still includes the removed part's files. No labels, no comments, no maintainer activity in ~7 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 35
Confidence: 90
Support Request: 10
close stale Reports that removing a snapcraft part fails to clean stage and prime directories, leaving stale contents in the built snap. Issue is 7 years old with no maintainer response or activity.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Bug in snapcraft where removing a part from the configuration fails to clean previously staged and primed contents, leaving old artifacts in the final snap. Issue remains open with no maintainer response or comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 45
Confidence: 85
Support Request: 5
close stale Bug report stating that removing a snapcraft part fails to clean the stage and prime directories, leaving old contents in the built snap. Open for over 7 years with no maintainer response or activity.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 55
Confidence: 80
Support Request: 5
close stale Removing a snapcraft part fails to clean stage and prime stages, leaving stale contents in the built snap. Open, zero comments, inactive for 100 days. Needs triage.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.