← Back to issue list

Lifecycle: Check to see if prerequisite is already built.

View original Github issue

Metadata

Project
snapcraft
Number
#431
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #431 as commit 1e31959d1, fixing LP #1537790 by allowing prerequisite parts that were already built.

Resolution: closed resolved

Reason: PR #431 was merged in commit 1e31959d1. It changed lifecycle dependency validation to check whether missing prerequisites were already built before raising an error.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Currently, if one specifies a part to be built, the lifecycle checks to see if that part has any dependencies. If so, it immediately errors out if those dependencies are not in the list to be built. This PR fixes LP: [#1537790](https://bugs.launchpad.net/snapcraft/+bug/1537790) by checking that the dependencies are not already built before erroring.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #431 as commit 1e31959d1, fixing LP #1537790 by allowing prerequisite parts that were already built.
stealth/space-bunny-alpha — closed resolved Merged #431 (commit 1e31959d1), fixing LP #1537790 by checking whether missing part dependencies are already built before failing.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#431 as 1e31959d1, allowing explicitly built parts to use already-built prerequisites instead of failing on missing dependencies.
qwen/qwen3.6-35b-a3b — — Merged. Fixed snapcraft lifecycle bug #1537790 by checking if prerequisites are already built before erroring on missing dependencies, preventing unnecessary build failures.
qwen3.6-35b-a3b-mtp-q6 — — Merged to fix Launchpad bug #1537790. The lifecycle no longer errors when building a part with unlisted dependencies by verifying if prerequisites are already built. Approved after minor review comments and retest.

Update history

No update history recorded yet.

Related work

Related issues

No related issues found above the similarity threshold.