feat(partitions): clean partition directories
Metadata
Current evaluation
Merged changes cleaning partition directories when the partitions feature is enabled. Approved by two reviewers, passed CI, and resolves issue #634.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Clean partition directories when the partitions feature is enabled.
Fixes #634
(CRAFT-2417)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes cleaning partition directories when the partitions feature is enabled. Approved by two reviewers, passed CI, and resolves issue #634. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to clean partition directories when the partitions feature is enabled, resolving issue #634. Integrated directly without additional review comments. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #600 feat(partitions): handle namespaced partitions in utils | craft-parts | merged | Merged following two reviewer approvals and passing CI. Updates utility functions to handle namespaced partitions across eight files (+229/-72 lines). Resolves #596 and CRAFT-2303. | |
| #634 Clean partitions directories | craft-parts | closed | Implemented partition directory cleanup during craft-parts part cleaning to prevent dirty build environments. Resolved and merged via pull request #652. | |
| #493 partitions: validate usage of partitions in parts | craft-parts | merged | Implemented partition validation for filepaths in the organize, overlay, stage, and prime keywords within parts. Merged after reviewer approval and passing CI checks, modifying seven files to resolve CRAFT-1844. | |
| #763 partitions feature documentation | craft-parts | merged | Merged documentation for the partitions feature targeting application developers. Approved by two reviewers, the update adds 66 lines and removes 5 across nine files, resolving CRAFT-3030. | |
| #1110 feat: cleaning with partitions | craft-parts | merged | Merged after craft-parts PR #1109. Properly cleans the shared area while accounting for partitions, resolving issue #665. Includes a changelog entry and passed three reviews. | |
| #475 feat: update partitions docs | craft-application | merged | Merged documentation update for partitions, correcting instructions on resetting Features and overriding Application methods. Approved by three reviewers, passed CI, and modified two files. | |
| #1699 feat: partitions always enabled | craft-parts | open | Consolidates enabled/disabled partition code paths into a unified approach where no partitions defaults to a single partition. CI passing, awaiting review. | |
| #826 feat(partitions): custom error for nonexistent partition | craft-parts | merged | Merged a feature introducing a custom error for nonexistent partitions to improve error handling in corncraft. Approved by three reviewers, passed CI, and modified three files. Temporary linter failures from cmake.org downtime were resolved prior to merge. | |
| #528 partitions: make partitions optional in ProjectDirs | craft-parts | merged | Made partitions optional in ProjectDirs. Merged following approval from two reviewers, updating eight files (+170/-114 lines). Unresolved review comments and unrelated pyright linting changes did not block integration. | |
| #834 fix: use partitions for stage-packages tracking | craft-parts | merged | Merged to fix issue #804. The change updates stage-package tracking to scan primed files per partition, resolving failures in common partitioned setups. Multi-partition tracking still requires deeper refactoring. Approved by three reviewers and passed CI. |