← Back to issue list

executor: add part file collision verification

View original Github issue

Metadata

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

Current evaluation

Merged implementation of part file collision verification to prevent staging errors when different parts stage files with identical names but different contents. Logic ported from snapcraft, approved by three reviewers, and passed CI.

Suggested action:

No scores available.

Issue body

Different parts must not stage files under the same name and with different contents, it will result in staging error. This change adds the functions that perform this verification. Collision verification logic is ported from snapcraft. 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 implementation of part file collision verification to prevent staging errors when different parts stage files with identical names but different contents. Logic ported from snapcraft, approved by three reviewers, and passed CI.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds verification to prevent different parts from staging files with identical names but differing contents. Collision detection logic was ported from snapcraft to avoid staging errors.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#662 feat(executor): check for stage file collisions in each partition craft-parts merged Merged. Adds stage file collision checks per partition to fix issue #633. Includes refactored unit tests and new integration tests. Approved by reviewers and passed CI.
73%