states: add management methods to refresh and clean steps
Metadata
Current evaluation
Merged PR #24 added state-management methods to mark steps recently updated and clean obsolete in-memory state; merged in 9a1ee8dc via d7038420.
Resolution: closed resolved
Reason: PR #24 was approved by two reviewers and merged in commit 9a1ee8dc. Implementation commit d7038420 added the requested state-management methods across two files.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Lifecycle planning requires in-memory states to be cleaned or marked
as recently updated. This change adds the necessary methods to obtain
these results.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #24 added state-management methods to mark steps recently updated and clean obsolete in-memory state; merged in 9a1ee8dc via d7038420. | |
| stealth/space-bunny-alpha | — | closed resolved | Added state-management methods to refresh recently updated steps and clean in-memory steps, with 64 lines added across two files and approved by two reviewers. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Added management methods to refresh and clean in-memory states for lifecycle planning. Approved by two reviewers, passed CI checks, and introduced 64 lines of code across two files to implement state management operations. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduces management methods to refresh and clean in-memory state steps for lifecycle planning. Approved and merged by maintainer cmatsuoka without additional comments. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #17 states: add state metadata and ephemeral state manager | craft-parts | merged | Merged PR #17 added wrapped step-state metadata for lifecycle sequencing and an ephemeral state manager keyed by part and step; merge commit 63369fb9. | |
| #21 states: add outdated step verification | craft-parts | merged | Merged PR #21 (commit 08e81f92, merge 0d39e299) adds outdated step verification to the state manager: a part step is outdated when an earlier step ran more recently; source-handler checks were deferred to a later PR. | |
| #10 states: add step state base class | craft-parts | merged | Merged PR #10 via commit 35d2dde5, adding a base class for step state that preserves execution context, detects relevant changes, and enables unchanged runs to be skipped. | |
| #18 states: add stage manager class | craft-parts | merged | Merged PR #18 introduced the initial StateManager for tracking part and step states; implemented in commit 23c8afdc and merged by ccf5b434. |