feat(part): add build-slices model
Metadata
Current evaluation
Merged PR #1717 as 758e822a, adding a feature-gated build-slices Part model and validation; build-slices support shipped in 2.37.0.
Resolution: closed resolved
Reason: PR #1717 was merged to main as commit 758e822a. The 2.37.0 changelog confirms support for build-slices, which define the root system in which a part's build step runs.
Evaluated by: mr-cal-bot
No scores available.
Issue body
'build-slices' is a Part property that lists Chisel slices that must be cut to form the part's 'build root'. This commit just adds the model gated by a new Feature, plus validation.
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1717 as 758e822a, adding a feature-gated build-slices Part model and validation; build-slices support shipped in 2.37.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1717 as commit 758e822a: adds a feature-gated 'build-slices' Part property listing Chisel slices for the build root, with validation (rejects mixing with build-packages/build-snaps). Follow-ups: #1718, #1724, #1737. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1717 (commit 758e822a), adding a feature-gated build-slices Part model that lists required Chisel slices and includes validation. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the addition of a build-slices Part property listing Chisel slices for the build root. The change introduces a new feature flag and validation logic. Approved by a reviewer and passed all CI checks. | |
| qwen/qwen3.6-35b-a3b |
Impact:
40
Quick Win:
32
Staleness:
5
Complexity:
20
Confidence:
75
|
needs review | Adds build-slices Part model gated by a new Feature with validation. Approved by 1 reviewer but has 1 unresolved review comment. All CI checks passing. | |
| qwen/qwen3.6-35b-a3b |
Impact:
45
Quick Win:
29
Staleness:
5
Complexity:
35
Confidence:
75
|
needs review | Adds build-slices model property to Part with validation, gated by a new Feature. Has 1 approval but 2 unresolved review comments and many failing CI checks including lint and tests. | |
| qwen/qwen3.6-35b-a3b |
Impact:
40
Quick Win:
26
Staleness:
5
Complexity:
35
Confidence:
75
|
needs review | Adds build-slices model to Part class, gated by a new Feature flag, with validation. Fresh PR with passing CI checks, pending review. | |
| qwen/qwen3.6-35b-a3b |
Impact:
40
Quick Win:
22
Staleness:
5
Complexity:
45
Confidence:
85
|
needs review | Adds build-slices model to PartSpec, gated by a new Feature flag, with validation. New PR with 2 unresolved review comments and no reviewers assigned. | |
| qwen/qwen3.6-35b-a3b |
Impact:
45
Quick Win:
29
Staleness:
5
Complexity:
35
Confidence:
75
|
needs review | Adds build-slices model as a Part property listing Chisel slices for the build root, gated by a new Feature flag with validation. New PR, pending review, CI passing. |
Update history
| Date | Change |
|---|---|
| closed | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related work
-
Related To:
canonical/craft-parts#1718
(confidence 96%)
Follow-up PR that cuts declared build-slices during the prologue.
-
Related To:
canonical/craft-parts#1724
(confidence 96%)
Follow-up PR that runs the build step in the build-slices root.
-
Related To:
canonical/craft-parts#1737
(confidence 93%)
Follow-up fix that installs Chisel when build-slices are declared.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1758 feat: track build-slices in part state | craft-parts | merged | Merged PR #1758 adds build-slices to BuildState properties_of_interest so the build step invalidates when build-slices changes; updates tests. | |
| #1767 feat: validate required build-slices | craft-parts | merged | Merged PR #1767 adding validation for required build-slices to improve error messages, resolving #1744. |