← 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 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.

Suggested action:

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
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
#111 overlay: add overlayfs helpers (CRAFT-462) craft-parts merged Merged. Added overlayfs mount and unmount helpers, plus utilities to identify special files and directories for filesystem layering. Approved by two reviewers, passed CI, and introduced 420 lines across six files.
73%
#122 overlay: add layer state management helper (CRAFT-506) craft-parts merged Merged. Adds a layer state management helper for the sequencer to track layer hashes during planning, ensuring overlay consistency. Approved by two reviewers with 180 additions and 8 deletions across four files.
72%
#137 many: add overlay step (CRAFT-84) craft-parts merged Merged. Adds an overlay step to process filesystem mutations like package installation and file modifications across parts. Updates multiple subsystems and tests, approved by a reviewer, passed CI, and maintains fast execution.
72%
#127 overlay: add overlay manager mount operations (CRAFT-80) craft-parts merged Merged implementation of mount operations for the overlay manager, enabling overlay stack mounting during build steps. Approved by two reviewers, passed CI, and added 265 lines across three files. Package installation is deferred to a future commit.
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%