Clean partitions directories
Metadata
Current evaluation
Partition directories are now removed during part cleaning when partitions are enabled. Fixed by merged PR canonical/craft-parts#652 in commit 797109e8.
Resolution: closed resolved
Reason: The maintainer confirmed that PR #652 fixed the issue. Merged commit 797109e8 adds cleanup of the partition directory to prevent stale state and dirty-build-environment problems.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
When craft-parts cleans a part, the partition directories should also be cleaned.
Craft-parts has a complex algorithm to determine what to clean. This needs to be studied before implementing.
### Why it needs to get done
To prevent build issues resulting from a dirty build environment.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Partition directories are now removed during part cleaning when partitions are enabled. Fixed by merged PR canonical/craft-parts#652 in commit 797109e8. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in merged PR #652 (commit 797109e8): part cleaning now also removes partition directories. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #652 (commit 797109e8), adding partition-directory cleanup when partitions are enabled to keep build environments clean. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #652, which cleans partition directories during part cleanup when partitions are enabled. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented partition directory cleanup during craft-parts part cleaning to prevent dirty build environments. Resolved and merged via pull request #652. | |
| qwen/qwen3.6-35b-a3b | — | — | Partition directory cleanup during craft-parts part cleaning was implemented to prevent dirty build environments. Resolved and fixed by pull request #652. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented partition directory cleanup during part processing to prevent dirty build environments. Resolved and merged via pull request #652. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed by PR #652. Partition directories are now properly cleaned when craft-parts cleans a part, preventing dirty build environment issues. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-parts#652
(confidence 100%)
Merged as commit 797109e8 with the title "feat(partitions): clean partition directories".
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #652 feat(partitions): clean partition directories | craft-parts | merged | Merged #652 via commit 797109e8, adding partition-directory cleanup when partitions are enabled and fixing #634 (CRAFT-2417). | |
| #754 Document Partitions | craft-parts | closed | Partitions documentation was added and the issue completed by merged PR canonical/craft-parts#763 in commit cdcc9dbc. | |
| #672 Using partitions introduces a breaking change | craft-parts | closed | Partition path/working-directory breakage was fixed by the top-level redesign in craft-parts#620, merged via PR #684 (188d9166). | |
| #635 Clean partition directories (#644) | craft-parts | closed | Closed as an accidental report; the maintainer wrote "Created by mistake." Partition-directory cleanup later shipped in PR #652 via commit 797109e8. | |
| #1110 feat: cleaning with partitions | craft-parts | merged | Merged PR #1110 adds partition-aware cleanup of shared areas for CRAFT-4585, following prerequisite #1109; it is recorded on main as commit 0584c19c. | |
| #4463 Enable craft-parts partitions feature | snapcraft | closed | Partitions support landed in merged PR #4493 (commit 070c7e995), enabling partition-backed component lifecycle data and completing #4463. | |
| #493 partitions: validate usage of partitions in parts | craft-parts | merged | Merged into craft-parts in commit ed20df71 (#493), adding validation of partition usage in filepaths for parts' organize, overlay, stage and prime keywords (CRAFT-1844). | |
| #600 feat(partitions): handle namespaced partitions in utils | craft-parts | merged | Merged into main in commit f387afa5 (PR #600), adding namespaced-partition handling to four partition utilities and resolving craft-parts#596. | |
| #763 partitions feature documentation | craft-parts | merged | Merged developer-facing partitions documentation in commit cdcc9dbc, completing CRAFT-3030 after approval by two reviewers. |