overlay: add overlay hash to build and stage states (CRAFT-489)
Metadata
Current evaluation
Merged PR #119 for CRAFT-489, adding overlay hashes to build and stage states so overlay-dependent steps are correctly invalidated; merge commit af08815b.
Resolution: closed resolved
Reason: PR #119 was merged into main by commit af08815b. It records overlay hashes in build and stage state and compares them when determining whether overlay-dependent steps must rerun.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #119 for CRAFT-489, adding overlay hashes to build and stage states so overlay-dependent steps are correctly invalidated; merge commit af08815b. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #119, adding overlay verification hashes to build and stage state signatures so overlay-dependent steps are correctly invalidated (CRAFT-489). | |
| 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 PR #122 via 1e66d842 (implementation 865dda31), adding layer-hash state tracking and expected overlay-hash computation for sequencer planning. | |
| #135 executor: add overlay step handling (CRAFT-86) | craft-parts | merged | Merged PR #135 via b7527d5b, adding overlay-step execution handling that mounts the overlay stack during builds. | |
| #121 overlay: migrate overlay data to stage and prime (CRAFT-468, CRAFT-82) | craft-parts | merged | Merged PR #121 as d45d7079, moving overlay data into stage/prime, translating whiteouts and opaque directories to OCI, and cleaning shared overlay data. | |
| #113 overlay: add overlay support to parts (CRAFT-470) | craft-parts | merged | Merged #113 via commit 2d90e608, adding overlay work-directory definitions, overlay subdirectory properties, and detection of overlay parameters and visibility for CRAFT-470. | |
| #116 overlay: compute layer validation hash (CRAFT-478) | craft-parts | merged | Merged in c7469d81: added CRAFT-478 LayerHash computation from overlay parameters and the previous layer hash, plus persistence and recovery helpers. | |
| #111 overlay: add overlayfs helpers (CRAFT-462) | craft-parts | merged | Merged PR #111 via commit 7424a039, adding OverlayFS mount/unmount helpers and detection for special files and directories used in filesystem layering. | |
| #137 many: add overlay step (CRAFT-84) | craft-parts | merged | Merged craft-parts#137 as commit 1a813210, adding the overlay lifecycle step and subsystem support for package installation and filesystem mutations. | |
| #127 overlay: add overlay manager mount operations (CRAFT-80) | craft-parts | merged | Merged #127 via commit 95f19f73 (merge c984efb8), adding overlay-manager mount operations; package installation was deferred to a separate change. | |
| #1190 fix(overlay): detect conflicts between overlay and install | craft-parts | merged | Merged PR #1190 fixed Stage collision detection by including overlay layer contents and added integration tests for colliding and non-colliding scenarios in commit b7455277. | |
| #134 overlay: add overlay package install (CRAFT-81) | craft-parts | merged | Merged in commit 041af872, adding chrooted overlay package installation on each declaring part's upper layer so maintainer scripts run and package databases stay correct. |