← Back to issue list

Craft parts should rebuild all parts if the list of partitions changes

View original Github issue

Metadata

Project
craft-parts
Number
#1174
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Bug
Created
Updated
Closed
—

Current evaluation

Partition-list changes are not tracked in lifecycle state, so stale builds can place files in incorrect stage or prime partitions; the bug remains open and triaged.

Suggested action: keep open

Reason: The issue is labeled Status: Triaged and Type: Bug, with explicit requirements to persist the partition list and rebuild every part, including stage and prime. A maintainer clarified that repartitioned files must also trigger reprime and repack; no resolving implementation was found.

Evaluated by: mr-cal-bot

Impact: 58 Quick Win: 30 Complexity: 42 Confidence: 93 Actionability: 89

Issue body

### What needs to get done Craft-parts should store the list of partitions in the state files. If the list of partitions has changed, it should rebuild all parts. This is required because files are organized into partitions during the build step. This should cause the stage and prime steps to rerun as well. ### Why it needs to get done Partitions will contain incorrect contents if craft-parts doesn't track changes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 58
Quick Win: 30
Complexity: 42
Confidence: 93
Actionability: 89
keep open Partition-list changes are not tracked in lifecycle state, so stale builds can place files in incorrect stage or prime partitions; the bug remains open and triaged.
qwen/qwen3.6-35b-a3b
Impact: 70
Quick Win: 34
Complexity: 40
Confidence: 85
Actionability: 80
keep open Bug: craft-parts doesn't track partition list changes in state files, causing incorrect rebuild behavior when partitions are added or removed.
qwen/qwen3.8-27b
Impact: 70
Quick Win: 28
Staleness: 55
Complexity: 60
Confidence: 75
Support Request: 0
keep open Craft-parts should persist the partition list in state files and force a full rebuild (including stage/prime) when partitions change, since files are organized into partitions during build. Triaged bug, tracked as CRAFT-4654, with a maintainer note that partition changes should also trigger reprime/repack.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 65
Confidence: 85
Support Request: 10
close stale Request to track partition changes in state files and trigger full rebuilds of craft-parts to prevent incorrect file organization. Currently triaged but inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 60
Confidence: 75
Support Request: 10
keep open Craft-parts needs to track partition changes in state files and trigger full rebuilds of all parts, including stage and prime steps, to prevent incorrect file organization. Currently triaged but inactive for over a year.

Update history

No update history recorded yet.

Related work

  • Related To: CRAFT#4654 (confidence 100%)

    An automated comment records creation of internal ticket CRAFT-4654.

Related issues

No related issues found above the similarity threshold.