← Back to issue list

feat: make cache layer level configurable

View original Github issue

Metadata

Project
craft-parts
Number
#1263
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1263 as 880aae70, making overlay cache-layer placement configurable below the first non-overlay organizing level or above base when unused.

Resolution: closed resolved

Reason: The change was merged as commit 880aae70 after maintainer approval. It implements adaptive cache-layer placement while preserving previous behavior when no parts organize to the overlay.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #1263 as 880aae70, making overlay cache-layer placement configurable below the first non-overlay organizing level or above base when unused.
stealth/space-bunny-alpha — closed resolved Merged #1263 via commit 880aae70, making overlay package-cache layer placement configurable while preserving prior behavior when no parts organize to the overlay.
stealth/space-bunny-alpha — closed resolved Merged PR #1263 made overlay cache-layer placement configurable, below the first non-overlay organizing level or above the base layer when no parts organize to the overlay.
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 work

Related issues

Issue Project State Summary Similarity
#1213 feat: configurable cache layer level craft-parts closed Closed as a broad proposal and superseded by #1254, #1259, #1261, and #1263; configurable cache-layer behavior landed through merged #1263 (880aae70).
77%
#940 feat: use configurable cache layer level rockcraft closed Closed unmerged; configurable cache-layer placement was implemented instead in canonical/craft-parts#1263, commit 880aae70.
76%
#1227 Reorder the package cache layer in the overlay stack craft-parts closed Package cache overlay placement was fixed by merged PR canonical/craft-parts#1263 (commit 880aae70), making the cache layer configurable above part layers.
72%