Migrate old Snapcraft state tracking to new
Metadata
Current evaluation
Legacy file-based state was migrated to the new directory-based format, fixing builds in trees left dirty by older Snapcraft versions. Merged in snapcraft#385.
Resolution: closed resolved
Reason: Snapcraft#385 added migration from legacy file-based state to directory-based state tracking, allowing builds to proceed on project trees previously used by older Snapcraft versions.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Snapcraft's state tracking decently changed from files to directories. The new version breaks if one attempts to run Snapcraft in a tree made dirty by a previous version of Snapcraft. It should handle this more seamlessly.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Legacy file-based state was migrated to the new directory-based format, fixing builds in trees left dirty by older Snapcraft versions. Merged in snapcraft#385. | |
| stealth/space-bunny-alpha | — | closed resolved | Legacy file-based state is migrated to the new directory layout, fixing builds in trees left dirty by older Snapcraft versions. Merged in PR #385 via commit 83c390289. | |
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft added migration from legacy file-based state to the new directory-based format, fixing builds on trees left dirty by older versions. Merged in #385. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The report requested automatic migration of Snapcraft state tracking from files to directories to prevent build failures on legacy dirty trees. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The legacy state tracking migration request appears abandoned or superseded by subsequent Snapcraft updates. No fix or merge was recorded. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution, likely abandoned. Snapcraft state tracking migration from files to directories remains unaddressed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution, likely abandoned or superseded. No fix was implemented or merge details provided for the Snapcraft state tracking migration. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcraft#385
(confidence 96%)
Merged PR implementing the legacy-to-directory state migration.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1558810 Snapcraft needs better state tracking | snapcraft (launchpad) | closed | Fixed by merged PR canonical/snapcraft#381 (merge commit 3cc0049cd), replacing the last-run state file with per-step state tracking for each part. | |
| #5744 Migrate legacy schema | snapcraft | closed | Migrated the legacy schema to snapcraft-legacy.json and updated snapcraft_legacy to use the copy; merged in #5751 (cf2ecd9dc). | |
| #1806746 Move state file to avoid dirtiness when snap is used for code | snapcraft (launchpad) | closed | State-file relocation was merged in snapcore/snapcraft#2419 (commit e258a2c53), preventing Snapcraft project state from dirtying source trees stored as snaps. | |
| #4166 Migrate Snapcraft to core22 | snapcraft | closed | Snapcraft's own snap was migrated to base core22 by merged PR #4186 (commit 60033305b, 8 files, +71/-70), closing this tracking issue. |