← Back to issue list

overlay: add overlay hash to build and stage states (CRAFT-489)

View original Github issue

Metadata

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

Current evaluation

Merged pull request implementing overlay verification hashes in build and stage states to ensure proper step invalidation. Approved by two reviewers, passed CI checks, and successfully integrated.

Suggested action:

No scores available.

Issue body

List the overlay verification hash in the build and stage steps to ensure proper invalidation of steps depending on overlay data. This hash will be verified in the build step of parts that can see overlay contents, and in the stage step of parts declaring overlay parameters. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged pull request implementing overlay verification hashes in build and stage states to ensure proper step invalidation. Approved by two reviewers, passed CI checks, and successfully integrated.
qwen3.6-35b-a3b-mtp-q6 Merged. Introduces an overlay verification hash to build and stage states, ensuring proper invalidation of steps depending on overlay data. Closes CRAFT-489.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
75%
#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.
75%
#135 executor: add overlay step handling (CRAFT-86) craft-parts merged Merged. Adds overlay step handling to the executor, mounting the overlay stack during builds so parts with overlay visibility can access the filesystem for package installation and user scripts. Approved and passed CI.
75%
#121 overlay: migrate overlay data to stage and prime (CRAFT-468, CRAFT-82) craft-parts merged Merged after two approvals and CI. Migrates overlay data to stage and prime, translates overlayfs whiteouts and opaque directories to OCI, and cleans shared areas. Collision detection is deferred.
75%
#1190 fix(overlay): detect conflicts between overlay and install craft-parts merged Merged fix enhancing Stage step collision detection to account for overlay contents, preventing conflicts with install directories. Includes integration tests, passed all CI checks, and received approval from three reviewers.
73%
#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.
72%
#110 feat: Support overlay imagecraft merged Merged to enable the overlay feature, provide a bare base, and add spread tests. Approved by two reviewers with passing CI checks. Resolves #98 and CRAFT-4269 across 18 files.
72%
#1619 fix: migrate overlay files before running stage or prime (#1617) craft-parts merged Merged cherry-pick of canonical/craft-parts#1617. Resolves changelog conflicts and migrates overlay files before stage or prime execution. Approved by two reviewers and merged following CI validation.
71%
#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.
71%
#299 feat: enable override-overlay imagecraft merged Merged following approval from two reviewers and passing CI checks. Updated craft-parts to ~2.30 to enable override-overlay support and added a corresponding spread test.
71%