← Back to issue list

Reorder lifecycle steps if organizing to overlay

View original Github issue

Metadata

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

Current evaluation

Fixed overlay-part lifecycle ordering: parts organizing to overlay now run BUILD after OVERLAY via merged PR #1261 (55d01a3f).

Resolution: closed resolved

Reason: PR #1261 was merged as commit 55d01a3f, reordering BUILD to execute after OVERLAY for parts organizing to the overlay. The maintainer also confirmed completion in the issue's closing discussion.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done If a part organizes to overlay, its build step must be executed right after the overlay step. ### Why it needs to get done Organize is processed in the build step. A part with overlay packages must have its overlay step executed on top of a base organized to the overlay.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed overlay-part lifecycle ordering: parts organizing to overlay now run BUILD after OVERLAY via merged PR #1261 (55d01a3f).
stealth/space-bunny-alpha — closed resolved Fixed in canonical/craft-parts#1261 (55d01a3f): parts organizing to the overlay now run their build step after overlay, using the organized overlay base.
qwen/qwen3.6-35b-a3b — — Fixed via merged pull request #1261. Lifecycle step ordering was corrected to ensure the build step executes immediately after the overlay step when organizing to overlay, resolving the package sequencing issue.
qwen/qwen3.6-35b-a3b — — Resolved via pull request #1261. The lifecycle now executes the build step immediately after the overlay step, ensuring overlay packages are correctly organized on top of the base.
qwen/qwen3.6-35b-a3b — — Resolved by merging pull request #1261. Lifecycle step ordering was adjusted to ensure the build step executes immediately after the overlay step when organizing to overlay, correcting the package processing sequence.
qwen3.6-35b-a3b-mtp-q6 — — Resolved via pull request #1261. The build step now runs immediately after the overlay step when organizing to overlay, correcting the lifecycle execution order.

Update history

No update history recorded yet.

Related work

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

    Merged fix that makes overlay-part builds execute after the overlay step.

Related issues

Issue Project State Summary Similarity
#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.
85%
#1228 Reorder parts to prioritize organize to overlay craft-parts closed Prioritized parts that organize overlays so installing overlay-package parts can use the prepared base; merged in canonical/craft-parts#1261 (55d01a3f).
80%
#1291 BUILD step of a part organizing to the overlay should invalidate overlay contents of following parts craft-parts open A part BUILD that organizes files into the overlay can change lower overlay layers without invalidating dependent OVERLAY steps; the precise reproducer exists but the open issue remains untriaged
76%
#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%
#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).
73%
#1618 fix: handle dependencies when organizing to overlay craft-parts merged Merged PR #1618 (commit 18239b07) fixes dependency scheduling when organizing to overlay, prioritizing BUILD/organize over dependency STAGE steps and closing #1611.
71%