feat: exclude files already distributed to another partition
Metadata
Current evaluation
Merged PR #1193 (commit 2ca29040), replacing whiteout tracking with migrated-subpath records to exclude files already assigned to another partition; fixes #1173.
Resolution: closed resolved
Reason: Resolved by merged PR #1193 in commit 2ca29040. The change records migrated subpaths and removes their content from migration candidates, fixing #1173 (CRAFT-4659).
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Simplify exclusion of content already migrated to another partition during migration from the overlay. The current approach to track migration of whiteout files makes it difficult to properly exclude them without dealing with quirks of the fuse-overlayfs implementation. So adopt a simpler strategy by recording subpaths already migrated and remove the content under these subpaths from the migration candidates.
Fix #1173
CRAFT-4659
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1193 (commit 2ca29040), replacing whiteout tracking with migrated-subpath records to exclude files already assigned to another partition; fixes #1173. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as craft-parts PR #1193 (commit 2ca29040), replacing whiteout tracking with migrated-subpath recording to exclude files already assigned elsewhere. Fixes #1173 (CRAFT-4659). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1193, replacing whiteout tracking with records of migrated subpaths to correctly exclude files distributed to another partition; fixes #1173 (CRAFT-4659). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a change simplifying exclusion of already migrated files during overlay migration by recording subpaths instead of tracking whiteout files. Approved by two reviewers, passed all CI checks, and resolves issue #1173. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes simplifying exclusion of already-migrated files during overlay partition migration. Replaces complex fuse-overlayfs whiteout tracking with a subpath recording strategy, resolving issue #1173 and fixing failing spread tests. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1173 Whiteout files migration tracking failing when distributing content in partitions | craft-parts | closed | Fixed by PR #1193 (commit 2ca29040), which excludes entries already distributed to another partition and prevents repeated whiteout migration. |