Changing from basefull to baseless silently produces an incomplete rock
Metadata
Current evaluation
Rebuilding a project after switching `base: ubuntu@26.04` to `base: bare` reuses stale state, silently producing a rock missing ~520 base-provided files; pack exits 0 with no warning. Labeled as a bug, awaiting triage/fix.
Suggested action: keep open
Reason: Valid, well-scoped bug with a turnkey reproducer (two YAML variants, explicit step-by-step build, and a `comm -13` diff proving 2-bare-no-clean.rock is a strict subset of the clean build); independently reproduced by lczyk and alesancor1 per the body. Silently emitting an incomplete rock from a successful exit-0 pack is a correctness/output-trust problem, so it should stay open. Impact is bounded by requiring a base change plus a non-clean rebuild, and complexity is mid-range because the likely fix is cache/overlay-part invalidation on base change (possibly touching craft-parts/craft-application) plus a new spread test. Confidence is capped because repository inspection tools returned 'No pinned SHA available for rockcraft', so I could not confirm the root cause or rule out an existing fix commit; the 0-comment state also means there is no maintainer triage confirmation yet.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
72
Quick Win:
25
Complexity:
58
Confidence:
76
Actionability:
83
|
keep open | Rebuilding a project after switching `base: ubuntu@26.04` to `base: bare` reuses stale state, silently producing a rock missing ~520 base-provided files; pack exits 0 with no warning. Labeled as a bug, awaiting triage/fix. | |
| stealth/space-bunny-alpha |
Impact:
75
Quick Win:
30
Complexity:
55
Confidence:
92
Actionability:
88
|
keep open | Switching an existing project from base: ubuntu@26.04 to base: bare can reuse stale state and silently omit 520 base-provided files, producing an incomplete rock. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
75
Quick Win:
34
Staleness:
15
Complexity:
55
Confidence:
75
Support Request:
10
|
needs triage | Switching from basefull to baseless without cleaning silently produces incomplete rocks missing 520 files from the previous base | |
| qwen/qwen3.8-27b |
Impact:
80
Quick Win:
28
Staleness:
5
Complexity:
65
Confidence:
70
Support Request:
5
|
needs triage | Rockcraft 1.20.0 silently packs an incomplete rock when switching base from ubuntu@26.04 to bare without cleaning, reusing stale state and dropping 520 files (all of base-files). Freshly filed, no maintainer activity yet. |
Update history
| Date | Change |
|---|---|
| updated | |
| created |
Related work
-
Related To:
canonical/rockcraft#13
(confidence 30%)
Merged PR making `build-base` optional and defaulting to `base` (CRAFT-590); establishes the build-base/base semantics exercised by the repro's `build-base: ubuntu@26.04`, but is not a fix for the stale-state problem.
Related issues
No related issues found above the similarity threshold.