← Back to issue list

Improve per-step state tracking.

View original Github issue

Metadata

Project
snapcraft
Number
#381
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #381 via commit 3cc0049cd, replacing the single state file with per-step state files and resolving LP #1558810.

Resolution: closed resolved

Reason: The per-step state-tracking implementation was merged into the mainline in commit 3cc0049cd. It resolves LP #1558810 and prepares the architecture for dirty-state tracking and per-step cleaning rules.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR resolves LP: [#1558810](https://bugs.launchpad.net/snapcraft/+bug/1558810) by moving from a single state file to per-step state files. This is necessary for future changes, such as tracking dirty state and per-step cleaning rules.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #381 via commit 3cc0049cd, replacing the single state file with per-step state files and resolving LP #1558810.
stealth/space-bunny-alpha — closed resolved Merged PR #381 in commit 3cc0049cd, replacing one state file with per-step state files and resolving LP #1558810.
stealth/space-bunny-alpha — closed resolved Merged PR #381 in commit 3cc0049cd, replacing one state file with per-step state files and resolving LP #1558810 to enable future dirty-state tracking and per-step cleaning.
qwen/qwen3.6-35b-a3b — — Merged to replace a single state file with per-step files, resolving Launchpad bug #1558810. Approved by sergiusens after CI verification. Enables future dirty state tracking and per-step cleaning rules.
qwen3.6-35b-a3b-mtp-q6 — — Merged into master. Replaces a single state file with per-step state files to enable future dirty state tracking and cleaning rules, resolving Launchpad bug #1558810. Approved after minor review comments.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#385 Migrate old state to new. snapcraft merged Merged PR #385 in c8ef2a54b (83c390289), adding migration from legacy state storage to the per-step tracking introduced by #381 for LP #1560158.
77%
#438 Extract step state tracking into its own module. snapcraft merged Merged as commit bd03d8e1e: moved step state tracking out of the plugin handler into its own module (+148/-74, 7 files) after copyright and rebase fixes requested by sergiusens. Part of LP: #1477904.
76%
#383 Migrate old state to new. snapcraft closed Closed unmerged; sergiusens rebased the work and landed it as PR #385 (commit 83c390289, merge c8ef2a54b), migrating legacy state tracking to the new per-step system for LP: #1560158.
73%
#937 Incorporate all part properties into state tracking. snapcraft merged Merged PR #937 as commit 9212dac6d, adding all pull, build, stage, and prime part properties to state tracking and fixing LP #1646289.
71%