states: add build state class
Metadata
Current evaluation
Merged PR #14 added BuildState for context collected during part build steps, partially replacing unmerged PR #12 in merge commit 373d3a84.
Resolution: closed resolved
Reason: PR #14 was merged as 373d3a84, with implementation commit 3baad9f1 adding the BuildState class. It delivered the build-state portion of the broader state-class work proposed in #12.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The BuildState class holds context information collected when the
build 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 #14 added BuildState for context collected during part build steps, partially replacing unmerged PR #12 in merge commit 373d3a84. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #14 introduced BuildState to hold context collected during part build steps, partially replacing PR #12; merge commit 373d3a84. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged addition of a BuildState class to store context during part build steps. Approved by two reviewers, partially replacing PR #12. The change modifies four files, adding 187 lines and removing 10. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the addition of a BuildState class to store context information collected during a part's build step. This implementation partially replaces PR #12. |
Update history
No update history recorded yet.
Related work
-
Related To:
craft-parts#12
(confidence 100%)
PR #12 was split into focused PRs; #14 implemented its BuildState portion.
-
Related To:
craft-parts#13
(confidence 90%)
Sibling focused PR implementing PullState from the work split out of #12.
-
Related To:
craft-parts#15
(confidence 90%)
Sibling focused PR implementing StageState from the work split out of #12.
-
Related To:
craft-parts#16
(confidence 90%)
Sibling focused PR implementing PrimeState from the work split out of #12.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #15 states: add stage state class | craft-parts | merged | Merged PR #15 added StageState for stage-step context; implementation commit b16b4b77 landed via merge commit ab80f306. | |
| #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. | |
| #13 states: add pull state class | craft-parts | merged | Merged PR #13 via df8666c2, adding PullState to retain pull-step context and track relevant properties and project options; it partially replaced PR #12. | |
| #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. |