← Back to issue list

many: handle layer reapplication (CRAFT-83, CRAFT-85)

View original Github issue

Metadata

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

Current evaluation

Merged PR #138 (21e146f2), adding layer-state tracking and reapplication of upper overlay layers to preserve modified files, whiteouts, and opaque directories.

Resolution: closed resolved

Reason: PR #138 was approved and merged as commit 21e146f2. Its overlay state and executor changes repopulate all layers above a reapplied part, keeping overlayfs metadata consistent.

Evaluated by: mr-cal-bot

No scores available.

Issue body

If the overlay step is re-executed for a part, all layers sitting on top the of layer corresponding to that part need to be repopulated. This process is called "reapplication" of a layer. This is needed to keep the overlayfs stack consistent regarding modified files, including whiteouts and opaque directories.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #138 (21e146f2), adding layer-state tracking and reapplication of upper overlay layers to preserve modified files, whiteouts, and opaque directories.
stealth/space-bunny-alpha — closed resolved Merged PR #138 (commit 21e146f2) to repopulate upper overlay layers when a part's layer is reapplied, preserving whiteouts and opaque-directory consistency.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged to handle layer reapplication when overlay steps are re-executed for a part. Maintains overlayfs stack consistency for modified files, whiteouts, and opaque directories, resolving CRAFT-83 and CRAFT-85.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#115 overlay: add layer visibility helpers (CRAFT-477) craft-parts merged Merged PR #115 in commit 0cd9d342, adding overlay layer visibility helpers that account for whiteout entries and opaque directories.
71%
#122 overlay: add layer state management helper (CRAFT-506) craft-parts merged Merged PR #122 via 1e66d842 (implementation 865dda31), adding layer-hash state tracking and expected overlay-hash computation for sequencer planning.
71%