feat: make cache layer level configurable
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
In the overlay stack, place the package cache layer below the
first level that does not organize to the overlay after a part
organizes to the overlay. If no parts organize to the overlay
the cache layer is placed immediately above the base layer,
retaining compatibility with the behavior before implementing
organization to the overlay.
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a feature making the cache layer level configurable. It positions below the first non-overlay organizing level, or above the base. A requested partition validation was confirmed as already handled. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1213 feat: configurable cache layer level | craft-parts | closed | Superseded by individual pull requests #1254, #1259, #1261, and #1263. The feature was split into smaller PRs following review and passing CI checks. | |
| #1035 feat: reconcile overlays and partition features | craft-parts | merged | Merged. Implements simultaneous overlay and partition feature support, resolving issue #1028. Approved by three reviewers with passing CI. Further tests and refactoring will follow in a subsequent PR. | |
| #138 many: handle layer reapplication (CRAFT-83, CRAFT-85) | craft-parts | merged | Merged changes handling layer reapplication to maintain overlayfs stack consistency during re-executed overlay steps. Approved by one reviewer, passed CI checks, and integrated by maintainer cmatsuoka across 20 files. | |
| #1292 fix: clean the package cache when underlying layers are cleaned | craft-parts | merged | 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. | |
| #1254 feat: allow parts to organize to overlay | craft-parts | merged | Merged. Introduces an overlay target for file organization, moving part build files to the mounted overlay stack. Approved by three reviewers and passed all CI checks. Documentation will be added later when the base creation feature is complete. |