migration: filter out unnecessary whiteout files
Metadata
Current evaluation
Merged PR #274 as commit ea2f679a, filtering OCI whiteout files and opaque-directory markers from prime when the base layer has nothing to remove.
Resolution: closed resolved
Reason: PR #274 was merged into the project in commit ea2f679a. Its migration code removes dangling whiteouts and unnecessary opaque-directory markers.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Remove whiteout files (or opaque directory markers) from the prime
directory if they don't have a corresponding entry in the base layer
to be whited out.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
CRAFT-1264
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #274 as commit ea2f679a, filtering OCI whiteout files and opaque-directory markers from prime when the base layer has nothing to remove. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #274 filters unnecessary whiteout and opaque-directory markers from prime during migration (commit ea2f679a). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Filters out unnecessary whiteout files and opaque directory markers from the prime directory. Removes stray .wh..opq files from fuse-overlayfs when no base layer entry exists. Approved and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix filtering unnecessary whiteout files from the prime directory during migration when no corresponding base layer entry exists. Updated comments regarding fuse-overlayfs stray marker behavior. Resolves CRAFT-1264. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#276
(confidence 70%)
Release 1.13.0 followed the merge, but the supplied evidence does not explicitly tie the change to that release.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #163 oci: handle opaque whiteouts in new layer (usrmerge) | rockcraft | merged | Merged as commit 501e6eae, adding opaque-whiteout handling so usrmerge layers can explicitly hide base-layer symlinks while preserving them otherwise. |