feat: track content migrated to partitions
Metadata
Current evaluation
Merged in #1109 (commit 8810ccc2), adding partition-aware overlay content migration and tracking via the new partitions_contents state key.
Resolution: closed resolved
Reason: PR #1109 merged as commit 8810ccc2 after its prerequisite, #1108. It migrates overlay content into configured FilesystemMounts partitions and records each partition's migrated files and directories in state.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Enable migrating content from the overlay to different partitions using the provided FilesystemMounts.
Migrated content is tracked per partition in the default state file via a new `partitions_contents` key in state files.
To be merged **after** https://github.com/canonical/craft-parts/pull/1108
CRAFT-4584
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in #1109 (commit 8810ccc2), adding partition-aware overlay content migration and tracking via the new partitions_contents state key. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged partition-aware overlay migration tracking into craft-parts, persisting migrated content per partition via partitions_contents (8810ccc2). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in craft-parts PR #1109 after prerequisite #1108, adding partition-based content migration tracking via the partitions_contents state key (CRAFT-4584). | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after craft-parts PR 1108. Introduces a partitions_contents key in state files to track content migrated to partitions. Resolves None versus default partition handling conflicts. Approved by three reviewers and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds a partitions_contents state key to track content migrated to partitions. Resolves default partition handling conflicts and updates the changelog. Merged after craft-parts PR 1108. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#1108
(confidence 100%)
Required prerequisite that converted FilesystemMounts into a validated class.
-
Related To:
canonical/craft-parts#1123
(confidence 95%)
Follow-up fix in commit 3540e306 for priming overlay content after it was split into partitions.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1107 Enable migrating overlay content between partitions | craft-parts | closed | Superseded by merged split PRs #1100, #1109, and #1110, adding filesystem mounts, partition migration tracking, and partition-aware cleanup. | |
| #1035 feat: reconcile overlays and partition features | craft-parts | merged | Merged PR #1035 at commit b575539e, enabling overlay and partition features simultaneously and fixing canonical/craft-parts#1028. |