← Back to issue list

Deduplicate files that already exist in base layer

View original Github issue

Metadata

Project
craft-parts
Number
#538
Type
issue
State
open
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Feature request to avoid priming overlay files that already exist in the base layer, to reduce image size. Open about 3 years, no labels or maintainer response, only an automated Jira sync comment. Deduplication logic still unimplemented in current code.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and no maintainer response — the only comment is the 2024-05-17 Jira sync bot (CRAFT-2951) — so it has never been triaged despite being filed by a maintainer. It is not a stale-close candidate because the problem persists: part_handler.py's overlay prime migration still copies all overlay files without checking the base layer, and no implementing commit was found. It needs maintainer assessment to decide whether this optimization is worth the architectural effort.

Impact: 45 Quick Win: 15.75 Staleness: 75 Complexity: 65 Confidence: 75 Support Request: 10

Issue body

### What needs to get done If using overlays, avoid priming files that already exist in the base layer. ### Why it needs to get done File duplication across layer results in inefficient images. Using package cutoff alone is not enough if chisel slices are being used.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 15.75
Staleness: 75
Complexity: 65
Confidence: 75
Support Request: 10
needs triage Feature request to avoid priming overlay files that already exist in the base layer, to reduce image size. Open about 3 years, no labels or maintainer response, only an automated Jira sync comment. Deduplication logic still unimplemented in current code.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 60
Confidence: 80
Support Request: 10
close stale Feature request to optimize overlay layering by avoiding file duplication with base layers. Open for nearly three years with no maintainer progress or recent activity beyond an automated Jira sync.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 45
Confidence: 75
Support Request: 10
needs triage Feature request to deduplicate files across overlay layers to prevent image bloat. Currently unlabelled with no maintainer follow-up since a Jira ticket was created over a year ago.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 50
Confidence: 75
Support Request: 10
close stale Avoid duplicating files in overlays by skipping those already in the base layer to reduce image size. Currently inactive with no labels; an internal Jira ticket was created for tracking.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.