executor: fix update build stage packages
Metadata
Current evaluation
Merged PR #234 via d498420e (implementation 40c0a2d1), aligning update-build stage-package handling and preventing unpacked part files from being deleted.
Resolution: closed resolved
Reason: PR #234 was merged as d498420e with implementation commit 40c0a2d1, fixing inconsistent build-step updates and preserving unpacked stage-package files during updates.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Make build step update execution consistent with the initial build
step execution, and fix removal of the part install directory after
stage packages and snaps are unpacked (causing unpacked files
to disappear after a build update).
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
CRAFT-1117
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #234 via d498420e (implementation 40c0a2d1), aligning update-build stage-package handling and preventing unpacked part files from being deleted. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #234 (merge d498420e, implementation 40c0a2d1) aligned build-step stage package updates with initial builds and preserved unpacked part files after build updates. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #234 (40c0a2d1) aligned build-update package execution with the initial build and prevented cleanup from deleting unpacked stage packages and snaps. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #234 (40c0a2d1) to align update-build stage package execution and preserve unpacked files by no longer removing the part install directory. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix for build stage package update consistency and resolved unpacked files disappearing after build updates. Approved by two reviewers, passed CI, and integrated with 49 additions and 26 deletions across five files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix aligning build step update execution with initial builds and resolving premature removal of the part install directory after stage packages and snaps unpack, preventing file loss during updates. (CRAFT-1117) |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #913 help: update stage-packages and build-packages | snapcraft | merged | Merged PR #913 in commit 2875ecb56, updating stage-packages and build-packages help to document ELF dependency crawling and previously omitted cases. | |
| #1752 fix: Make `stage-packages` deterministic | craft-parts | merged | Merged PR #1752 in commit 26f4b35e, preserving stage-packages input order during deduplication and APT marking to make resolution deterministic; fixes #1751. |