← Back to issue list

fix: clean the package cache when underlying layers are cleaned

View original Github issue

Metadata

Project
craft-parts
Number
#1292
Type
pull request
State
merged
Author
upils
Labels
Created
Updated
Closed

Current evaluation

Merged fix ensuring package cache layers are cleaned when underlying layers are removed. Resolves #1229 and CRAFT-4728. Passed CI, approved by two reviewers, and rebased onto main before merge.

Suggested action:

No scores available.

Issue body

- [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint && make test`? - [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? --- Make sure to clean the package cache layer when an underlying layer is cleaned. Fixes #1229 CRAFT-4728

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix ensuring package cache layers are cleaned when underlying layers are removed. Resolves #1229 and CRAFT-4728. Passed CI, approved by two reviewers, and rebased onto main before merge.
qwen3.6-35b-a3b-mtp-q6 Merged to main after rebasing on PR #1263. The change ensures the package cache layer is cleaned when underlying layers are removed, resolving #1229 and CRAFT-4728. Unrelated CI lint failures were ignored.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1194 fix: correct file permissions for the apt cache craft-parts merged Merged to correct apt cache file permissions, resolving the not owned by _apt error during package staging in managed builds. Approved by three reviewers with all CI checks passing. Requires craft-providers PR 813.
71%
#1227 Reorder the package cache layer in the overlay stack craft-parts closed Resolved by merging pull request #1263 into canonical/craft-parts. The package cache layer is now correctly positioned above part layers when the base is created in a part.
71%
#1263 feat: make cache layer level configurable craft-parts merged Merged. Configures overlay cache layer placement below the first non-overlay organizing level or above the base layer. Approved by three reviewers. CI passed except conventional commits policy. Partition conflict checks confirmed.
70%