← Back to issue list

Reorder parts to prioritize organize to overlay

View original Github issue

Metadata

Project
craft-parts
Number
#1228
Type
issue
State
closed
Author
cmatsuoka
Labels
Status: Triaged
Created
Updated
Closed

Current evaluation

Prioritized parts that organize overlays so installing overlay-package parts can use the prepared base; merged in canonical/craft-parts#1261 (55d01a3f).

Resolution: closed resolved

Reason: PR canonical/craft-parts#1261 implemented the ordering change and was merged as commit 55d01a3f. The maintainer confirmed completion in the issue on 2025-10-02.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done The default part ordering must be changed so parts organizing to the overlay are executed first. ### Why it needs to get done Parts that install overlay packages should find the base ready for use when they're executed without explicitly declaring dependencies.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Prioritized parts that organize overlays so installing overlay-package parts can use the prepared base; merged in canonical/craft-parts#1261 (55d01a3f).
stealth/space-bunny-alpha — closed resolved Overlay organization was prioritized in default part ordering by merged PR #1261 (55d01a3f), ensuring the base is ready before parts install overlay packages.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #1261 (55d01a3f), which reorders overlay-organization steps so build follows overlay and base content is available to parts installing overlay packages.
qwen/qwen3.6-35b-a3b — — Default part ordering was updated to execute overlay organization first, ensuring the base is ready without explicit dependencies. Resolved by merging pull request #1261.
qwen/qwen3.6-35b-a3b — — Resolved via merged pull request #1261. Default part ordering was updated to execute overlay organization parts first, ensuring the base environment is ready without requiring explicit dependencies.
qwen/qwen3.6-35b-a3b — — Updated default part ordering to execute overlay organization first, ensuring base readiness for dependent packages. Resolved by merging pull request #1261.
qwen3.6-35b-a3b-mtp-q6 — — Default part ordering was changed to prioritize overlay-organizing parts, ensuring the base is ready without explicit dependencies. The fix was merged in pull request #1261.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-parts#1261 (confidence 100%)

    Merged PR implementing the requested overlay step ordering in commit 55d01a3f.

Related issues

Issue Project State Summary Similarity
#1225 Reorder lifecycle steps if organizing to overlay craft-parts closed Fixed overlay-part lifecycle ordering: parts organizing to overlay now run BUILD after OVERLAY via merged PR #1261 (55d01a3f).
80%
#1226 Organize content into the overlay craft-parts closed Parts can organize content into the mounted overlay via merged PR #1254 (commit 0c806f20), shipped in craft-parts 2.22.0.
78%
#1261 feat: reorder steps if organizing to overlay craft-parts merged Merged in commit 55d01a3f, PR #1261 runs BUILD after OVERLAY for parts organizing to overlay so organized content is available to parts installing overlay packages.
77%
#1227 Reorder the package cache layer in the overlay stack craft-parts closed Package cache overlay placement was fixed by merged PR canonical/craft-parts#1263 (commit 880aae70), making the cache layer configurable above part layers.
74%
#1611 Extra part triggering stage step before overlay step craft-parts closed Fixed in canonical/craft-parts#1618 (18239b07): overlay-organized parts now build and organize before dependency staging, preventing fstab content from being missed.
74%
#1487 Multiple parts cannot organize to the same directory in the overlay craft-parts closed Fixed by merged PR canonical/craft-parts#1586 (commit 0797420f), allowing wildcard-organized overlay directories from multiple parts to merge despite metadata differences.
71%
#1254 feat: allow parts to organize to overlay craft-parts merged PR #1254 was merged, adding the (overlay) organize target to move part build files to the top of the mounted overlay stack (commit 0c806f20).
71%
#297 overlay: only refresh overlay packages if necessary craft-parts merged Merged in canonical/craft-parts#297 as commit bb41fdc4, avoiding unnecessary overlay package-cache mount and refresh work for parts without overlay packages.
71%
#1735 Parts that organize to the overlay should not accept `overlay-script` or `override-overlay` craft-parts open craft-parts accepts overlay-script/override-overlay on parts whose organize targets (overlay), silently doing the wrong thing. Triaged by lengau, assigned to randyli, and targeted by open PR #1747 adding PartSpec validation plus tests/docs.
70%