states: add stage state class
Metadata
Current evaluation
Merged PR #15 added StageState for stage-step context; implementation commit b16b4b77 landed via merge commit ab80f306.
Resolution: closed resolved
Reason: PR #15 was approved and merged, adding the StageState class for context collected during a part's stage step. It partially replaced the broader PR #12.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The StageState class holds context information collected when the
stage step runs for a part.
This PR partially replaces PR #12.
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 #15 added StageState for stage-step context; implementation commit b16b4b77 landed via merge commit ab80f306. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-parts#15 (ab80f306), adding StageState for stage-step context; commit b16b4b77 partially replaced #12. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the addition of a StageState class to store stage step context, partially replacing PR #12. Approved by two reviewers, passed CI, and introduced 168 lines across two files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the introduction of the StageState class, which stores context collected during the stage step. This change partially replaces PR #12 and was authored by a maintainer. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#12
(confidence 100%)
PR #15 explicitly partially replaced this broader closed PR.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #14 states: add build state class | craft-parts | merged | Merged PR #14 added BuildState for context collected during part build steps, partially replacing unmerged PR #12 in merge commit 373d3a84. | |
| #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. | |
| #12 states: add concrete step states | craft-parts | closed | Closed unmerged and split into #13–#16, which separately added PullState, BuildState, StageState, and PrimeState; all four replacement PRs were merged. | |
| #16 states: add prime state class and state loader | craft-parts | merged | Merged PR #16 added PrimeState and persistent step-state loading; commit aa062828 landed via merge 524909c6, replacing unmerged PR #12. |