← Back to issue list

overlay: compute layer validation hash (CRAFT-478)

View original Github issue

Metadata

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

Current evaluation

Merged after two approvals. Adds layer validation hash computation and persistence helpers. Author resolved a design concern by making the layer_hash argument mandatory and returning None for missing files, letting callers handle the absence.

Suggested action:

No scores available.

Issue body

Obtain a layer hash based on layer parameters and the previous layer's validation hash. `LayerHash` also provides helper methods to persist and recover the hash value. 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 after two approvals. Adds layer validation hash computation and persistence helpers. Author resolved a design concern by making the layer_hash argument mandatory and returning None for missing files, letting callers handle the absence.
qwen3.6-35b-a3b-mtp-q6 Merged. Implements layer validation hash computation and persistence helpers. The layer_hash argument was made mandatory, with LayerHash.load returning None for missing files so callers handle the absence. Resolves CRAFT-478.

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.
71%