← Back to issue list

fix: allow parallel installations of signed snapcraft snaps

View original Github issue

Metadata

Project
snapcraft
Number
#5085
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #5085 fixed parallel installation of signed Snapcraft snaps, resolving #4683 and #4927; #5087 backported the fix to hotfix/7.5.

Resolution: closed resolved

Reason: PR #5085 was merged after two approvals with no unresolved comments, fixing parallel installations of signed Snapcraft snaps. PR #5087 also merged into hotfix/7.5 as a backport.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [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 `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- Fixes a bug where parallel installations of snapcraft would not work if the snapcraft snap was signed. I recommend reviewing by commit as the refactor commit is noisy. Fixes #4683 Fixes #4927 (CRAFT-3259)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #5085 fixed parallel installation of signed Snapcraft snaps, resolving #4683 and #4927; #5087 backported the fix to hotfix/7.5.
stealth/space-bunny-alpha — closed resolved Merged PR #5085 fixed parallel installation of signed Snapcraft snaps, closing #4683 and #4927; PR #5087 backported the fix to the 7.5 hotfix branch.
stealth/space-bunny-alpha — closed resolved PR #5087 merged into hotfix/7.5, backporting #5085 to allow parallel installations of signed Snapcraft snaps and resolving #4683 and #4927.
qwen/qwen3.6-35b-a3b — — Merged a fix enabling parallel installations of signed snapcraft snaps, resolving issues #4683 and #4927. Approved by two reviewers, passed CI checks, and integrated.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix enabling parallel installations of signed snapcraft snaps, resolving issues #4683 and #4927. The change corrects a bug where snap signing previously blocked concurrent instance execution.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#4683 (confidence 100%)

    Parallel signed-Snapcraft installation bug explicitly marked as fixed by #5085.

  • Related To: canonical/snapcraft#4927 (confidence 100%)

    Related signed-Snapcraft installation bug explicitly marked as fixed by #5085.

  • Related To: canonical/snapcraft#5087 (confidence 98%)

    Backported the #5085 fix into the 7.5 hotfix branch.

Related issues

Issue Project State Summary Similarity
#5087 fix: allow parallel installations of signed snapcraft snaps (7.5) snapcraft merged Merged into hotfix/7.5 and released in 7.5.7, fixing parallel installs of signed or store-installed Snapcraft; resolves #4683 and #4927.
94%
#411 Support snap parallel installs craft-application closed Parallel-installed snap injection was fixed by PR #467 (commit 77a3582b); #411 was closed as fixed, with a separate craft-providers gap noted.
79%
#4683 Cannot use parallel installations of snapcraft if a non-aliased version is not installed snapcraft closed Fixed by merged PR #5085 (main) and backported via #5087 to hotfix/7.5 (7.5.7); craft-providers now inject the aliased snapcraft snap correctly. Upstream bug tracked in craft-application#411.
78%
#4927 Parallel installation of snapcraft not passed to LXD instance snapcraft closed Parallel-installed (signed) snapcraft was not passed to the LXD build instance. Fixed by merged PR #5085 and backported via #5087 to hotfix/7.5, shipped in 7.5.7; also tracks upstream craft-application#411.
77%
#4088 providers: allow parallel installations when not running as a snap snapcraft merged Merged PR #4088 as commit cb6f3857e, adding a snap-runtime check so non-snap installations can run in parallel.
76%
#1950 fix: make charmcraft work with snap parallel installs charmcraft merged Merged PR #1950 via commit 2399ddf8, fixing Charmcraft conflicts during parallel snap installs and adding spread regression coverage for issue #1770.
73%
#2013112 Installing snapcraft under a different name causes version mixup snapcraft (launchpad) closed Fixed in Snapcraft 7.4.0: PRs #4084 and #4090 added parallel-install support and ensured builds use the active Snapcraft instance.
73%
#467 fix: inject aliased snaps into build environment craft-application merged Merged PR #467 (77a3582b) injects snaps under their aliased names, fixing #411 and the Snapcraft #4683 reproducer.
72%
#5694 fix(backport): remove unnecessary snapd_snap flag (#5689) snapcraft merged Merged backport #5694 (cb5283b6a) removed obsolete snapd_snap handling for Snapcraft 7.5, fixing core20 repacking failure #5316; original fix was #5689.
72%
#1770 charmcraft snap doesn't work with snap parallel installs charmcraft closed Fixed by merged PR canonical/charmcraft#1950 (commit 2399ddf8), which enabled Charmcraft to work with parallel-installed snaps and added regression coverage.
71%