← Back to issue list

fix: add all parts as a dep of extension part

View original Github issue

Metadata

Project
snapcraft
Number
#5395
Type
pull request
State
merged
Author
soumyaDghosh
Labels
Created
Updated
Closed

Current evaluation

Merged a fix for cached build failures where extension part files were missing. Added all parts as dependencies of the extension part to force rebuilds on any change, resolving stale prime state. Approved by two reviewers and passed CI checks.

Suggested action:

No scores available.

Issue body

Previously with cached builds, there'd always be cases, where files from the extension's part would not be found as the files are removed from prime, but the extension's part's state shows it as built. Adding all the parts as a dependency of the extension ensures that the extension's part is always rebuilt whenever on part is changed. - [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? --- A better solution would be to have a property in the parent `Extension` class that holds the keys of all the parts. But, let's see what everyone opines.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a fix for cached build failures where extension part files were missing. Added all parts as dependencies of the extension part to force rebuilds on any change, resolving stale prime state. Approved by two reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged a fix adding all parts as a dependency of the extension part. This resolves cached build failures where extension files were missing due to stale build states, ensuring the extension rebuilds whenever any part changes.
qwen3.6-35b-a3b-mtp-q6 Merged a fix for cached build failures where extension part files were missing. Added all parts as dependencies of the extension part to ensure it rebuilds whenever any part changes.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.